Subject | Re: [IBO] Updating a table |
---|---|
Author | Chef |
Post date | 2001-01-01T04:01:46Z |
Hi Dion,
you can use your 'main' Query like this:
IB_Query1.Insert;
IB_Query1.FieldByName( 'mycoloumn' ).AsString := 'myvalue';
IB_Query1.Post;
If you have fields that get filled with values from a generator
then fill in the "IB_Query1.GeneratorLinks" property like
"myfield=mygenerator".
HTH,
Markus
At 20:07 31.12.2000 +0200, you wrote:
you can use your 'main' Query like this:
IB_Query1.Insert;
IB_Query1.FieldByName( 'mycoloumn' ).AsString := 'myvalue';
IB_Query1.Post;
If you have fields that get filled with values from a generator
then fill in the "IB_Query1.GeneratorLinks" property like
"myfield=mygenerator".
HTH,
Markus
At 20:07 31.12.2000 +0200, you wrote:
>Hi,
>
>I have been using Paradox and need to know if you would go about updating an
>IBO query in the same manner?
>I need to insert a new record into an IB_Query(an interbase table). I have
>TIB_Query and IB_Connection components on a form. I use the TIB_Query to
>display nodes in a tree. When I insert a new node, I want to duplicate this
>in the table by inserting a new record. Do I need to create another
>TIB_Query to do this INSERT, or can I do this using the existing TIB_Query
>component?
>
>Thanks,
>Dion.