Hi,
I am storing code in a memo file. When I bring it into the running exe and compile it I still get the original .FXP file running. I checked the program file and it has the new code and the prg and fxp have same date and time. What am I doing wrong? Why isnt the new fxp recognised? I get a 'source is out of date error'.
DELETE FILE report_code.* && Delete the previous
SELECT avail_reports_v && Select report choice table
LOCATE FOR ALLTRIM(avail_reports_v.desc) = ALLTRIM thisform.lb_report_type.ListItem(thisform.lb_report_type.ListItemId))
STRTOFILE(avail_reports_v.code, "report_code.prg"
&& Bring in the memo from the current record
COMPILE report_code && Compile the program
SELECT c_query && Select the data table
DO report_code && Run
I am storing code in a memo file. When I bring it into the running exe and compile it I still get the original .FXP file running. I checked the program file and it has the new code and the prg and fxp have same date and time. What am I doing wrong? Why isnt the new fxp recognised? I get a 'source is out of date error'.
DELETE FILE report_code.* && Delete the previous
SELECT avail_reports_v && Select report choice table
LOCATE FOR ALLTRIM(avail_reports_v.desc) = ALLTRIM thisform.lb_report_type.ListItem(thisform.lb_report_type.ListItemId))
STRTOFILE(avail_reports_v.code, "report_code.prg"
COMPILE report_code && Compile the program
SELECT c_query && Select the data table
DO report_code && Run