S
Steven
I am doing this:
Screen.PreviousControl.SetFocus
SendKeys "%ha%ru%e%n", False
DoCmd.RunCommand acCmdFind
For this particular form I want to open the Find dialog box with the "Search
only on current field" to always be unchecked. But if I use the dialog box
and then run the code again it will switch it to Checked. Then next time to
Unchecked and back and forth. How can I determine if the Checkbox is checked
or not so I will know whether or not to include the ....%e.....?
Thank you for your help,
Steven
Screen.PreviousControl.SetFocus
SendKeys "%ha%ru%e%n", False
DoCmd.RunCommand acCmdFind
For this particular form I want to open the Find dialog box with the "Search
only on current field" to always be unchecked. But if I use the dialog box
and then run the code again it will switch it to Checked. Then next time to
Unchecked and back and forth. How can I determine if the Checkbox is checked
or not so I will know whether or not to include the ....%e.....?
Thank you for your help,
Steven