Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Syntax error - Urgent!
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00475084
Message ID:
00475090
Vues:
36
>>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform