>>USE don't like variables.
>>I have little trouble to understand your var (gcMainDBF) as data path.
>>Assuming you mean PATH and FILE NAME try:
>
>I'm not looking for a solution. As I mentioned, I already use '' to separate both variables in order to force the evaluation.
>
>What I'm saying is that I believe that as soon as a + sign is present that this should be evaluated.
Beg your pardon, it was beyond my english. <s>.
It looks like a "+" sign will be result in nothing. This seems to be normal since "+" is a regular sign within a filename. On the other hand "+''" is regular as well. I wood simple call the way
USE LcVar1+'' works a bug, since syntax is
USE Table and not
USE cTable.
In
USE "C:\My Files\blabla.dbf" "c:\My Files\blabla.dbf" is not realy a String. It is a filename encapsulted for the use of space in "My Files".
You might call a table "lcVar1+''+l" as long as you like.
Try
CREATE TABLE "la+''+l" (Ix i)
USE
USE la+''+l
USE
USE "la+''+l"
?'ALias: '+Alias()+' >>dbf: 'dbf()
CREATE TABLE la+l (Ix i)
USE
USE la+l
?'ALias: '+Alias()+' >>dbf: 'dbf()
.
Look also on the way the Alias is named.
I love this xbase stuff. Realy, I do.
Agnes
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord
Weeks of programming can save you hours of planning.
OffThere is no place like [::1]