RSS Feed
Download our iPhone app
Browse DevX
Sign up for e-mail newsletters from DevX

By submitting your information, you agree that devx.com may send you DevX offers via email, phone and text message, as well as email offers about other products and services that DevX believes may be of interest to you. DevX will process your information in accordance with the Quinstreet Privacy Policy.

Tip of the Day
Language: ADO
Expertise: Beginner
Oct 14, 1999



Building the Right Environment to Support AI, Machine Learning and Deep Learning

ADO Data Control

I hope that you might be able to help me with the problem I am experiencing. I am developing an application in VB6 using ADO Data Control. I need to set the EditMode Recordset property, which is read only, to EditInProgress. This is normally done by .Edit method, but the ADO Recordset is missing this method and none of the others available seem to do the trick. How can I set EditMode to EditInProgres?

When you say that you use the .Edit method to place a recordset in edit mode, I think you are referring to DAO. The ADO objects have been simplified so that the Edit method is not needed. By changing a value you automatically place the recordset in edit mode.

The trick now is that you must have an updatable recordset in order to change a value. For this, several variables need to be set on the recordset. CursorType can not be Forward only and LockType can not be read only.

DevX Pro
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.



Thanks for your registration, follow us on our social networks to keep up-to-date