Copying Records

D

DS

How do you copy are field from one record to a new record on the same
form using code?
Thanks
DS
 
R

Russ

Hi DS:

You need to be a bit more specific. If I where to right code I would need
to know why are you copying, and what you want to copy. There are many
different ways to do what you ask. A better definition of what you are
doing, would allow me to give you a more specific answer or at least point
you in the right direction.
 
D

DS

Russ said:
Hi DS:

You need to be a bit more specific. If I where to right code I would need
to know why are you copying, and what you want to copy. There are many
different ways to do what you ask. A better definition of what you are
doing, would allow me to give you a more specific answer or at least point
you in the right direction.

:
I have a field on a subform that is called [LineID]...everytime I make a
new record it advances by one. But this is only the case when I choose
an item from Listbox1. Whenever I choose an item from Listbox2 I want
the new record to copy the LineID from the current record. Is this any
clearer? Thanks
DS
 
D

DS

DS said:
Russ said:
Hi DS:

You need to be a bit more specific. If I where to right code I would
need to know why are you copying, and what you want to copy. There
are many different ways to do what you ask. A better definition of
what you are doing, would allow me to give you a more specific answer
or at least point you in the right direction.

:
I have a field on a subform that is called [LineID]...everytime I make a
new record it advances by one. But this is only the case when I choose
an item from Listbox1. Whenever I choose an item from Listbox2 I want
the new record to copy the LineID from the current record. Is this any
clearer? Thanks
DS
Found the Solution, I put a hidden field on the form that I open and
retai the value there, Once again Thank You, everyone.
DS
 
Top