Losing Key while Navigating

  • Thread starter Thread starter cp2599
  • Start date Start date
C

cp2599

Can someone tell me what events take place when using the navigation
keys. When I execute the navigation keys I get an error on a DLookup
statement in a tabbed form's Current event. The DLookup statement is
fine ... what's missing is the key to the form is lost - NULL. Not
sure how to fix the problem.
 
Can someone tell me what events take place when using the navigation
keys. When I execute the navigation keys I get an error on a DLookup
statement in a tabbed form's Current event. The DLookup statement is
fine ... what's missing is the key to the form is lost - NULL. Not
sure how to fix the problem.

Since a Form doesn't have a Key, it's not at all clear what you mean.

Please post your code and indicate what you're doing with the form and what's
happening.
 
Since a Form doesn't have a Key, it's not at all clear what you mean.

Please post your code and indicate what you're doing with the form and what's
happening.

I figured out what the problem was ... my query on the main form did
not contain a sort order for the records. After I added this and
prevented Additions on the form, the navigation buttons work again.
 
Back
Top