A
Al Campagna
I have a main form that represents the total length of a roll of fabric that
will be broken up into smaller pieces in an associated continuous subform.
In that subform, the records will be almost identical, from one to the
other. By that I mean... of the 15 fields, each new record added will have
dupe values in 12 to 14 of them.
When the user clicks the "Add a new Record", I would like to go to the
subform Last record, do a Copy of that record, move to the New record, and
paste that info into it. I can then set the user up to change those few
fields that differ (most of the time it will just be the Piece RollNo)
I just need some help with "programmatically" Copying and Pasting records in
AccessVB... "aircode" is fine.
Also, another quickie question. When I send the cursor (GotoControl) to a
text control, the data in the field is selected/highlighted by default.
What VB can I use to "deselect" the data, and have the cursor end up just
after the last character of the existing entry (the VB equivalent of the
"F2" shortcut key)
I want to avoid using SendKeys.
Thanks for any assistance you can offer,
will be broken up into smaller pieces in an associated continuous subform.
In that subform, the records will be almost identical, from one to the
other. By that I mean... of the 15 fields, each new record added will have
dupe values in 12 to 14 of them.
When the user clicks the "Add a new Record", I would like to go to the
subform Last record, do a Copy of that record, move to the New record, and
paste that info into it. I can then set the user up to change those few
fields that differ (most of the time it will just be the Piece RollNo)
I just need some help with "programmatically" Copying and Pasting records in
AccessVB... "aircode" is fine.
Also, another quickie question. When I send the cursor (GotoControl) to a
text control, the data in the field is selected/highlighted by default.
What VB can I use to "deselect" the data, and have the cursor end up just
after the last character of the existing entry (the VB equivalent of the
"F2" shortcut key)
I want to avoid using SendKeys.
Thanks for any assistance you can offer,