Dear All
I am using following code to open a form on OnClick event of a command button.
myInt = InputBox("GIVE PIC NO", "GIVE!")
stWhere = "[PIC NO] = '" & myInt & "'"
DoCmd.OpenForm (frmName), acNormal, , stWhere
When I click on command button, it prompts to enter PIC NO, opens form but...