?
Solved

VB6 DataGrid

Posted on 2007-11-14
2
Medium Priority
?
883 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 48

Assisted Solution

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

Accepted Solution

by:
JohnBPrice earned 375 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

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…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
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…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Suggested Courses

770 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