Solved

VB6 DataGrid

Posted on 2007-11-14
2
861 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Specify ip address in my connection string for sas 2 65
VB error "Type mismatch" 2 60
MsgBox 4 68
Powerpoint 2013: Change cell reference in excel link 3 80
Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

856 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