Forwards & Backwards Compatibility
Chuck Pelto
cbpelto at pcisys.net
Tue Nov 17 16:40:22 CST 2009
Hi Ruslan,
On Nov 17, 2009, at 12:53 PM, Ruslan Zasukhin wrote:
> On 11/16/09 10:50 PM, "Chuck Pelto" <cbpelto at pcisys.net> wrote:
>
> Hi Chuck,
>
>> Regarding Valentina Studio.....
>>
>> ....can I build the database structure in that and drop it into the REALbasic
>> structure? If so, how?
>
> What you mean with
> drop it into the REALbasic structure
Back in 2007, I'd build the database inside of RB by using code as follows....
// make the tables here
tbl_cont = tDatabase.CreateTable("tbl_cont") // Contacts
//************************************
// make the fields of the tables here
//************************************
// Contacts
call tbl_cont.CreateStringField("cont_category", 10, EVFlag.fIndexed) //
call tbl_cont.CreateStringField("cont_type", 20, EVFlag.fIndexed) //
call tbl_cont.CreateStringField("cont_status", 20, EVFlag.fIndexed) //
call tbl_cont.CreateStringField("cont_namelast", 20, EVFlag.fIndexed) //
call tbl_cont.CreateStringField("cont_namefirst", 20, EVFlag.fIndexed) //
call tbl_cont.CreateStringField("cont_namemiddle", 20, EVFlag.fIndexed) //
call tbl_cont.CreateStringField("cont_namenick", 20, EVFlag.fIndexed) //
call tbl_cont.CreateStringField("cont_nameprefix", 20, EVFlag.fIndexed) //
call tbl_cont.CreateStringField("cont_namesuffix", 20, EVFlag.fIndexed) //
call tbl_cont.CreateStringField("cont_namepref", 20, EVFlag.fIndexed) //
call tbl_cont.CreateStringField("cont_namecomplete", 20, EVFlag.fIndexed) // assembled name with full name aspects
call tbl_cont.CreateStringField("cont_nametotal", 100, EVFlag.fIndexed) // assembled name with all name aspects
call tbl_cont.CreateStringField("cont_title", 20, EVFlag.fIndexed) //
call tbl_cont.CreateTextField("cont_description", 256, EVFlag.fIndexed) //
With this code tor open an existing database:
// method to reacquaint the application with the structure
tbl_cont = tDatabase.Table( "tbl-cont" )
> You can open in RB databases created and designed in Vstudio
>
> db = new Vdatabase()
>
> db.open( path )
This answers my question....I think....
Now the question is how do I buy Valentina Studio? I've been crawling all over the Paradigma site and found the Store and Studio. I click on Add to Cart but there's no 'check-out' button. Additionally, I tried to register, but I've yet to receive any confirmation e-mail.
Please advise....
Regards,
Chuck
More information about the Valentina
mailing list