Autofill

L

leebartley

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

Auto Fill Word Documents 4
Anything will help 0
Basic Database Design 11
Need to restructure. 2
display code based on a name 7
relationships 1
Designing a patient management 4
autofill address 1

Top