Board index » delphi » Paradox Autoincrement Key Field
David W. Body
![]() Delphi Developer |
Tue, 21 Apr 1998 03:00:00 GMT
|
David W. Body
![]() Delphi Developer |
Tue, 21 Apr 1998 03:00:00 GMT
Paradox Autoincrement Key Field
Has anyone had experience deploying a multi-user application which uses a
Paradox autoincrement field as the key field in a master table which has one or more detail tables associated with it? I have heard that master tables which rely on an autoincrement key field sometimes become corrupted and it is then impossible to get back into synch with the detail tables. Can anyone confirm that this is actually a problem? The alternative would be to generate the key field from a single-record David Body |
Donna Swanso
![]() Delphi Developer |
Wed, 22 Apr 1998 03:00:00 GMT
Re:Paradox Autoincrement Key FieldQuotechris...@{*word*104}port.net (Richard Christman) wrote: Suppose that the following are the order numbers and autoinc field OrderNum-AutoInc Then, suppose that we rebuild this table now the situation is this: If now we go to add the next record then the next autoinc field |
Arro
![]() Delphi Developer |
Thu, 23 Apr 1998 03:00:00 GMT
Re:Paradox Autoincrement Key FieldIn <47gmbt$1...@tigger.cc.uic.edu> Donna Swanson <u35...@uicvm.uic.edu> writes: Quote
use the autoincrement option for key fields. It can cause problems especially on multi user systems. The best way is to use another file that supplies a number and is incremented, posted and closed when you take a number from there. It serves as a central station for handingt out the next available number. An example of that can be found in the MastApp sample include3d with Delphi. Ben Arrow |
Wade Auchterlon
![]() Delphi Developer |
Fri, 24 Apr 1998 03:00:00 GMT
Re:Paradox Autoincrement Key Field"David W. Body" <davidb...@dsmnet.com> wrote: Quote>I have heard that and destroy the master-detail integrity. Has anyone seen any commitment from Borland to solving this problem? Has anyone seen any commitment from Borland to providing a redistributable table Wade Auchterlonie. |
Arro
![]() Delphi Developer |
Fri, 24 Apr 1998 03:00:00 GMT
Re:Paradox Autoincrement Key FieldIn <47hr60$...@status.gen.nz> w...@iconz.co.nz (Wade Auchterlonie) writes: Quote
Quote>repair program? One principal you must keep in mind. If there is a workaround to a problem it is not considered critical. Hence the autoincrement feature. It is merely a feature. Use when it creates no problems. Else think of it as non existent. That's how I survived. Lighten up felles and you won't get a heart attack. Happy motoring Ben Arrow Software |
Arro
![]() Delphi Developer |
Fri, 24 Apr 1998 03:00:00 GMT
Re:Paradox Autoincrement Key FieldIn <47eacg$...@dsm6.dsmnet.com> "David W. Body" <davidb...@dsmnet.com> writes: Quote
distributed with Delphi resorts to this method. Using an autoincrement field is only asking for trouble. My understaing is that if you rebuild the file you may run into all sorts of problems. Just read the thread on this in this group. Ben |
Sundial Servic
![]() Delphi Developer |
Fri, 24 Apr 1998 03:00:00 GMT
Re:Paradox Autoincrement Key FieldQuoteIn article <47hr60$...@status.gen.nz> w...@iconz.co.nz (Wade Auchterlonie) writes: specify the starting number for an autoincrement field in the next release, and I'm sure that several other problems will be fixed as well. |
Mike Fris
![]() Delphi Developer |
Fri, 24 Apr 1998 03:00:00 GMT
Re:Paradox Autoincrement Key FieldQuoteArrow (arr...@ix.netcom.com) wrote: : rebuild the file you may run into all sorts of problems. Just read the : thread on this in this group. After discovering this problem quite recently, we resorted to Mike. -- |
degreeAbsolu
![]() Delphi Developer |
Sat, 25 Apr 1998 03:00:00 GMT
Re:Paradox Autoincrement Key FieldQuotesund...@primenet.com (Sundial Services) wrote: convert a field from an integer to an auto-inc, or vice-versa? degreeAbsolute |
1. Paradox Autoincrement Fields Cause Key Violation -- Help!
2. Key violation when append with autoincrement key field.
3. Key Violation with Paradox Autoincrement
4. Key violation with Paradox autoincrement
5. Q: Paradox, keys and autoincrement
6. KEY VIOLATION on AUTOINCREMENT field ?!?
7. Is there a problem using Autoincrement fields as a primary key
8. Paradox Key Violation - changing a keyed field