While working on a problem here on the UT, I need to read the Properties field in a SCX datafile for a cursor class. For this example, I open EMPLOYEE.SCX in Tastrade. The Database property is represented in this field by:
Database = ..\program files\vfp\samples\tastrade\data\tastrade.dbc
Clear enough?
So...I use the RATLINE function to return the line number of the memo field (7 in my case). Note that MEMOWIDTH is set to default 50. So, anyway, what do you think MLINE(RATLINE("Database",properties),7) returns?? You would expect the line I just typed. What you get, however, is:
"Database= ..\program"
I don't understand this behavior...can anyone here try it out (we all have Tastrade) and comment? I don't want to report a bug to MS without some sort of independant verifcation.
BTW: I am using VFP 5.0a
Thanks.
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05