G
Guest
Hi
I have two forms Contatcts and Jobs
On the Contacts form there is a list box showing associated jobs
I want to be able to double click a Job in contacts and go to the job in Jobs.
I have the following code in the double click event:
If IsLoaded("frmJobList") Then
DoCmd.FindRecord Me.lstJobs.Value, , , , True
Else
DoCmd.OpenForm strForm, , "[Job No] = " & Me.lstJobs.Value
' DoCmd.OpenForm "Work_Orders", , , "WO_ID = " & Me.WO_ID
End If
If the form is loaded I get an error saying "The command or action Find
Record isn't available now".
Any ideas as to what is wrong.
Regards
Paul
I have two forms Contatcts and Jobs
On the Contacts form there is a list box showing associated jobs
I want to be able to double click a Job in contacts and go to the job in Jobs.
I have the following code in the double click event:
If IsLoaded("frmJobList") Then
DoCmd.FindRecord Me.lstJobs.Value, , , , True
Else
DoCmd.OpenForm strForm, , "[Job No] = " & Me.lstJobs.Value
' DoCmd.OpenForm "Work_Orders", , , "WO_ID = " & Me.WO_ID
End If
If the form is loaded I get an error saying "The command or action Find
Record isn't available now".
Any ideas as to what is wrong.
Regards
Paul