Autofill

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

Guest

I have a database with Ins Company info. I have set up a combo box but would
like to have all other fields auto fill once I lookup the Insurance Company
name.
My fields are named as follows. InsIntCP for Insurance Company,
InsAddress for Address, InsCity for City, InsProv for Province and InsPostal
for Postal.

This is the code I put in Beforeupdate event.

Me.InsAddress = Me.InsAddress.Column(1)
Me.InsCity = Me.InsCity.Column(2)
Me.InsProv = Me.InsProv.Column(3)
Me.InsPostal = Me.InsPostal.Column(4)


What am I doing wrong??????

Lee
 

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

Basic Database Design 11
Multiple Entries 2
Need to restructure. 2
Tables Design 3
A Bit Confused 1
display code based on a name 7
Please Help! Normalization Exercise 1
Company and multiple addresses DB design 1

Back
Top