Solved

VB6 DataGrid

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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Suggested Solutions

Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
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…

815 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

8 Experts available now in Live!

Get 1:1 Help Now