Posted by WAllison on December 01, 2001 at 19:20:23: In Reply to: Preventing Duplicate Records in Delphi posted by Lisa Whyte on September 21, 2001 at 19:06:03: : Is there a way to prevent duplicate records in Delphi while using tables? Thanks for your help :) TTable function FindKey(const KeyValues: array of const): Boolean; (success = true) Use this to check whether or not the key(s) already exist. Obviously if it does then its gonna be a duplicate record (do this before post).
|