Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Print via myform
Message
From
08/11/2004 15:28:20
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
08/11/2004 15:09:12
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 5
Miscellaneous
Thread ID:
00959007
Message ID:
00959338
Views:
13
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)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform