RE: Prompt for Parameter Value Help

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Thanks nomadk for replying. If I enter someone who is currently working on a
job (start time is entered but stop time is null), then yes a record is
displayed and I can manually open fWorkLogReminder without any prompts.

Friday I noticed there was a corrupt record in the work log table, but I
deleted it everything seemed to be working fine. I can't figure out why it
is asking for starttime.

Thanks,
Pam

"nomadk" wrote:

Pam,

Just to rule out the most obvious:

Is fWorkLogHiddenOpen actually open and displaying a record?
Can you manually open fWorkLogReminder without the prompt?

"PHisaw" wrote:

I have a database that has been working fine, now it starts asking for
parameter.
I created a switchboard that opens to screen where user selects name from a
combo box and then a list is populated with a list of his jobs. User then
clicks on job number to go to form to enter time started / completed work on
job. This is the code behind job number click:

Private Sub JobNumber_Click()
On Error GoTo JobNumber_Click_Error

If IsNull(Forms!fWorkLogHiddenOpen!StopTime) Then
DoCmd.OpenForm "fWorkLogReminder"
End If

JobNumber_Click_Exit:
Exit Sub

JobNumber_Click_Error:

If Err.Number = 2501 Then
DoCmd.OpenForm "fGeneralInfo", , , "JobNumber=" & Me!JobNumber
Else
MsgBox "Error " & Err.Number & " - " & Err.Description
End If
GoTo JobNumber_Click_Exit

End Sub

Now, it is prompting for tWorkLog.StartTime and I have no idea why. I know
if anyone can help, more info will probably be needed but I'll wait to find
out exactly what that will be. Any help is greatly appreciated as I've
already spent considerable amount of time searching tables, queries, etc. and
know I'm overlooking something probably very simple.

Thanks in advance,
Pam
.