Multiple step operation generated error

85 pts.
Tags:
Visual Basic
Visual Basic 6
Visual FoxPro
Visual FoxPro 9
How can i get through with this error,, multiple set operation generated error. Check each status value.. im using data Environment for the data source,,i would like to add new data un a table in the visual foxpro 9,,connected by the data environment,,but this error occur before the update command,,i search all over the net and i can't find the solution,,

here are the codes,,

 

 DatEnv1.rstable.open

With DatEnv1.rstable                 .AddNew                 !header = header + 1               'autonumber                 !code = txtcode.Text                 !Title = txttitle.Text                 !CurAmt = nCurAmt           'computed variable                 !CurPer = nCurPer                 !PrvAmt = nPrvAmt                 !PrvPer = nPrvPer                 !MonAmt = nMonAmt                 !MonPer = nMonPer                 .Update                            'this is the error,,dont know why                 .Requery             End With             DatEnv1.rstable.MoveNext             DatEnv1.rstable.Close

 

nEeD hELp hEre !!!,, tHnx

Answer Wiki

Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following