Peter Bellamy
Registered User.
- Local time
- Today, 18:11
- Joined
- Dec 3, 2005
- Messages
- 295
I am looking for suggestions on how to code this:
I have a table that contains some base information used in pricing parts for various customers. (table SetupData)
Everytime there is a price increase or change of terms I add a new record to the table and move my 'current record' flag (Yes/No) to the new one.
In one instance this change only requires a date and percentage changed and I want to progamatically add the record.
This means, copy of last 'current record' data into the new record, update the date and % fields in the new record to ones provided on a form, and then change the 'current record' flag to this new record.
Using a Recordset seems the best way to .AddNew but how can I copy the last current record into it?
Cheers
I have a table that contains some base information used in pricing parts for various customers. (table SetupData)
Everytime there is a price increase or change of terms I add a new record to the table and move my 'current record' flag (Yes/No) to the new one.
In one instance this change only requires a date and percentage changed and I want to progamatically add the record.
This means, copy of last 'current record' data into the new record, update the date and % fields in the new record to ones provided on a form, and then change the 'current record' flag to this new record.
Using a Recordset seems the best way to .AddNew but how can I copy the last current record into it?
Cheers