Help with my Time Picker

Chimp8471

Registered User.
Local time
Today, 21:35
Joined
Mar 18, 2003
Messages
353
I cant seem to get my return time function to work, can someone have a look for me please,

when i open the form, LOGENTRYHD and click on the button to add the time, i keep getting a debug message appear.

it should open up the from called frmReturnTime so i can then select a time to be returned to the form.

please help

Andy
 

Attachments

Firstly when the user clicks the Time Called button you get a Type Mismatch. This is because you are trying to format a variable that contains no value. So in the code for frmReturnTime I added

Code:
pstrTime = Format(Now(), "h:nn AM/PM")

Now frmReturnTime Opens no problem.

I take it that you want the time they select to fill the Time called box.

Add this to the OK button from frmReturnTime.

Code:
Forms!LOGENTRYHD!txtTime.Value = pstrtime

I hope this was the problem you were talking about.
 
sounds great thanks, will have a look later and post back if any problems
 

Users who are viewing this thread

Back
Top Bottom