Form Modal problem - programme continues

scoop10000

New member
Local time
Today, 02:47
Joined
Aug 19, 2004
Messages
9
Why is it that the following code works perfectly well. Within my program the form opens and waits for my selection.

DoCmd.OpenForm "mainCustomerForm",, , "[PostCode]='" & customer & "'", , acDialog


However when I change it to datasheet view the program continues on through failing to stop

DoCmd.OpenForm "mainCustomerForm", acFormDS,, "[PostCode]='" & customer & "'", , acDialog

Am I missing something here
 

Users who are viewing this thread

Back
Top Bottom