Board index » delphi » Change table type Pdox 4 to Pdox 7

Change table type Pdox 4 to Pdox 7

I need to keep a small Paradox table in 2 formats., Pdox 4 for use
with an existing DOS Pdox  V4.5 system and Pdox 7 for use in a
Delphi 3 version of the same system which I am developing. The
reaon for doing this is that Findkey fails to find records which are
in the V4 table but does in the V7 one.

What I want to do at the start of the Delphi version is
        Rename the V4 table
        Copy it to a V7 table of the original name
and at the end
        Copy the V7 table to V4 keeping the original name.

Note - the rename must be a true Paraodx rename as there are
primary and secondary indices and the DOS version has
associated forms and report specs.

Any advice how to ensure the required Pdox formats or other
suggestions how to solve the problem would be welcome.

Pat
--
Pat White
email: p...@pwhite.demon.co.uk
Phone; +44 (0)1925 266113

 

Re:Change table type Pdox 4 to Pdox 7


Quote
Pat White (p...@pwhite.demon.co.uk) wrote:

: I need to keep a small Paradox table in 2 formats., Pdox 4 for use
: with an existing DOS Pdox  V4.5 system and Pdox 7 for use in a
: Delphi 3 version of the same system which I am developing. The
: reaon for doing this is that Findkey fails to find records which are
: in the V4 table but does in the V7 one.

Before you go to all the trouble, make sure you can't do what
you want with the Pdox 4 table and Delphi 3.  What BDE version are you using?
Have you tried upgrading to see if it helps?  Have you tried using
another method, such as locate or setRange, to do the same thing?

Have others found FindKey in Delphi 3 to be the source of similar problems?
This is the first I've heard of it.
--
Rick Carter
carte...@email.uc.edu

Other Threads