bloody_football
Registered User.
- Local time
- Today, 20:49
- Joined
- Sep 8, 2004
- Messages
- 70
I am in my quotes form and I have a button which converts the quote into a sale, the button also opens a new form with the sale information.
A) Before the new form opens I wish to change a value in the old form (to say that the quote has in fact been changed into a sale), the code I have is
but this adds another record into the quotes database (with no information) and does not change the current record.
B) What is the code I need to have a label appear on a form if a certain condition is met - if the quote has been converted to a sale then I wish for a note to appear to say this; that way someone doesn't try to convert it again.
A) Before the new form opens I wish to change a value in the old form (to say that the quote has in fact been changed into a sale), the code I have is
Code:
DoCmd.RunSQL "INSERT INTO Quotes (ConvertToHire) VALUES (-1)"
B) What is the code I need to have a label appear on a form if a certain condition is met - if the quote has been converted to a sale then I wish for a note to appear to say this; that way someone doesn't try to convert it again.