|
-
Apr 7th, 2003, 08:32 AM
#1
Thread Starter
Junior Member
Select from combo box(RESOLVED)
The combo1.text box contains table names but some times there is a space in the name and the select query will not work i have tried with and without brackets any ideas thanx
VB Code
________________________________________________
rs.Open " SELECT * " & _
" FROM " & (Combo1.Text), _
cnn, _
adOpenKeyset, _
adLockReadOnly, _
adCmdText
rs.MoveFirst
____________________________________________________End Code
Last edited by david maddison; Apr 8th, 2003 at 01:46 AM.
david
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|