Hi all
My data entry form is for two tables.
Company and Contact.
Company are company details and Contact are that companies personal contacts.
My form is data bound with these two tables related by companyid
Each table has a unique id - companyid and contactid respectivley. The unique keys are created by newid() stored procedure (as in FoxPro Help Examples).
Now, if I issue an append blank at init and the user does not save the record, I have wasted an ID.
But I need the Company ID to put into the Contact records added by the user otherwise they do not relate.
How can I approach this?
Thanks
ITFlash
My data entry form is for two tables.
Company and Contact.
Company are company details and Contact are that companies personal contacts.
My form is data bound with these two tables related by companyid
Each table has a unique id - companyid and contactid respectivley. The unique keys are created by newid() stored procedure (as in FoxPro Help Examples).
Now, if I issue an append blank at init and the user does not save the record, I have wasted an ID.
But I need the Company ID to put into the Contact records added by the user otherwise they do not relate.
How can I approach this?
Thanks
ITFlash