Copying Records

  • Thread starter Thread starter DS
  • Start date Start date
D

DS

How do you copy are field from one record to a new record on the same
form using code?
Thanks
DS
 
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.
 
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
 
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top