PC SOFT

PROFESSIONAL NEWSGROUPS
WINDEVWEBDEV and WINDEV Mobile

Home → WINDEV 2024 → [7.5ju] Duplicate cleunik - 0
[7.5ju] Duplicate cleunik - 0
Started by Gill, Jan., 28 2004 2:50 PM - 2 replies
Posted on January, 28 2004 - 2:50 PM
Hi
I've just added some records through programming into a query and all is fine, works like a charm.
When I then manually add some records I get a duplicate error on the unique key in the file - at 0. So change the number to one known not to exist and get the same error.
Perplexed.
Gill
Posted on January, 28 2004 - 5:11 PM
Have a look to the composite key. [WD 7.5] makes a unique key automatic and you must change it maybe. On [5.5] it was not so.
Christoph
Posted on January, 29 2004 - 12:46 AM
Hi Gill
First off I would use WDMAP to see actually what has
Been created.
You say you are adding records through Programming ?
I assume you are using HADD which should automatically
Increment an "Automatic Identifier"
OOps sorry just read that you are using a Query to Update
Irrespective an "Automatic Identifier" should never have a
Null value.
Have a look at your Analysis, have you deleted any file links ?
Keep well
Peter
Hi
I've just added some records through programming into a query and all is fine, works like a charm.
When I then manually add some records I get a duplicate error on the unique key in the file - at 0. So change the number to one known not to exist and get the same error.
Perplexed.
Gill