B
Billp
Hi, I have a glitch,
Trying to have one code work on 2000, 2002, 2003 office plus 2007.
On an afterupdate I select a row source for a combo box.
This code works on 2000 - 2003 office, but gives blank on 2007 and 2010.
Forms!frmSER![cboDeliverCustomer].RowSource = "SELECT
[CustomerDeliveryName],[Delivery_Record_ID],[Cust_ID],[CustomerDeliveryAddress],[CustomerDeliverySuburb]" & _
"FROM [tblDelivery]" & _
"WHERE [Cust_ID] = """ & [Forms]![frmSER]![cboCompany_Name].Column(2) &
"""" 'this works for text
What have I done wrong?
What can I do to make this universal?
Thank you
Kind regards
Bill
Trying to have one code work on 2000, 2002, 2003 office plus 2007.
On an afterupdate I select a row source for a combo box.
This code works on 2000 - 2003 office, but gives blank on 2007 and 2010.
Forms!frmSER![cboDeliverCustomer].RowSource = "SELECT
[CustomerDeliveryName],[Delivery_Record_ID],[Cust_ID],[CustomerDeliveryAddress],[CustomerDeliverySuburb]" & _
"FROM [tblDelivery]" & _
"WHERE [Cust_ID] = """ & [Forms]![frmSER]![cboCompany_Name].Column(2) &
"""" 'this works for text
What have I done wrong?
What can I do to make this universal?
Thank you
Kind regards
Bill