-
WSCary
AskWoody LoungerThanks for the help Mark but it did not work. It said it could not find date1 and date2.
I did go back and change the field named DATE to DATEE so Access wouldnt get confused. In your original line above it said could not recognize “##” and “##” so all it saw was the number signs without date1 or date2 in between. I tried ” and [ ] in different places and all I got was coul not find date1 and date2.
Thanks anyway
Cary -
WSCary
AskWoody LoungerIn the on click event of the command button that runs the macro it already has the name of the macro there. I tried to put it in other events but it just says unable to find “part number”. Even when put in quotes, it still thinks it is looking for a macro. I dont see how this would work anyway since the form is not even open at this point so the unbound text box in not even in existence yet. I guess this just can not be done. Thanks for trying to help though.
Cary -
WSCary
AskWoody LoungerIn this data base there are six part numbers. Each has four different lenghts and two colors. I have a query set up for each part number with each length. So there are 24 queries. I used [type color] parameter in each query to avoid making an additional 12 queries. You may ask why I didnt just use a [type part number] paremeter too. I wanted to make it easier one the user to just click one button and type in one color number instead of typing in (part number)(length) and (color). When the command button is clicked, it opens the form and it runs the set value command and uses the right query and the query only asks the user for the color number. But if there is no stock the form comes up and a control says “NO STOCK”, but since there is no record, it shows no part number so the user has to remember the correct (part number);(length) button she clicked. That’s why I would like it to show the part number.
Thanks again for trying to help
Cary -
WSCary
AskWoody LoungerI have a query for eacn part number so it doesnt have to be typed in a parameter box. A command button on the menu form
runs a macro and changes the form record source to the correct query. So when the form opens and there is no record in the query, all controls come up blank in the form.
I want the part number to show even though there are no records.
Thanks for your help
Cary -
WSCary
AskWoody LoungerThe part number is in the Criteria field in the query in quotes. But if there are no parts in stock, the query comes up empty so the part number doesnt show in the form.
I dont understand how you would put a control in the form that would show that criteria in the query. -
WSCary
AskWoody LoungerI’m still using Access 97 and I email reports to our parent company in Texas. They do not have to have Access. As a matter of fact nobody back there has Access. The viewer is a stand alone prog. I just emailed them the viewer and they installed it.
Cary Chapman -
WSCary
AskWoody LoungerThis may not be your problem, but I know for a fact that it solved my problem. While trying a Word merge from Access for labels, it also opened a second “Access”. What was causing it was this. When you create an Access DB you can set the start up options like the opening form and you can give your database file an application name that appears on the icon on your task bar. This name was causing word to open a second Access. Once I removed the “application name”, it stopped opening the second one. I hope this fixes your problem. By the way this was with Access 97. I dont have 2000 yet.
Cary -
WSCary
AskWoody LoungerWell, looks like Im not going to get an answer to this one. But thanks anyway people. I have gotten a lot of good advice before from this place. Guess Ill just have to hit the books again.
Thanks Cary -
WSCary
AskWoody LoungerAccess 97
![]() |
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
-
Lately I’ve been getting qr code spam attacks
by
Susan Bradley
2 hours, 24 minutes ago -
(Solved) ghacks Wants Edge – FF Browser Update to View
by
CraigS26
16 minutes ago -
iOS 17 : If your new iPhone gets stuck on the Apple logo when you transfer…
by
Alex5723
10 hours, 8 minutes ago -
Apple zero days out – September 2023
by
Susan Bradley
4 hours, 55 minutes ago -
No shortcuts to files on Taskbar in Win11
by
KingGeorgeN
1 hour, 46 minutes ago -
“New” Google Sites vs Network Solutions: domain resolution
by
Towson_Steve
11 hours, 15 minutes ago -
Topic: Privacy Report on Modern Cars
by
oldfry
14 hours, 56 minutes ago -
Microsoft’s massive Windows 11 update, featuring Copilot AI, begins rolling out
by
Alex5723
11 hours, 40 minutes ago -
MailStore Home updates
by
Alex5723
1 day, 12 hours ago -
T-Mobile users say they see other people’s account information
by
Alex5723
1 day, 23 hours ago -
Retirement of Exchange Web Services in Exchange Online
by
Alex5723
2 days, 11 hours ago -
What Remote Desktop credentials do I use to access a MS Account computer
by
JP
1 day ago -
Office 2003 Compatibility with One Drive in Windows 11
by
langsjw
2 days, 22 hours ago -
Has KB5030219 been pulled for Windows 11 Pro for Workstations?
by
jharri46
1 hour, 13 minutes ago -
By default encryption on Apple
by
Susan Bradley
2 days, 16 hours ago -
KB5029331 Macrium/Reflect
by
fpefpe
2 days, 17 hours ago -
Windows 10 Build 19045.3513 (22H2) to Release Preview Channel
by
joep517
3 days, 4 hours ago -
Microsoft worker accidentally exposes 38TB of sensitive data in GitHub blunder
by
Nibbled To Death By Ducks
2 days, 13 hours ago -
Change CPU/Mainboard without reinstallation of OS and Apps – Win10
by
schmersa
2 days, 19 hours ago -
Mouse slows to crawl if Edge in focus
by
bryash
3 days, 23 hours ago -
Windows and Surface chief Panos Panay is leaving Microsoft
by
Alex5723
3 days, 13 hours ago -
Essential Office Portable
by
Microfix
4 days, 1 hour ago -
Essential Office: Disable Spell Check
by
Bob Blum
4 days, 1 hour ago -
Apple 2030
by
Will Fastie
1 day, 23 hours ago -
Wi-Fi 7? Why not!
by
B. Livingston
11 hours, 14 minutes ago -
Second city — the AI view from Washington
by
Max Stul Oppenheimer
4 days, 10 hours ago -
Zeroing in on zero days
by
Susan Bradley
53 minutes ago -
LMDE – Software Update
by
bassmanzam
2 days, 1 hour ago -
MacAfee anti virus left overs
by
Barry
1 day, 19 hours ago -
Google issues update for Chrome 109 (Win 7 – Server 2012r2) that fixes WebP
by
n0ads
4 hours, 23 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-2023 by AskWoody Tech LLC. All Rights Reserved.