Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Syntax error - Urgent!
Message
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00475084
Message ID:
00475090
Views:
37
>>Hi everyone,
>>
>>I have "Syntax error" on this line of code (not my application):
>>&cmd.
>>
>>cmd=[do stats.app with 'run', '2YearsRpt', 'vAllConfigs','\redp\dbc\'+oJC.curState+'\'+oJC.curState+'Stats',ojc.outtable,oJC.CalYear, , oJC.ccode, oJC.CalPeriod]
>>All oJC properties have thier values:
>>oJC.outTable="redp\Putput\Stats\Harford"
>>oJC.curState="CT"
>>oJC.CalPeriod="12"
>>oJC.CalYear="2000"
>>oJC.ccode="31"
>>
>>Could it be a problem, what one parameter is skipped?
>
>Nadia, try with:
>
>
>cmd = [do stats.app with 'run','2YearsRpt','vAllConfigs','\redp\dbc\',']+ ;
>  oJC.curState+'\'+oJC.curState+'Stats' + [','] + ojc.outtable + [','] + ;
>  oJC.CalYear + [',' ','] + oJC.ccode + [','] + oJC.CalPeriod + [']
>&cmd
>
Thanks, Luis. I may try this syntax, but the strange thing is, that the similar code works just fine. Something weird is going on here...
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform