hi,
i have a form with a cancel button on it;when clicked on this button i want the record from the base table to be deleted which has been half entered by the user on this form.
this functionality was working very fine when i was working in ms access-97 but since i have now upgraded to access-2002 i see that this command does not work at all
could naybody tell me where am i wrong?
my command line is:
docmd.runsql "Delete * from mast where id=Forms!mast!ID"
here id is the name of the field in the base table;
and i want to delete the record based on the forms!mast!ID value which is a control on the loaded form.
i have always been provided very nice help from this site; and so hop for the same this time too.
plz reply...
vinanti
i have a form with a cancel button on it;when clicked on this button i want the record from the base table to be deleted which has been half entered by the user on this form.
this functionality was working very fine when i was working in ms access-97 but since i have now upgraded to access-2002 i see that this command does not work at all
could naybody tell me where am i wrong?
my command line is:
docmd.runsql "Delete * from mast where id=Forms!mast!ID"
here id is the name of the field in the base table;
and i want to delete the record based on the forms!mast!ID value which is a control on the loaded form.
i have always been provided very nice help from this site; and so hop for the same this time too.
plz reply...
vinanti