If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Autofill
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 |
#2
|
|||
|
|||
See The ACCESS Web for one way to do this:
http://www.mvps.org/access/forms/frm0058.htm -- Ken Snell MS ACCESS MVP "leebartley" wrote in message ... 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 |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Autofill more than one field from a combobox | Andy Roche | Using Forms | 3 | October 4th, 2004 04:55 AM |
Turning off incrementing in autofill | lirael | General Discussion | 2 | September 10th, 2004 03:16 AM |
trying to delete an autofill address and am not able to do so | KevOE Hig | Contacts | 3 | August 5th, 2004 01:00 PM |
Autofill alphabet series not possible in Excel? | abqhusker | Worksheet Functions | 1 | June 25th, 2004 05:11 PM |