Table additions without a form

Leesha
BronzeLounger
Posts: 1488
Joined: 05 Feb 2010, 22:25

Table additions without a form

Post by Leesha »

Hi,

I have a frmOwnerInfo, which is bound to tblOwnerInfo. frmOwnerInfo is used to udate information. The user wants to keep a copy of the previous info vs overwritting it with the new info. Is there a way to add a new row to the table, that contains the updated info, while leaving the original info that loaded with the form the same? I had thought about setting up a temporay table that I would update and then append to the original table, but since I have to do this to 7 total tables, I thought I'd check first to see if there was an easier process with code that I could put behind a button.

Thanks,
Leesha

User avatar
HansV
Administrator
Posts: 78593
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: Table additions without a form

Post by HansV »

Another option would be to use an unbound form. Use code to load a record into the controls on the form, and when the user clicks the Save button, write the values to a new record.
Best wishes,
Hans

Leesha
BronzeLounger
Posts: 1488
Joined: 05 Feb 2010, 22:25

Re: Table additions without a form

Post by Leesha »

Hi Hans,
I tried this approach and its working great! Thanks for the idea,
Leesha