DBCREATE

This forum is for general support of Xbase++
Post Reply
Message
Author
caliendo
Posts: 5
Joined: Tue Apr 26, 2011 4:13 am

DBCREATE

#1 Post by caliendo »

Hi,
I run the function dbcreate with default engine FOXCDX. Some files are created with the first byte x31 instead of x30. What does it mean? I use XDBU Clayton Jones for maintenance DBF that fails to open files in that format.
Can you help me, please?
Thanks.

Wolfgang Ciriack
Posts: 481
Joined: Wed Jan 27, 2010 10:25 pm
Location: Berlin Germany

Re: DBCREATE

#2 Post by Wolfgang Ciriack »

Wiki is your friend http://www.digitalpreservation.gov/form ... 0325.shtml ;)

0x30 Visual FoxPro
0x31 Visual FoxPro, autoincrement enabled
_______________________
Best Regards
Wolfgang

User avatar
rdonnay
Site Admin
Posts: 4775
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: DBCREATE

#3 Post by rdonnay »

I think that the first byte determines whether or not there is a memo file.
The eXpress train is coming - and it has more cars.

caliendo
Posts: 5
Joined: Tue Apr 26, 2011 4:13 am

Re: DBCREATE

#4 Post by caliendo »

Thanks.
It is a XDBU by Clayton Jones problem.
Best regards.
Ettore

caliendo
Posts: 5
Joined: Tue Apr 26, 2011 4:13 am

Re: DBCREATE

#5 Post by caliendo »

Hi Wolfgang,
if I want to create a DBF with no autoincrement enabled, what should I do?
Thanks.
Ettore

Wolfgang Ciriack
Posts: 481
Joined: Wed Jan 27, 2010 10:25 pm
Location: Berlin Germany

Re: DBCREATE

#6 Post by Wolfgang Ciriack »

Hi Ettore,
try to create a new database, than append the records from the old one.
When i change from CDX to FOX i used this, and all tables habe 0x30 as first byte.
_______________________
Best Regards
Wolfgang

caliendo
Posts: 5
Joined: Tue Apr 26, 2011 4:13 am

Re: DBCREATE

#7 Post by caliendo »

Thank you Wolfgang,
Your method works fine: if I create a new database using XDBU of Clayton Jones the first byte is x30.
I have to install the new version of an application which changes the structure of many files and I implemented a utility that changes all automatically, but I have the problem that the archives have x31 in the first byte and I can not open them with my utility.
Thank you for your interest.
Best regards. Ettore

Post Reply