PROFESSIONAL NEWSGROUPS
WINDEV
,
WEBDEV
and
WINDEV Mobile
Home
|
Recent messages
|
Connect
|
Sign out
|
English
Home
→
WINDEV 2024
→
[7.5ju] Duplicate cleunik - 0
[7.5ju] Duplicate cleunik - 0
Started by Gill, Jan., 28 2004 2:50 PM - 2 replies
Connect yourself…
Gill
#1
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
Report
0
0
Christoph Erdmann
#2
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
Report
0
0
Peter Purton
#3
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
Report
0
0
→ Go back to WINDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (earlier versions)
Français
English
Español
Portuguesa
Close this window
Search type
Only topics
All the messages
Search period
Any time
Past hour
Past 24 hours
Past week
Past month
Past year
Cancel
Preview of your message
Adding an image
Import an image from a URL
Send an image from a file of your disk
Drop a file or click "Browse..."
or
Cancel
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Text