I am using ODBC 4.51 and mySQL 4.0.1-NT. I have an app that is written in
vb6 with msAccess 2000 that was converted to mySQL. Everything is working
great except for one thing.
I have a grid of information (using TrueGrid v7) and I need the grid to
update with the newest data.
In msAccess (ADO) I used the adUseServer Cursor / Dynamic Recordset and then
all I had to do was do a tdbgrid1.refresh to get the latest data.
Everything was working just as I wanted.
In mySQL(ADO) when I use the adUseServer, I get no data returned to the
grid, and if I debug the data, it is there, but it doesn't refresh (in the
debug window). Changing to adUseClient puts the data in the grid, but
obviously doesn't refresh either.
The grid will have varying number of records depending on the query, but in
general it will have a couple of hundred records (with about 30 showing at
one time). What I need to be able to do, as an example, is to page down so
that records 60-90 are showing and refresh any new data that is coming in
without moving grid. I can do this programmatically, but was wondering if
anyone knew away around this. It worked perfectly with the msAccess engine.
BTW the options I have on the ODBC are 18475 2 2506
Sorry ODBC 3.51
"David Codding" <dc******@saicorporate.com> wrote in message
news:10*************@corp.supernews.com... I am using ODBC 4.51 and mySQL 4.0.1-NT. I have an app that is written
in vb6 with msAccess 2000 that was converted to mySQL. Everything is working great except for one thing.
I have a grid of information (using TrueGrid v7) and I need the grid to update with the newest data.
In msAccess (ADO) I used the adUseServer Cursor / Dynamic Recordset and
then all I had to do was do a tdbgrid1.refresh to get the latest data. Everything was working just as I wanted.
In mySQL(ADO) when I use the adUseServer, I get no data returned to the grid, and if I debug the data, it is there, but it doesn't refresh (in the debug window). Changing to adUseClient puts the data in the grid, but obviously doesn't refresh either.
The grid will have varying number of records depending on the query, but
in general it will have a couple of hundred records (with about 30 showing
at one time). What I need to be able to do, as an example, is to page down
so that records 60-90 are showing and refresh any new data that is coming in without moving grid. I can do this programmatically, but was wondering
if anyone knew away around this. It worked perfectly with the msAccess
engine. BTW the options I have on the ODBC are 18475
Sorry ODBC 3.51
"David Codding" <dc******@saicorporate.com> wrote in message
news:10*************@corp.supernews.com... I am using ODBC 4.51 and mySQL 4.0.1-NT. I have an app that is written
in vb6 with msAccess 2000 that was converted to mySQL. Everything is working great except for one thing.
I have a grid of information (using TrueGrid v7) and I need the grid to update with the newest data.
In msAccess (ADO) I used the adUseServer Cursor / Dynamic Recordset and
then all I had to do was do a tdbgrid1.refresh to get the latest data. Everything was working just as I wanted.
In mySQL(ADO) when I use the adUseServer, I get no data returned to the grid, and if I debug the data, it is there, but it doesn't refresh (in the debug window). Changing to adUseClient puts the data in the grid, but obviously doesn't refresh either.
The grid will have varying number of records depending on the query, but
in general it will have a couple of hundred records (with about 30 showing
at one time). What I need to be able to do, as an example, is to page down
so that records 60-90 are showing and refresh any new data that is coming in without moving grid. I can do this programmatically, but was wondering
if anyone knew away around this. It worked perfectly with the msAccess
engine. BTW the options I have on the ODBC are 18475
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Chris |
last post by:
Hello,
I posted a while back about a newbie database question and got a
lot of great help here. My script that I am creating has come a long way
(For me!) and almost does what I need it too. I...
|
by: Fatt Shin |
last post by:
Hi,
I'm running MySQL 4.0.13, connecting from PowerBuilder 9 using ODCB
Connector 3.51.
I'm facing a problem where whenever I issue a SELECT COUNT(*) statement
from PowerBuilder, I always get SQL...
|
by: DJJ |
last post by:
I am using the MySQL ODBC 3.51 driver to link three relatively small MySQL
tables to a Microsoft Access 2003 database. I am finding that the data from
the MySQL tables takes a hell of a long time...
|
by: zaphod |
last post by:
Using MySQL Connector/ODBC 3.51, I set the port to a non-default value
(3309), under 'Connection Options' to connect to a remote machine running 2
versions of MySQL. 'Test' is successful but when I...
|
by: Eric E |
last post by:
Two questions regarding ODBC.
1) I am connecting to a MySQL database using the following code:
Function LoginToMySQL(sUsername As String, sPW As String) As Boolean
Dim dbMySQL As Database
Dim...
| |
by: Travis |
last post by:
I am trying to display a query like this in my windows form:
SELECT workordernumber, date, firstname, lastname FROM customer_db;
I am using a rich text box to display the data but it only...
|
by: Maileen |
last post by:
Hi,
I'm writing a VC++.net 2005 application and i would like to use the ODBC
connector.
I would like to allow user to choose the DB he wants to have (MS SQL,
PostgreSQl, MySQL, Oracle,...) by...
|
by: Josema |
last post by:
Good Day to everyone.. please help me how to connect to MYSQL 5.0. I am using
the connection string.
I installed the ODBC MySQL Connector/ODBC v5.
my connecstring
------------------...
|
by: Mogens |
last post by:
My webhotel has tonight without warning blocked for all access to the
MySQL databases via odbc connector. This is a major problem because all
my routines such as packing lists and invoices that I...
|
by: dlitty |
last post by:
I'm new to MySql and have just installed it on my local machine. I've installed it on the "I" drive and everything went ok. Then I downloaded the MySql connector 3.51.12. It's setup file is on...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
| |
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...
| |