main logo
Subject: RE: Problems with MakeNewField in VJDK Updated
Author: "Jones, John"
Posted: 2001/08/30 10:19:12
 
View Entire Thread
New Search


> From: Ruslan Zasukhin [mailto:sunshine .at. public .D.O.T kherson.ua]

> > Here is a routine I'm using. Everything works fine until I
> get to the line
> > with the ">>>>" in front of it. Then my program dies; no

> > theTable.Flush();
> ^^^^^^^^^^^^^^^^^^^^ this Flush() is useless, because you
> did not modify
> anything.
Rus,
This was an attempt to see if other methods of the object worked.

>
>
> > theTable.SetName("Marjorie");
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^ I wonder what you think this line do ?
> why you write it here ?
This was the same thing. I was just renaming the BaseObject; that worked
successfully.

>
> > VField it=theTable.GetField("Series");
> > theTable.DeleteField(it);
This was the same thing; an attempt to use the delete method. It worked
also.

>
> >>>>> theTable.MakeNewField( "FirstName", VJDK.TypeString, 25 );

> Does VJDK include at least one example that uses this way of field
> creation? I mean VBaseObject.MakeNewField()
The marked line is almost an exact copy of an example from the
documentation.
>

> Am I right that you are going to have database with dynamic database
> structure, yes ?
Actually I'm trying to make a windows client for Valentina, so it will be
adding and dropping fields dynamically, yes.

>
> Can you send your java files where you create database ?
The database I'm using was created in director. I have dropped and added
tables in java, though, and deleted fields. It's the add fields part I'm
working on :-).

>
> I am afraid that we will not be able debug this problem until
> Jochen return from vacation.
Thanks for the input. Do you know when he's coming back?

john
 
©2001 Jones, John
<-- Prior Message New Search Next Message -->