Page 1 of 1

need example

PostPosted: Tue Jun 12, 2007 11:40 am
by DELCO
Hello Dave,
I would appreciate to have a simple example of database creation. Things are not clear for my little newbie brain...

I am impatient to be able this such interesting plugin !

Thank you for your excellent work !!

PostPosted: Tue Jun 12, 2007 11:46 am
by domino
There are a couple of sample pubs included.. have you seen them?

PostPosted: Tue Jun 12, 2007 11:52 am
by Neosoft Support
The process is different depending on what type of database you're using. Some databases can only be created on the server. Others, such as MS Access can be created programmatically. The steps to create a MS Access database are:

dbpCreateAccessDatabase...
dbpOpenAccessDatabase...

Now you have an empty Access database. The next step is to create one or more tables where the data will be stored:

dbpCreateTable...
dbpOpenTable...

To display the table in a grid format use:

dbpShowGrid...

The sample AddressBook publication demonstrates all of these concepts.

PostPosted: Tue Jun 12, 2007 11:57 am
by DELCO
...oups ! Finally, I found a part of code, in AddressBook example, showing how to create the database. Now I will continue my investigations....
Thank you again !!


....Sorry Dave, I posted my second post before reading your's above. I am confused.