Board index » delphi » PDox Table not getting updated

PDox Table not getting updated

I am currently working with a paradox table and Delphi 4 and I have all
the components hooked up properly to support editing of the results of my
query.

My problem is that I call Applyupdates on the query and none of the values
actually get passed on into the db tables.  I DO have cached updates set
to true, I have an updatesql object set up with the sql statements
generated.  After I call applyupdates, I try query1.close followed by
query1.open to test that the data is there, but it reverts to the original
contents that existed before I edited them.

Any ideas?  I can give more details as needed . . .

Butch Istook
ist...@cs.byu.edu

 

Re:PDox Table not getting updated


Try issuing a COMMIT TRANSACTION with the TDatabase component.

Does that work?

RKr

Quote
Butch wrote:

> I am currently working with a paradox table and Delphi 4 and I have all
> the components hooked up properly to support editing of the results of my
> query.

> My problem is that I call Applyupdates on the query and none of the values
> actually get passed on into the db tables.  I DO have cached updates set
> to true, I have an updatesql object set up with the sql statements
> generated.  After I call applyupdates, I try query1.close followed by
> query1.open to test that the data is there, but it reverts to the original
> contents that existed before I edited them.

> Any ideas?  I can give more details as needed . . .

> Butch Istook
> ist...@cs.byu.edu

--
                   \|||/
                   /'^'\
                  ( 0 0 )
--------------oOOO--(_)--OOOo--------------
. Reid Roman                              .
. Delphi Programmer / Analyst             .
. TVisualBasic:=class(None);              .
. May the Source be With You              .
-------------------------------------------
. Auto-By-Tel (http://www.autobytel.com)  .
. Irvine, CA U.S.A                        .
. E-Mail : rkroman (at) pacbell (dot) net .
. or reidr (at) autobytel (dot) com       .
-------------------------------------------

Other Threads