Access_Help
Registered User.
- Local time
- Yesterday, 20:27
- Joined
- Feb 12, 2005
- Messages
- 136
OK, so I'm not sure where the error is in this VBA script applied to the after update property of the combobox:
When I run it, it is breaking up the postcode values in the combobox and prompting them seprately as 'enter parameter value'?
Code:
Option Compare Database
Private Sub Combo6_AfterUpdate()
Dim SQL As String
SQL = "Select * From [qry_email_addresses] where [Post_Code] = " & Me![Combo6]
Me![List2].RowSource = SQL
Me![List2].Requery
End Sub
When I run it, it is breaking up the postcode values in the combobox and prompting them seprately as 'enter parameter value'?