-
WSThomasW
AskWoody LoungerIf the Company Name is also a field in this table, an easy way is to click in the Company Name field on a form which is based on the Customer table, then click the Find tool on the toolbar. The resulting recordset will be all the customer records with that Company Name. You can use the navigation buttons at the bottom of the form to move between all the records that meet this Company Name criteria.
-
WSThomasW
AskWoody LoungerOne way to do it would be to make the Cust_Num dropdown unbound, setting it’s row source property to:
SELECT YourTable.Cust_Num FROM YourTable WHERE YourTable.Route_Num = [Forms]![YourForm]![name of Route_Num dropdown];
This will give you only the Customer Numbers whose Route Number is the same as the Route Number on the form. Depending on the contents of this table, you may have to use DISTINCTROW.
-
WSThomasW
AskWoody LoungerI am familiar with the screen you are referring to Charlotte, but when I looked there, that screen does not seem to display when I am importing an Access table. It only displays when I am importing other file types. What am I missing? … I’d like to learn this.
-
WSThomasW
AskWoody LoungerI do not know how to accomplish this with the Import Wizard, but … If you position in your external Db and write an append query, you will have the option of appending that data to a table in your existing Db. The append window has a radio button that reads Another Database and has a textbox for the complete filename (include the path).
-
WSThomasW
AskWoody LoungerMaybe I am misunderstanding you, but the width of the textbox in the design view does not need to accomodate the entire length of the source statement, only the width required for the data to print on the report. So, try decreasing the width of the textbox in the design view, so that it prints on the report properly, but doesn’t exceed the page width.
Then, of course, there is the obvious solution of moving it somewhere else on the page. If the page is 8.5″x 11″ wide – can’t it fit somewhere else? -
WSThomasW
AskWoody LoungerI don’t understand why you are using a sub with the expression =Forms![frmStartup]![strDateRange], when it seems that the textboxes on the form are named Starttxt and Stoptxt. Have you tried putting a textbox on the report with the source as =”For The Period ” & Forms![frmStartup]![Starttxt] & ” To ” & Forms![frmStartup]![Stoptxt]?
-
WSThomasW
AskWoody LoungerSounds like you have placed the code on the OnOpen Event property. Have you tried placing DoCmd.Maximize on the OnActivate Event property for the form as well? I believe the Activate event occurs when a form receives the focus and becomes the active window.
-
WSThomasW
AskWoody LoungerOpen the form in the design view and activate the property sheet. Set the Timer Interval property to 5000. This is the equivalent of five seconds and you can adjust the number as you like. Select the On Timer property and click the Build button to open the Code builder. The line of code you need to execute the Close action is: DoCmd.Close. Compile the module. Close the module window and save the form.
-
WSThomasW
AskWoody LoungerThere are a few ways to do this, but without additional information … if you link the tables in a query, then all the fields in both tables will be available for calculations. You can either create those calculations in the query or objects based upon that query.
-
WSThomasW
AskWoody LoungerI have not done this, but there is a Weekday function that returns a whole number containing the day of the week. vbMonday = 2
Might testing with that be useful? -
WSThomasW
AskWoody LoungerWhen I need to do this, I use VB. I can hold the current record values in variables and then use .MovePrevious to collect the previous values, like this …
‘collect values from current record
vTruck = rsFuel![Truck]
vDriver = rsFuel![Driver]
vDate = rsFuel![Date]
vOdometer = rsFuel![Odometer]‘collect values from previous record
rsFuel.MovePrevious
vPrevTruck = rsFuel![Truck]
vPrevDriver = rsFuel![Driver]
vPrevDate = rsFuel![Date]
vPrevOdometer = rsFuel![Odometer]Now, I have the values from both records and can perform the calculation.
There may certainly be a more efficient way to accomplish this, but this has worked for me.
-
WSThomasW
AskWoody LoungerI am accustomed to getting the results you desire by placing the criteria as unbound text boxes on a dialog form.
You can find this is Help under criteria, reports, then Use a form to enter report criteria. This method has always worked for me.
Maybe someone else has used the method you are describing …
-
WSThomasW
AskWoody LoungerThe SetWarnings (Action for a macro or Method for a VB module) will accomplish this. For details, both are listed in the Help Index.
-
WSThomasW
AskWoody LoungerI’m not clear on what you are trying to accomplish, but generally … the option group control allows you to choose only one option per group. Since you want to choose more than one, you need to add more than one option group or you can use individual checkboxes or radio buttons, (which are also located on the toolbox), which ever makes sense for your purposes.
-
WSThomasW
AskWoody LoungerAttach the following to the Before Update Event of the form:
If Me.Dirty Then
Me![RefDate] = Date
End IfThe Dirty property determines whether the current record has been modified since it was last saved.
![]() |
Patch reliability is unclear. Unless you have an immediate, pressing need to install a specific patch, don't do it. |
SIGN IN | Not a member? | REGISTER | PLUS MEMBERSHIP |

