PC Review


Reply
Thread Tools Rate Thread

cascading combo box

 
 
Pam
Guest
Posts: n/a
 
      11th Aug 2008
I have a customer form in access 2007. I have the "customer name" pulling
from the customer database (of course) but I also want the address, and
shipping address to pull from the database.I have tried this code, but it
errors out at ".Rowsource" with a "method or datamember not found"

Private Sub Customer_AfterUpdate()
On Error Resume Next
Combo91.RowSource = "Select Customer.billaddressaddr2 " & _
"FROM Customer " & _
"WHERE Customer.fullname = '" & Customer.Value & "' " & _
"ORDER BY customer.billaddressaddr2;"

End Sub

I don't know if the boxes for the addresses are to be combo boxes or plain
text boxes, but I have tried it several ways and it is not working.
Any help would be greatly appreciated.
Thanks
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Cascading Combo Box - 2nd combo box changing 1st in previous recor Sarah Microsoft Access Forms 1 23rd Nov 2009 05:37 AM
Cascading combo box Joe Microsoft Access Database Table Design 1 13th Jul 2009 07:16 PM
Cascading Combo Box Help mHalvy Microsoft Access 9 3rd Jan 2008 07:54 PM
Cascading Combo Box - filling a text box instead of a Combo box =?Utf-8?B?U2N1ZGE=?= Microsoft Access Forms 5 25th Jun 2007 06:46 PM
Cascading Combo Box =?Utf-8?B?U2hhcm9u?= Microsoft Access Form Coding 14 17th Jul 2006 11:42 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:25 AM.