|
-
Jan 29th, 2003, 02:33 PM
#1
Thread Starter
Member
Pound Sign in SQL statement?
hello there,
On my database I have a '#' sign in the field name. How can I pass an SQL statement to an adodc object with a pound sign in the field name.
Here is my code
Adodc1.RecordSource = "SELECT DISTINCT Route# FROM dbo_Master"
Adodc1.Refresh
I have also tried:
Adodc1.RecordSource = "SELECT DISTINCT Route'#'....
as well as:
Adodc1.RecordSource = "SELECT DISTINCT Route" & "#" ...
if you have an answer i would really appreciate it. Thank you.
-Jason
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
|