Solved

VB6 DataGrid

Posted on 2007-11-14
2
847 Views
Last Modified: 2013-12-26
Hi,
I am using VB6 with SQL Server.
I have the following error "The rowset is not bookmarkable." when I try to set the datagrid's datasource, and the recordset that I am using has the cursor location set to use server and the cursor type is dynamic and the lock is optimistic, what could the problem be ?
I have not tried the datagrid before so I please give some examples if possible.
Thanks,
0
Comment
Question by:to_vkarthi
2 Comments
 
LVL 48

Assisted Solution

by:jpaulino
jpaulino earned 75 total points
ID: 20281902
0
 
LVL 16

Accepted Solution

by:
JohnBPrice earned 125 total points
ID: 20319973
Open it as static instead of dynamic.  Also make sure you have a primary key on your table and that your query is indeed updatable, else open it read only and disable add/edit/delete in the grid.
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now