Copying record!

pgp

Registered User.
Local time
Today, 00:46
Joined
Jul 1, 2003
Messages
33
Hi,

Have a couple of questions!

I have a mainform - revisequoteform displaying details of a quote (like customer info, revision number etc)

Within this mainform - have a revisesubform with all item details for that quote. I can create a quote with any number of items in it.
This subform shows all the items quoted for, but just a couple fields for each item.

When I double click any item on the subform , I open another form (new popup form) which displays all the details for that item in that quote.

What Im trying to achieve?

1. When I revise the item details in the new pop up form, close this form, I would like to update the changes on to the revisesubform for this item.

Problem is: WHen i first open this revisemainform - it gets the last revised quote information for that quotenumber - say last rev number = 1 - new rev num = 2 and when I revise this again using the popupform, Im not able to update the changes to the revisesubform since it displays still the item details for the rev number 1.

2. For one quotenumber, say I have 3 items.But i revise just one item, and do not touch the others. When I open the quote again, only the revised item appears for the quotenumber on the subform, the remaining unrevised items are not displayed.

For this, Im trying to copy the entire item record thats unrevised , to the same table, but with new revisiion number. Is there a way to duplicate a record without assigning each and every field?

I would appreciate any input.
Thanks in advance
Priya
 
copy records!

Hi,

Thanks for your input.
Actually im aware of this way of copying records( field by field from form to the actual table by assigning each and every field)

Since I have like 20 + fields, Im trying to find an easier way to copy all the fields as a new record - duplicating that record.

For eg:
Is there a way to call each field like field(1) or field(2) so that I can go through a for loop and copy the array of fields??.

hope im clear !!

thanks again
pgp
 
I am also interested in accomplishing this. Any ideas?
 

Users who are viewing this thread

Back
Top Bottom