www.Inmagic.com    Inmagic Forums    Inmagic Forums  Hop To Forum Categories  Scripting    Error object
Go
New
Find
Notify
Tools
Reply
  
-star Rating Rate It!  Login/Join 
Posted
I want to know witch operation (when manipulate a recordset) can put information in the error object ?
I know for Open
rsGrpEmp.Open("Find");
if (rsGrpEmp.Errors.Count > 0)
...
but for the rest ?
MoveFirst(),MoveNext(), Update() ... ?

thx
 
Posts: 13 | Location: Crolles, France | Registered: Tue July 23 2002Reply With QuoteEdit or Delete MessageReport This Post
Posted Hide Post
Operations like the following populate the Error object:

nrs.Fields.Item("fieldname").Value = "string"

Update() clears the error count before doing the update, but it will populate the Error object.

So, if you want to check for validation errors, etc. on an individual field, you need to do so after setting each value.

I don't now about MoveFirst() and MoveNext().
 
Posts: 1897 | Location: Woburn, MA, USA | Registered: Thu July 13 2000Reply With QuoteEdit or Delete MessageReport This Post
 Previous Topic | Next Topic powered by eve community  
 

www.Inmagic.com    Inmagic Forums    Inmagic Forums  Hop To Forum Categories  Scripting    Error object