|
| |
|
|
henry81
Posts: 4 Joined: 7/20/2004 Status: offline
|
# symbol in field name - 9/15/2004 16:17:11
Awwwww!!! Thought I was doing so good with learning this asp stuff.... My database server is Pervasive SQL, the tables I am pulling info from are read-only from our accounting application... THEY!! have a field in a table named USER_ORDER_FIELD_#2 I can display the field data fine, but when I try to put the field in a query......$%^&$%^&!!! I hope there is a way around this... Here is the query statement... fp_sQry="SELECT * FROM I15_ORDERS WHERE ( [USER_ORDER_FIELD_#2] LIKE '%::SEL_TRUCK_TYPE::%' AND [ORDER_TYPE] = 'S' AND [LOCATION_CODE] = '::SEL_LOCATION_CODE::' AND [ORDER_STATUS] LIKE '%::SEL_ORDER_STATUS::%' )" And here is the Error... Database Results Error Description: [Pervasive][ODBC Client Interface][LNA][Pervasive][ODBC Engine Interface]Syntax Error: SELECT * FROM I15_ORDERS WHERE ( << ??? >>[USER_ORDER_FIELD_#2] LIKE '%CUS%' AND [ORDER_TYPE] = 'S' AND [LOCATION_CODE] = '430' AND [ORDER_STATUS] LIKE '%A%' ) Number: -2147217900 (0x80040E14) Source: Microsoft OLE DB Provider for ODBC Drivers What the heck does the << ??? >>> mean ? Is it trying to parse the # symbol and come up with a date or what? Help! henry81....
|
|
|
|
henry81
Posts: 4 Joined: 7/20/2004 Status: offline
|
RE: # symbol in field name - 9/16/2004 9:57:38
Lost me on that one... Is the procedure written in asp or on the pervasive server? I can execute the query in access, why can't we get it to work in frontpage?
|
|
|
|
henry81
Posts: 4 Joined: 7/20/2004 Status: offline
|
RE: # symbol in field name - 9/16/2004 10:54:14
Ok, found where to do stored procedures, how would I setup a stored procedure... Need some direction... It looks like I could copy the table definition using a ddf editor and create an alias to the table and rename the fields... This sounds like fun.....*S*
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|