MarkH
lists at theopg.com
Mon Jan 19 18:38:13 CST 2004
Sorry for drifting off topic, but... How do you find the grid control? I used it a couple of years ago for a one off project. I later used a free copy off a mag cd and found it crashed so I gave up, can't remember what the problem was as I was only playing. The first time I used it, it was great. Is it still buggy? Mark -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Christopher Hawkins Sent: 20 January 2004 00:20 To: accessd at databaseadvisors.com Subject: [AccessD] NEVER MIND: 'Duplicate values' error in Access - what number isit?!? I'm an idiot...the very next thing I tried after sending my message got me what I wanted. FYI, here's what I did (the error was happening when a JanusGrid component was being updated): Private Sub grdMain_Error(ByVal ErrNumber As Long, ByVal DisplayMessage As Object) If ErrNumber = -2147217887 Then MsgBox "Got it!" Else MsgBox "Try again..." End If End Sub -Christopher- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com