Plus Membership
Donations from Plus members keep this site going. You can identify the people who support AskWoody by the Plus badge on their avatars.
AskWoody Plus members not only get access to all of the contents of this site -- including Susan Bradley's frequently updated Patch Watch listing -- they also receive weekly AskWoody Plus Newsletters (formerly Windows Secrets Newsletter) and AskWoody Plus Alerts, emails when there are important breaking developments.
Get Plus!
Welcome to our unique respite from the madness.
It's easy to post questions about Windows 11, Windows 10, Win8.1, Win7, Surface, Office, or browse through our Forums. Post anonymously or register for greater privileges. Keep it civil, please: Decorous Lounge rules strictly enforced. Questions? Contact Customer Support.
Search Newsletters
Search Forums
View the Forum
Search for Topics
Recent Topics
-
Global data centers (AI) are driving a big increase in electricity demand
by
Kathy Stevens
6 hours, 22 minutes ago -
Office apps read-only for family members
by
b
8 hours, 58 minutes ago -
Defunct domain for Microsoft account
by
CWBillow
5 hours, 50 minutes ago -
24H2??
by
CWBillow
1 hour ago -
W11 23H2 April Updates threw ‘class not registered’
by
WindowsPersister
17 hours, 44 minutes ago -
Master patch listing for April 8th, 2025
by
Susan Bradley
10 hours, 57 minutes ago -
TotalAV safety warning popup
by
Theodore Nicholson
5 hours, 47 minutes ago -
two pages side by side land scape
by
marc
2 days, 6 hours ago -
Deleting obsolete OneNote notebooks
by
afillat
2 days, 8 hours ago -
Word/Outlook 2024 vs Dragon Professional 16
by
Kathy Stevens
1 day, 11 hours ago -
Security Essentials or Defender?
by
MalcolmP
1 day, 14 hours ago -
April 2025 updates out
by
Susan Bradley
9 hours, 28 minutes ago -
Framework to stop selling some PCs in the US due to new tariffs
by
Alex5723
1 day, 7 hours ago -
WARNING about Nvidia driver version 572.83 and 4000/5000 series cards
by
Bob99
21 hours, 56 minutes ago -
Creating an Index in Word 365
by
CWBillow
2 days ago -
Coming at Word 365 and Table of Contents
by
CWBillow
12 hours, 30 minutes ago -
Windows 11 Insider Preview Build 22635.5170 (23H2) released to BETA
by
joep517
3 days, 3 hours ago -
Has the Microsoft Account Sharing Problem Been Fixed?
by
jknauth
3 days, 7 hours ago -
W11 24H2 – Susan Bradley
by
G Pickerell
3 days, 9 hours ago -
7 tips to get the most out of Windows 11
by
Alex5723
3 days, 7 hours ago -
Using Office apps with non-Microsoft cloud services
by
Peter Deegan
3 days ago -
I installed Windows 11 24H2
by
Will Fastie
1 day, 6 hours ago -
NotifyIcons — Put that System tray to work!
by
Deanna McElveen
3 days, 12 hours ago -
Decisions to be made before moving to Windows 11
by
Susan Bradley
5 hours, 55 minutes ago -
Port of Seattle says ransomware breach impacts 90,000 people
by
Nibbled To Death By Ducks
3 days, 20 hours ago -
Looking for personal finance software with budgeting capabilities
by
cellsee6
3 days, 5 hours ago -
ATT/Yahoo Secure Mail Key
by
Lil88reb
3 days, 5 hours ago -
Devices with apps using sprotect.sys driver might stop responding
by
Alex5723
4 days, 13 hours ago -
Neowin – 20 times computers embarrassed themselves with public BSODs and goofups
by
EP
4 days, 22 hours ago -
Slow Down in Windows 10 performance after March 2025 updates ??
by
arbrich
21 hours, 56 minutes ago
Recent blog posts
Key Links
Want to Advertise in the free newsletter? How about a gift subscription in honor of a birthday? Send an email to sb@askwoody.com to ask how.
Mastodon profile for DefConPatch
Mastodon profile for AskWoody
Home • About • FAQ • Posts & Privacy • Forums • My Account
Register • Free Newsletter • Plus Membership • Gift Certificates • MS-DEFCON Alerts
Copyright ©2004-2025 by AskWoody Tech LLC. All Rights Reserved.