AutoTraker
2003-07-11 10:56:05 UTC
Here is something that shouldn't work that does.
The database name is created use fUnique and
we use a macro in our create table command.
But note the syntax. I would expect it to fail
since the database name does not match the
name "EMAIL" in the body of the command.
Is this one of those "Good" bugs?
-
Rich...
www.autotraker.com
AutoTraker Inc.
Demo CD disks are available free to any Automotive repair shop.
We are one of the top Automotive POS programs in the country.
AutoTraker is written 90% in dBase version 5.7 and works on
all Windows platforms. Finder fee for referrals and commission
on all sales. Contact our office for info on our dealer program.
databaseName = fUnique()
? databaseName
create table "&dataBaseName." ( ;
EMAIL.'LDELETE' BOOLEAN,;
EMAIL.'REPLY' BOOLEAN,;
EMAIL.'JUNK' BOOLEAN,;
EMAIL.'GET_BODY' BOOLEAN,;
EMAIL.'FROM' CHAR(60),;
EMAIL.'SUBJECT' CHAR(128),;
EMAIL.'TO' BLOB,;
EMAIL.'ACCOUNT' CHAR(60))
? file ( "&dataBaseName."+".dbf" )
The database name is created use fUnique and
we use a macro in our create table command.
But note the syntax. I would expect it to fail
since the database name does not match the
name "EMAIL" in the body of the command.
Is this one of those "Good" bugs?
-
Rich...
www.autotraker.com
AutoTraker Inc.
Demo CD disks are available free to any Automotive repair shop.
We are one of the top Automotive POS programs in the country.
AutoTraker is written 90% in dBase version 5.7 and works on
all Windows platforms. Finder fee for referrals and commission
on all sales. Contact our office for info on our dealer program.
databaseName = fUnique()
? databaseName
create table "&dataBaseName." ( ;
EMAIL.'LDELETE' BOOLEAN,;
EMAIL.'REPLY' BOOLEAN,;
EMAIL.'JUNK' BOOLEAN,;
EMAIL.'GET_BODY' BOOLEAN,;
EMAIL.'FROM' CHAR(60),;
EMAIL.'SUBJECT' CHAR(128),;
EMAIL.'TO' BLOB,;
EMAIL.'ACCOUNT' CHAR(60))
? file ( "&dataBaseName."+".dbf" )