Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Syntax error that occurs occassionally
Message
 
À
23/01/2001 15:51:30
Gene Maddox
Silver Creek Technologies
Johnson City, Tennessie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00467556
Message ID:
00467559
Vues:
12
Hi Gene,

Any chance your variables/fields that your using to build the command string have quotes in them?

>here is the code, the error occurs on the last line, but it doesn't happen all the time. Just every now and then. Any suggestions:
>
>ThisForm.List1.RowSourceType = 0
>ThisForm.List1.RowSource = ''
>
>cReportProcedure = alltrim(rep.rep_prg_nm)
>
>lcDo = "do " + lcRep + " with 'disad', .T., .T., " + ;
> alltrim(str(rep.rep_pk)) + ", '" + lcCompanyName + "'"
>&lcDo
>
>select rep
>
>ThisForm.List1.RowSourceType = 6
>ThisForm.List1.RowSource = 'Rep.rep_ds'
kenweber
GCom2 Solutions
Microsoft Certified Professional

Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform