Error Numbers

Greg Olson-Hyde greg at hawkmount.com
Fri Sep 11 17:50:47 CDT 2009


On 11/09/2009, at 4:28 PM, Ivan Smahin wrote:

> SHOW VERRORS

The reason I am asking is that in my old SQLite I have this code:

	If App.EnglishDB.ErrorCode = 19 Then          //19 = New Country is  
not UNIQUE
	MsgBox "You already have the Country '" + pvCountryName + "'."

This is used to trap for a new record not being unique on insert - I  
am trying to reproduce this in Valentina, so I need to know the code  
for 'not unique'.

Or is there a better way?

Cheers

Greg Olson-Hyde
Sydney Australia

2.8 GHz Quad-Core Mac Pro
Mac OS X 10.5.8
RB 2009 r2.1 Pro
Valentina Studio Pro 4.2 trial



More information about the Valentina mailing list