I have 2 forms, lets say the are called introform and dataform. I have split my problem into 2 parts
1) On my intro form I have 2 buttons New and Edit. When New is pressed the data form is opened and the fields are blank. When Edit is pressed the dataform is opened and populated with values from intoform.
2) When the dataform has been completed i need to know if the new or edit button was pressed on the introform. How do I do that. The reason is that a different stored procedure is called depending if the the data is new or edited
1) On my intro form I have 2 buttons New and Edit. When New is pressed the data form is opened and the fields are blank. When Edit is pressed the dataform is opened and populated with values from intoform.
2) When the dataform has been completed i need to know if the new or edit button was pressed on the introform. How do I do that. The reason is that a different stored procedure is called depending if the the data is new or edited