Restructure dbf file

Plug-ins and utilities of interest to NeoBook authors

Moderator:Neosoft Support

Locked
User avatar
BRobinsonS
Posts:355
Joined:Sun Sep 25, 2005 9:00 pm
Location:Ontario, Canada
Contact:
Restructure dbf file

Post by BRobinsonS » Thu Jan 24, 2008 4:08 pm

I've just started looking at the DBF plug-in. I would like to convert the quiz example to include a Picture Field. Is there a way to restructure the database?

:D
Brian Robinson
'When all else fails, try again!'
www.ComputerSoftwareSystems.com

User avatar
Gaev
Posts:3782
Joined:Fri Apr 01, 2005 7:48 am
Location:Toronto, Canada
Contact:

Post by Gaev » Thu Jan 24, 2008 4:37 pm

Brian Robinson:
Is there a way to restructure the database?
The sample only has 4 Questions ... did you mean restructure this dbf ? ... or were you asking ot have both the Editor/Reader pubs be modified to ask/show Picture field contents ... i.e. create a new dbf file with the additional field.

P.S. From a fellow Canadian ... Welcome to the forum, eh ! :P

User avatar
BRobinsonS
Posts:355
Joined:Sun Sep 25, 2005 9:00 pm
Location:Ontario, Canada
Contact:

re: Restructuring DBF

Post by BRobinsonS » Thu Jan 24, 2008 5:01 pm

I want to add a picture field to the database structure and possibly delete one field.

Where in Canada are you?
What's your experience with NeoBook?
Brian Robinson
'When all else fails, try again!'
www.ComputerSoftwareSystems.com

User avatar
Gaev
Posts:3782
Joined:Fri Apr 01, 2005 7:48 am
Location:Toronto, Canada
Contact:

Post by Gaev » Thu Jan 24, 2008 6:15 pm

Brian Robinson:
I want to add a picture field to the database structure and possibly delete one field.
Just create a new database ... check out dbfCreate command in the Help file ... if you don't know the characteristics of the other fields, you can obtain that information using dbfGetFieldDefs.

Then you can modify the sample pub accordingly ... but you might first want to read up on the Help file section called Picture Field Considerations ... as the plugin manages Picture fields slightly differently than the other fields.
Where in Canada are you?
The center of the universe ... err ... I mean Toronto ... :wink: ... not too far from LaSalle ... just a long hop on the 401.
What's your experience with NeoBook?
My all time favorite Development platform ... in over 36 years of working with computers ... enough said.

Locked