Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Syntax Error
Message
From
27/12/1999 16:22:57
 
 
To
27/12/1999 16:09:48
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Miscellaneous
Thread ID:
00308731
Message ID:
00308943
Views:
27
>>>>Hi Erik,
>>>>yes, a bit different question, however on the same idea. The syntax error wasn't from the report . . . the report is small, and I combed it thoroughly.
>>>
>>>What line throws the error? Where are you running this SQL from? BTW, you probably want to use the INTO CURSOR clause here to prevent a browser window from opening when the query completes.
>>
>>
>>public gdValue
>>gdValue = Thisform.gd1.displayvalue
>>
>>public szValue
>>szValue = Thisform.sz1.displayvalue
>>
>>select bundle,length,grade,siz,shipdataid; <-- This Line Erik
>>from data1;
>>into cursor 2ft; <-- Into Cursor
>>where grade . . .
>
>You can't name a cursor beginning with a number. Character or underscore only.


Yeah, I figured that out about 5 minutes ago . . . now the report runs but gives the wrong information. There are 6 test records in this database. The report spits out 6 rows, but the ID number of each row is the same (and turns out to be the 1st ID number 6 times).
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform