A
Amit
Hi,
I have several forms to add data/records. Most of them
have a lookup feature in the footer (eg. on the Project
form, you can enter a new project info, view existing
projects and in the footer, you can lookup a project using
a combo box that lists all the projects).
This form is opened through a menu, and also through
another form (Program form) just to add NEW records. When
I open the form through another form, and try to use the
lookup feature, it gives an error- "No Current Record".
Which makes sense.
I was wondering if there is a way around this. Should I
disable the lookup feature if the form is opened only to
add a new record? Can I open a form in edit mode to
display all the records AND have it go to a new record?
What code would I use? ('AddNew'??)
Thanks!
-Amit
I have several forms to add data/records. Most of them
have a lookup feature in the footer (eg. on the Project
form, you can enter a new project info, view existing
projects and in the footer, you can lookup a project using
a combo box that lists all the projects).
This form is opened through a menu, and also through
another form (Program form) just to add NEW records. When
I open the form through another form, and try to use the
lookup feature, it gives an error- "No Current Record".
Which makes sense.
I was wondering if there is a way around this. Should I
disable the lookup feature if the form is opened only to
add a new record? Can I open a form in edit mode to
display all the records AND have it go to a new record?
What code would I use? ('AddNew'??)
Thanks!
-Amit