Auto Populate

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

Guest

I am trying to auto populate a field based on what was chosen in the combo
box. In the box that I want the information to auto populate in I am using
the following:

=[cboRptName].[Column](2)

but nothing is showing up. Is this the correct thing to use or should I be
going in a different direction?
 
The column count start with 0, so if the value you need located in the second
column

Select ID, Description From TableName

Then it need to be
=[cboRptName].[Column](1)
***************************************
Also, if you need the third column, check the Column count of the combo that
it has 3 or more in it.
***************************************
Where do you use that?
It need to be in the ControlSource of the Text Box
 
First make sure that your columns are correct. Column(2) is actually the
third column, so you need to have 3 (or more) columns defined in your column
count, and your column measurements (even if those measurements are 0)
 
I'm also getting the following error message : The methord you tried to
invoke on an object failed.

I did notice that if I change the column number then the info in that column
populates.
 

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. 1
Attempting To Auto Populate 11
Criteria for Auto Populating 11
Auto-Populate Form Field 1
Combo Box/Relationship Help 1
Auto Populate a static date 2
Combo Box Auto-Populate? 2
Look up boxes 5

Back
Top