Why Find action is disabled ?

asiamisia

New member
Local time
Today, 11:57
Joined
Aug 6, 2004
Messages
9
When I open my form normally from forms list in database view Find i enabled and working. But when I try to open it from MenuStartForm like this:

DoCmd.OpenForm stDocName, , , stLinkCriteria, acFormEdit, acWindowNormal
or
DoCmd.OpenForm stDocName, , , stLinkCriteria, , acDialog

Find is disabled and ruuning macro that uses Find Rekord throws an error ?

How to open my form from starting form and have finding enabled?

Thanks for any help1
Joanna
 
Most probably is because you are using the 'Where' condition (stlinkcriteria) in your DoCmd statement.

Try opening your form from the menu by simply putting, DoCmd.OpenForm "Formname" and see if it works. If it works then start adding your other arguments one by one, so that you will see which one is causing you the problem.
 

Users who are viewing this thread

Back
Top Bottom