Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

POPUP LIST and INVALID PHRASE 1

Status
Not open for further replies.

fjarena

MIS
Dec 1, 2000
5
US
I am getting the error below when I build an executable.
The application is built using FoxPro 2.6 an in WINDOWS NT
with 64 MG of RAM. I can not find an invalid phrase and am using screenbulder to build the popup list.

Can some offer a reason or assistance to avoid the error?

Compiling t:\cashdev\ledgadd.spr
@ 6.615,89.600 GET m.type PICTURE "@^ BANK FEE;CAMS;CHCEP;EAA;EMP PAYBACK;FOOD STAMPS;FRAUD;IND THRU TRANS;LEGAL FEES;MEDICAID;MEDICAID SUPPORT;MORTGAGE;RECOVERY;RENT REFUND;SUAR-MORTGAGE;SUAR-RENT;SUAR-UTILITY;SUAR-TAXES;SSI RETRO;VENDOR REFUND;VOLUNTARY SUPPORT;MISCELLANEOUS;RECOVERY-MA;recovvvvvv" SIZE 1.538,24.167 DEFAULT "SUAR-TAXES" FONT "MS Sans Serif", 8 STYLE "B"
Error in line 191: Unrecognized phrase/keyword in command.

Thanks!
 
On of the problems with the screen builder is that it doesn't know when it has created a line that is too long, which is the problem here. The line is 380 characters long which is too long for FoxPro. As I recall, the longest line can only be 255 characters, or something like that.
You will have to change your popup to an array popup or manually edit the .SPR file and break up the line into smaller sections.
(Take note of the area that reads 'SSI RETRO;" + ;
"VENDOR REFUND;')

@ 6.615,89.600 GET m.type PICTURE "@^ BANK FEE;CAMS;CHCEP;EAA;EMP PAYBACK;FOOD STAMPS;FRAUD;IND THRU TRANS;LEGAL FEES;MEDICAID;MEDICAID SUPPORT;MORTGAGE;RECOVERY;RENT REFUND;SUAR-MORTGAGE;SUAR-RENT;SUAR-UTILITY;SUAR-TAXES;SSI RETRO;" + ;
"VENDOR REFUND;VOLUNTARY SUPPORT;MISCELLANEOUS;RECOVERY-MA;recovvvvvv" SIZE 1.538,24.167 DEFAULT "SUAR-TAXES" FONT "MS Sans Serif", 8 STYLE "B"
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top