Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DataGrid question...
Message
General information
Forum:
Visual Basic
Category:
ActiveX controls
Miscellaneous
Thread ID:
00625054
Message ID:
00625524
Views:
9
This message has been marked as a message which has helped to the initial question of the thread.
I am guilty!!! See this article http://support.microsoft.com/default.aspx?scid=kb;en-us;Q223771


>Hi again...
>
>When I loop through my recordset, I get an error... Here's my code :
>
>
>Set oRecordset = New ADODB.Recordset
>oRecordset.ActiveConnection = oConnection
>oRecordset.CursorType = adOpenDynamic
>oRecordset.CursorLocation = adUseClient
>oRecordset.LockType = adLockOptimistic
>oRecordset.Source = "select *,'' as ResFonction FROM client"
>oRecordset.Open
>
>For I = 1 To oRecordset.RecordCount
> oRecordset.Fields("ResFonction").Value = MaFonction(oRecordset.Fields("ChampDeRequete").Value)
> oRecordset.Update
> oRecordset.MoveNext
>Next I
>
>
>
>When I do this, I get the following error : Multiple-step operation generated errors. Check each status value.
>
>I checked for that error in MSKB and I updated to MDAC 2.7... I still have the same problem...
>
>Any idea ??
>
>Thanks again for your help :)
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc.
http://www.emoreau.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform