Auto populate

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I'm building a data entry form with several pulldown lists. I would like
certain fields in the form to auto populate with the data from the previous
record with the ability to pick another value from the pulldown list.

I know the user can use Control ' but would like to automate the process.

Thanks in advance!!
 
If you ALWAYS want the values to follow the previous record you can update
the default value of the controls using the BeforeUpdate event of the form.

Me.MyTextBox.DefaultValue = Me.MyTextBox
 
Barry,

This is an untested idea, but worth a try. I think that if you put some
code in the After Update event of the form that would load variables with the
data from the controls. Then, in the Current event of the form, if there is
data in the variables, put the data in the variables into the controls.
Again, this is just a concept.
 

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

Similar Threads

Auto populate 3
Auto Populate Field 1
Auto populate controls on a form 4
Populate field from previous record 0
Populates 1
Auto value 2
Auto Populate Field 3
2 column pulldown 4

Back
Top