Kam,
Just to elaborate, if you think about it then the default alias of the table
becomes sample-p, which can be misinterpreted by a parser as being an actual
expression - hence the error. 

You would never call a table sample*p.dbf as this error would be an obvious
misuse of the "*" character and using the "-" has exactly the same effect
even though it is not as obvious.

Dave Crozier

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of KAM.covad
Sent: 18 August 2008 17:53
To: ProFox Email List
Subject: VFP9 SP1 bug?

dbffil = "sample-p.dbf"
dbfnam - "sample-p"
use (dbffil)
browse works so you did use it, however,
used(dbfnam) give false?

If you change the hyphen to an underscore, everything works as expected?


[excessive quoting removed by server]

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to