Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Community » Newbie corner » SQL : how to prevent duplicates ?
Re: SQL : how to prevent duplicates ? [message #42399 is a reply to message #42377] Tue, 11 March 2014 15:08 Go to previous messageGo to previous message
jibe is currently offline  jibe
Messages: 294
Registered: February 2007
Location: France
Experienced Member
I still have a problem : how can I display a message box when someone is trying to create or modify a record that has a duplicated data on a unique index ?

I tried what is explained in this doc, but sql.IsError() does not (no more ?) exists...

I tried with sql.GetErrorCode(), but the error code is always 0 ! However, the error is written to the log.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Problem when growing a vector
Next Topic: Testscatter2 issue
Goto Forum:
  


Current Time: Fri May 10 17:30:38 CEST 2024

Total time taken to generate the page: 0.02624 seconds