A
Arnold Klapheck
The following code does not work:
Dim stDocName As String
Dim stLinkCriteria As String
stDocName = "frmCase_VehicleEditOnly"
stLinkCriteria = "[VehID]=" & Me![VehId]
DoCmd.openform stDocName, , , stLinkCriteria
except if a put a breakpoint at DoCmd then click the button on form that
starts this procedure, then F8, then remove breakpoint, then hit the continue
button, (in VB) then the next time I click on the button on the form it will
work.
Any ideas?
Dim stDocName As String
Dim stLinkCriteria As String
stDocName = "frmCase_VehicleEditOnly"
stLinkCriteria = "[VehID]=" & Me![VehId]
DoCmd.openform stDocName, , , stLinkCriteria
except if a put a breakpoint at DoCmd then click the button on form that
starts this procedure, then F8, then remove breakpoint, then hit the continue
button, (in VB) then the next time I click on the button on the form it will
work.
Any ideas?