-
WSThomasW
AskWoody LoungerIt is attached as an Access97, so you will need to convert it. The process is to open frmMain, which has a Timer event and scan the Employee’s barcoded ID card. In the morning, it clocks employees in and in the afternoon, it clocks employees out. The subform will change depending on the time of day (either frmClockIn or frmClockOut). In the morning, it writes a tblTime record with a ClockInTime; in the afternoon it updates the proper record with a ClockOutTime. Their barcode reader sends a tab character at the end of the EmployeeID scan, so if you are typing in an EmployeeID, press tab to complete the process. You have be very quick because of the Timer Interval. This works for the scanner, but is tough for typing, so just change the timer interval until you start scanning. The code behind the forms checks for a valid EmployeeID and also checks for a few other errors the employees typically make. HTH
-
WSThomasW
AskWoody LoungerI have been trying to pull it apart to get only the TimeClock functionality on the form, but I have been unsuccessful. Clocking In and Out of this application checks for open Work Orders and assigns Work Orders, so I need a bit more time. Just didn’t want you to think I forgot about you.
-
WSThomasW
AskWoody LoungerI’m sorry Dave, but client confidentiality prohibits me from doing that. The application is very environment specific, so removing the confidential portions would leave very little to look at. However, I would be happy to answer any questions or provide non-client specific code or assistance. Let me know what would be helpful to you.
-
WSThomasW
AskWoody LoungerGlad that worked for you, but I’m not able to visualize what you are describing this time. Are you referring to a listbox on the edit form that was synchronized? What is the purpose of that listbox if you are all ready on the correct record?
-
WSThomasW
AskWoody LoungerI think that I understand what you want to do. I use the following code to open a second form to the record specified by the key on the first form:
Private Sub cmdGoToSource_Click() 'Source Picklist: open frmSourceEdit for record On Error GoTo Err_cmdGoToSource_Click Dim stDocName As String Dim stLinkCriteria As String stDocName = "frmSourceEdit" stLinkCriteria = "[SourceID]=" & Me![SourceID] DoCmd.OpenForm stDocName, , , stLinkCriteria Exit_cmdGoToSource_Click: Exit Sub Err_cmdGoToSource_Click: MsgBox Err.Description Resume Exit_cmdGoToSource_Click End Sub
You will need to change the FormName to your Edit form, the cmdName to your CommandButton and the stLinkCriteria statement to your key and ListboxName (maybe with a column number, depending on what fields are in that Listbox.
-
WSThomasW
AskWoody LoungerAre you trying to track Employee Clock in and Clock out Times? If so, I have a TimeClock application that would be similar, however it holds a bit more information. For the portion that you are addressing, it has two tables Employee (Key is EmployeeID) and Time(Key is EmployeeID and WorkDate). The relationship is one to many. I used the BarCode font to issue Employee tags with their EmployeeID barcoded. They clock in and out by swiping their tag and the application stamps their Time record with the current Date and Time when they Clock in and Clock out. I would suggest using an EmployeeID, if possible, for the key instead of an AutoNumber and keeping all other Employee specific information, like Operative text (is this their name?) in the Employee table. It is better normalized and makes it much more efficient to do Time Reporting. HTH
-
WSThomasW
AskWoody LoungerI have a StockIn/StockOut application that may be similar, but I do not count the quantity in a particular location. I count the quantity per product (because they really need to know how much of a product is on-hand) and list it’s location. For each Location, I keep an Available flag that gets set to No (when the location is used) and Yes (when the location is empty), so that they know which locations are available to stock incoming product.
I think the constructs need to be specific to the process in the warehouse. If they stock more than one type of product in a location, then the design should model that. It may be easier if one product = one location, but is that a process they can work with?
-
WSThomasW
AskWoody LoungerIf you create the switchboard with the Switchboard Manager (Tools/Add-Ins/Switchboard Manager), then in Tools/StartUp list that Switchboard form under Display Form/Page, when the database opens the Switchboard will open. Buttons on it will open objects as you defined in the Switchboard Manager.
-
WSThomasW
AskWoody LoungerYou place the company letterhead in the Report design if you want it to print on the report. If you want it to print once, on the first page of the report, put it in the Report Header section. If you want it to print on every page of the report, put it in the Page Header section.
-
WSThomasW
AskWoody LoungerIf you mean the parameter window that is the standard result of a parameter query – no, not that I am aware of. To do this, use a dialog form instead. Make an unbound dropdown box on the form and use the value chosen in that box in the criteria row of the parameter query. As in: [Forms]![YourDialogForm]![YourDropdownBox]
-
WSThomasW
AskWoody LoungerI have not done this before, but I did find Record Navigation Sample. It sounds as if it may contain the functionality you are looking for.
-
WSThomasW
AskWoody LoungerI’m not clear on your pop-up reference’s effect, but in general:
On the form, place an unbound textbox with the following Control Source: =Count([Your key field])
That will display the number of records in the source that the form is based on. -
WSThomasW
AskWoody LoungerThat field is probably the key and the table design requires a value in this field to create a new record. I would not recommend changing the field properties on that field. A key is an integral part of a database design and there could potentially be many other relationships and objects that depend on it. Maybe you could explain why you want it to be blank so that we could help you find another method to accomplish what you are trying to do.
-
WSThomasW
AskWoody LoungerAssuming there are no values <0, in an empty column of the QBE grid place the following:
YourNew Field: IIf([Value1]=0,0,1)
You can replace YourNew Field with a more descriptive name. -
WSThomasW
AskWoody LoungerI would think that the result would be 1. Is your fieldname and the report textbox name exactly the same? If not, try using the name of the report textbox in the Contol Source formula I posted earlier. Does that help?
![]() |
There are isolated problems with current patches, but they are well-known and documented on this site. |
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
-
Installing Feature Update Windows 11 24H2
by
geekdom
9 hours, 48 minutes ago -
Windows 11 Insider Preview build 27823 released to Canary
by
joep517
10 hours, 11 minutes ago -
Windows 11 Hotpatch
by
Hackmuss
5 hours, 3 minutes ago -
System Guard service error still won’t be fixed
by
Susan Bradley
10 hours, 50 minutes ago -
Operation ForumTroll: APT attack with Google Chrome zero-day exploit chain
by
Alex5723
5 hours, 1 minute ago -
Troy Hunt of HaveIBeenPwned Phished
by
Lars220
2 hours, 2 minutes ago -
Microsoft Windows security auditing Code 5061
by
mpw
23 hours, 23 minutes ago -
Can’t display images in incoming Outlook 365 emails
by
WScopwriter
6 hours, 59 minutes ago -
Windows 11 Insider Preview Build 26200.5510 early builds of 25H2
by
Alex5723
8 hours, 27 minutes ago -
0Patch : Micropatches released for SCF File NTLM Hash Disclosure Vulnerability
by
Alex5723
7 hours, 56 minutes ago -
Select multiple emails and they all open up!
by
CeeJay
2 days ago -
How to remove an update preview
by
Gunny
3 hours, 20 minutes ago -
Third party add ins reminder
by
Susan Bradley
1 day, 4 hours ago -
OTF, which backs Tor, Let’s Encrypt and more, sues to save its funding
by
Nibbled To Death By Ducks
1 day, 18 hours ago -
Updating Windows 10 to Windows 11: 23H2 or 24H2?
by
Still Anonymous
2 days, 4 hours ago -
How can I update “Explorer Patcher”
by
WSplanckster
2 days, 6 hours ago -
Check out the home page for Signal
by
CAS
2 days, 4 hours ago -
Windows 11 and Trial version of MS Office
by
Tex265
2 days, 3 hours ago -
Windows 11 Insider Preview build 26120.3585 (24H2) released to BETA
by
joep517
2 days, 11 hours ago -
Windows 11 Insider Preview build 26200.5510 released to DEV
by
joep517
2 days, 11 hours ago -
Windows 11 Insider Preview Build 26100.3624 (24H2) released to Release Preview
by
joep517
2 days, 11 hours ago -
Limits on User Names
by
CWBillow
2 days, 8 hours ago -
MS-DEFCON 4: Mixed bag for March
by
Susan Bradley
8 hours, 2 minutes ago -
Non Apple Keyboards
by
pmcjr6142
9 hours, 18 minutes ago -
How to delete your 23andMe data – The Verge
by
AJNorth
2 days, 6 hours ago -
7 common myths about Windows 11 (Microsoft AD)
by
EyesOnWindows
2 days, 3 hours ago -
Error updating to Win11 0x8024a205
by
bmeacham
3 hours, 21 minutes ago -
default apps
by
chasfinn
1 day, 11 hours ago -
Will MS Works 4 work in MS Win 11?
by
MileHighFlyer
3 hours, 7 minutes ago -
Adding links to text in Word 2000
by
sgeneris
2 days, 10 hours ago
Recent blog posts
- System Guard service error still won’t be fixed
- Third party add ins reminder
- MS-DEFCON 4: Mixed bag for March
- Classic and Extended Control Panel — no need to say goodbye
- Things you can do in 2025 that you couldn’t do in 2024
- Revisiting Windows 11’s File Explorer
- Planning ahead for migration
- Woody Leonhard (1951–2025)
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.