Hi all,
I am having trouble finding out how to stop a new record showing on my form when there are no records showing in my underlying query
Query criteria is populated from a form text box and then I use a cmd button to open the form.
cmd button on click
Dim stDocName As String
Dim stLinkCriteria As String
stDocName = "F_SearchJobNoForm"
DoCmd.OpenForm stDocName, , , stLinkCriteria
Forms!F_SearchJobNoForm.RecordSource = "Q_SearchJobRefNo"
I have on Form_load to just maximise the form and that's it.
I can set the form to not allow additions but it just shows a blank form and the user has to shut it down using the x in the top right corner.
Best way to implement this and trap the blank record before the user sees the form?
I'm pants at access but willing to try very hard ;o)
Appreciate any help