R
Rolf Rosenquist
In an order form I have a button for product search. There is also a
datasheet in a subform.
When the user clicks the button, another form is opened , where he can
search for his product under chosen criterias. When the product is chosen,
the search form is closed and the cursor jumps back to the subform and
inserts all the data for this product. It works fine every time, when the
cursor is standing on the last row for a new record.
But if the cursor stands on an old record, that one will of course be
changed, and that must be prevented.
Is there a way to test if the cursor stands on an old record, or in a row
that is empty in the subform?
/ Rolf
datasheet in a subform.
When the user clicks the button, another form is opened , where he can
search for his product under chosen criterias. When the product is chosen,
the search form is closed and the cursor jumps back to the subform and
inserts all the data for this product. It works fine every time, when the
cursor is standing on the last row for a new record.
But if the cursor stands on an old record, that one will of course be
changed, and that must be prevented.
Is there a way to test if the cursor stands on an old record, or in a row
that is empty in the subform?
/ Rolf