-
WSJim Bulger
AskWoody Loungertry something like this:
select case Me![OptConnection] & “_” & Me![OptTables]
case “1_1”
case “1_2”
case “2_1”
case “2_2”
case else
end select -
WSJim Bulger
AskWoody Loungerpost the query string. that is where your error seems to be
-
WSJim Bulger
AskWoody Loungertry this. I use it in modules with no problems
Function fnMomentaryPause(timPause As Single)
Dim Start
Start = Timer ‘ Set start time.
Do While Timer < Start + timPause
DoEvents ' Yield to other processes.
LoopEnd Function
-
WSJim Bulger
AskWoody LoungerTRY THIS
sql = “SELECT [2K1-JobBook-Query].[JOBNUMBER], [2K1-JobBook-Query].[2K1-JobBook_CUSTOMERID], [2K1-JobBook-Query].[DATE_IN], [2K1-JobBook-Query].[SUBDIVISION], [2K1-JobBook-Query].[2K1-JobBook_CITY], [2K1-JobBook-Query].[2K1-JobBook_STATE], [2K1-JobBook-Query].[PLAN#], [2K1-JobBook-Query].[LOT], [2K1-JobBook-Query].[BLOCK], [2K1-JobBook-Query].[2K1-JobBook_ADDRESS], [2K1-JobBook-Query].[STATUS-OUTBOUND], [2K1-JobBook-Query].[STATUS-DATE-SCANNED-OUTBOUND] FROM [2K1-JobBook-Query] WHERE ((([2K1-JobBook-Query].[2K1-JobBook_CUSTOMERID])=’DAVID’) And (([2K1-JobBook-Query].[DATE_IN])>Date()-9) And (([2K1-JobBook-Query].[STATUS-OUTBOUND])=Yes))
I think the problem was the “”DAVID”” which should be ‘DAVID’
-
WSJim Bulger
AskWoody Loungersince you say it is updated weekly, i would suggest pushing the db to them at a preset time every week. You say they are all on a lan so you can use your network o/s scheduling utility to do this.
-
WSJim Bulger
AskWoody Loungerlook up ‘Picture Property’ in access help
-
WSJim Bulger
AskWoody LoungerThis particular problem is well documented in all Access forums I know. Do not store files in your database. Store, instead the filepath to the file (whether it be a .bmp, .jpg, .doc, .txt) and set the object source during runtime to display the file’s contents.
-
WSJim Bulger
AskWoody Loungermy recommendation would be to move your tables into MSDE and transform your queries into stored procs and views. The benefits of these are well known and the MSDE functions the same as an SQL server. MSDE comes on the office cd.
-
WSJim Bulger
AskWoody Loungerwithout answering you questions, i have some of my own:
You are using A2K, but are you utilizing the MSDE, or JET?
Is the db split?
When you imported the data, did you compact before running? -
WSJim Bulger
AskWoody Loungeryou need to provide the back-end password in the connection (link) string for the back-end tables
-
WSJim Bulger
AskWoody LoungerWhat Legare means is to have a template temp.mdb which contains the table objects you wish to use. In your code, before linking to the temp tables, check the file size of your ‘PRODUCTION’ version of the temp.mdb. If it is over a size you feel comfortable with, just copy the ‘TEMPLATE’ version of the temp.mdb over the ‘PRODUCTION’ version. Then connect yout table links and proceed as usual.
I actually use a variation of this technique with my distributed front-ends which can become bloated over time. My variation also checks for a NEWER version depending on whether I have added/modified/fixed anything to the front-end ‘TEMPLATE’ -
WSJim Bulger
AskWoody Loungersure. send it to jbulger@directhitdata.com
-
WSJim Bulger
AskWoody LoungerCurrentDb.Execute “UPDATE products set stock = [order details]+ stock WHERE orderid = ” & TOrderID
-
WSJim Bulger
AskWoody LoungerWhat you will need to look into is: .OldValue
HTH
-
WSJim Bulger
AskWoody Lounger
![]() |
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
-
MS Passkey
by
pmruzicka
51 minutes ago -
Can’t make Opera my default browser
by
bmeacham
2 hours, 46 minutes ago -
*Some settings are managed by your organization
by
rlowe44
39 minutes ago -
Formatting of “Forward”ed e-mails
by
Scott Mills
1 hour, 40 minutes ago -
SmartSwitch PC Updates will only be supported through the MS Store Going Forward
by
PL1
21 hours, 22 minutes ago -
CISA warns of hackers targeting critical oil infrastructure
by
Nibbled To Death By Ducks
1 day, 6 hours ago -
AI slop
by
Susan Bradley
1 day, 5 hours ago -
Chrome : Using AI with Enhanced Protection mode
by
Alex5723
1 day, 7 hours ago -
Two blank icons
by
CR2
17 hours, 12 minutes ago -
Documents, Pictures, Desktop on OneDrive in Windows 11
by
ThePhoenix
1 day, 16 hours ago -
End of 10
by
Alex5723
1 day, 19 hours ago -
Single account cannot access printer’s automatic duplex functionality
by
Bruce
17 hours, 8 minutes ago -
test post
by
gtd12345
2 days, 1 hour ago -
Privacy and the Real ID
by
Susan Bradley
1 day, 15 hours ago -
MS-DEFCON 2: Deferring that upgrade
by
Susan Bradley
1 day, 7 hours ago -
Cant log on to oldergeeks.Com
by
WSJonharnew
2 days, 5 hours ago -
Upgrading from Win 10
by
WSjcgc50
17 hours, 17 minutes ago -
USB webcam / microphone missing after KB5050009 update
by
WSlloydkuhnle
20 hours, 51 minutes ago -
TeleMessage, a modified Signal clone used by US government has been hacked
by
Alex5723
2 days, 21 hours ago -
The story of Windows Longhorn
by
Cybertooth
2 days, 8 hours ago -
Red x next to folder on OneDrive iPadOS
by
dmt_3904
2 days, 23 hours ago -
Are manuals extinct?
by
Susan Bradley
8 hours, 49 minutes ago -
Canonical ditching Sudo for Rust Sudo -rs starting with Ubuntu
by
Alex5723
3 days, 8 hours ago -
Network Issue
by
Casey H
2 days, 19 hours ago -
Fedora Linux is now an official WSL distro
by
Alex5723
3 days, 20 hours ago -
May 2025 Office non-Security updates
by
PKCano
3 days, 20 hours ago -
Windows 10 filehistory including onedrive folder
by
Steve Bondy
3 days, 22 hours ago -
pages print on restart (Win 11 23H2)
by
cyraxote
2 days, 23 hours ago -
Windows 11 Insider Preview build 26200.5581 released to DEV
by
joep517
4 days ago -
Windows 11 Insider Preview build 26120.3950 (24H2) released to BETA
by
joep517
4 days 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.