Here are the issues I found so far that works in VFP but not (yet) in X#:
#1. This code errors out because of the enclosed quotation marks(") in the TEXT/ENDTEXT block. Removing them works or replacing them with single quote (') works as well.
Code: Select all
lcVar = "Loy"
TEXT TO cTemp TEXTMERGE NOSHOW PRETEXT 15
"<<lcVar>>"
ENDTEXT
Code: Select all
obj = createobject("empty")
AddProperty(obj,"MyName","Loy")
? obj.MyName && prints "Loy" - This works
LOCAL macrovar
macrovar = "obj.MyName"
? ¯ovar && This errors out
//This one works when you get the value of the property
LOCAL prop
prop = "MyName"
? obj.&prop
//But, this one errors out when setting the value of the property
obj.&prop = "Jack"
#3. In an existing Table with CDX, if there is at least one index tag that has an index expression that is not yet implemented, you can no longer use any of its index tag. For example:
Code: Select all
USE Employee.dbf New
//Note: My table has the following existing index tags:
//EMPID TAG EMPID
//LASTNAME TAG LASTNAME
//TTOC(TIMESTAMP)+OTHERFIELD TAG TIMESTAMP
//Note TTOC() function here is not yet implemented, so if I
SELECT "Employee"
SET ORDER TO "LASTNAME"
GO TOP
SCAN
? LASTNAME
ENDDSCAN
//The order will not work. But if I remove the "TIMESTAMP" tag, this will work.
Thank you and all the best to your team.
Loy