Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Print via myform
Message
De
08/11/2004 15:28:20
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
08/11/2004 15:09:12
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 5
Divers
Thread ID:
00959007
Message ID:
00959338
Vues:
14
The line continues on the following lines. I had forgotten the semicolons at the end of each line. I had copied code from a previous message, and it seems that line wrap was enabled. Add the semicolons, like this:

>hi,
>than kyou very much,
>
>but i get error message(command contain unrecognized phrase/keyword)
select from mstr where UPPER(inname) = UPPER(TRIM;
     (thisform.pageframe1.page1.text1.Value));
     and nam1 =thisform.pageframe1.page1.text4.Value and;
     datein>=thisform.pageframe1.page1.text3.value .and.;
     datein<=thisform.pageframe1.page1.text5.value;
  into cursor TempReport;
  nofilter
if _tally = 0
  MessageBox("No records selected. Try changing your criteria.")
else
  report form mstr22 preview
endif
select  mstr && go back to the table that belongs to the grid
The semicolon, ";", tells VFP that the command continues on the next line. It can help make your code more readable (since you don't have to scroll horizontally to see the entire command).

HTH,

Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform