sambrierley
Registered User.
- Local time
- Today, 11:32
- Joined
- Apr 24, 2014
- Messages
- 56
Hi all,
hopefully this is quite easy for someone in the know, I have a select statement (AlphaName and StaffName are variables) in a module that woks fine, its been tested with a basic insert. what i want to do is get this result into a combo box without creating another table?
any help is great thanks
hopefully this is quite easy for someone in the know, I have a select statement (AlphaName and StaffName are variables) in a module that woks fine, its been tested with a basic insert. what i want to do is get this result into a combo box without creating another table?
any help is great thanks
Code:
strSQl = "SELECT [Week No] FROM [" & AlphaName & "_Hours] WHERE [Alpha Name] = '" & StaffName & "';"
Me.Week_Cmb.RowSource = strSQl