Does anyone know the answer?
Is this a bug in Xbase++ 2.0
or so it should be.
It is not documented anywhere.
USE [ <cFileName> ;
[ INDEX <cIndexFiles,...> ] ;
[ ALIAS <cAlias> ] ;
[ VIA <cDbeName> | (<oSession>) ] ;
[ NEW ] ;
[ READONLY ] ;
[ EXCLUSIVE | SHARED ] ;
]
<cFileName>
<cFileName> is a literal file name or a character expression
in parentheses containing the name of the file to open.
<cFileName> can contain drive and/or path information.
The default file extension is ".DBF"
Example:
USE 1TEST.DBF NEW EXCLUSIVE // OK
USE 1TEST NEW EXCLUSIVE // Synatx error
rez := "1TEST"
USE (rez) NEW EXCLUSIVE // OK
Also tested under Advantage Database Server (REMOTE SERVER)
Xbase++ 2.0 BUG ?
- slobodan1949
- Posts: 82
- Joined: Mon Apr 25, 2011 8:57 am
- Location: SERBIA
- Contact:
Re: Xbase++ 2.0 BUG ?
Zdravo Cobo,
This is a bug. The problem is that the first character is a numeric 1. Use the command with character string, instead of literal, for file name: USE "1TEST" NEW.
This is a bug. The problem is that the first character is a numeric 1. Use the command with character string, instead of literal, for file name: USE "1TEST" NEW.
Best regards,
Slavoljub Damnjanovic
SD-SoftDesign, Alaska Software Technology Partner
https://www.sd-softdesign.com
https://www.sd-softdesign.rs
Slavoljub Damnjanovic
SD-SoftDesign, Alaska Software Technology Partner
https://www.sd-softdesign.com
https://www.sd-softdesign.rs
- slobodan1949
- Posts: 82
- Joined: Mon Apr 25, 2011 8:57 am
- Location: SERBIA
- Contact:
Re: Xbase++ 2.0 BUG ?
Hvala Slavko. I mislio sam da je greška.
Thank you, Slavko. And I thought it was a mistake.
Thank you, Slavko. And I thought it was a mistake.