PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → [7.5ju] Duplicate cleunik - 0
[7.5ju] Duplicate cleunik - 0
Iniciado por gill, 28,ene. 2004 14:50 - 2 respuestas
Publicado el 28,enero 2004 - 14:50
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
Publicado el 28,enero 2004 - 17:11
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
Publicado el 29,enero 2004 - 00:46
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