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.refres h 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 programmaticall y, 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 2650
Sorry ODBC 3.51
"David Codding" <dc******@saico rporate.com> wrote in message
news:10******** *****@corp.supe rnews.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.refres h 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 programmaticall y, 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******@saico rporate.com> wrote in message
news:10******** *****@corp.supe rnews.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.refres h 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 programmaticall y, 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 am basicly using a
dictionary to update a access database using an odbc connector. I am able
to connect and it seems that I am able to loop through the code to update
all the rows I need to. The one weird bug I seem to get is what ever is the...
|
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 syntax error back from MySQL. (Refer
to ODBC Trace I captured below).
metrohouse af8-b94 ENTER SQLExecDirect
HSTMT 014D2360
UCHAR * 0x020A0EA2 "select count ( *) from code
|
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 to load making any kind linkage
with my Access data virtually useless.
I have the MySQL driver setup in as a USER DSN. The MySQL data is sitting
out on a server and the Access database is running locally. The network
connection is very...
|
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 close the Connector/ODBC
window on XP the port setting is not saved so the DSN doesn't work.
Garry
|
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 cnMySQL As DAO.Connection
Dim sDSN As String
sDSN = "ODBC;DRIVER={MySQL ODBC 3.51 Driver};" _
& "SERVER=127.0.0.1;" _
| |
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 displays ONE
record in the rich text box. How do you display all the found records.
I am using the System.Data.Odbc;
it is quite easy to use, but I cannot figure out how to display large
|
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 choosing the write ODBC driver.
After that, i want to create a system DSN with information enter by user.
But how can i do that ?
|
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
------------------
dbcon.ConnectionString = "DRIVER={MySQL ODBC 5.0 Driver};" _
& "SERVER=" & servername & _
";DATABASE=" & dbname & _
|
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 send on a daily
basis to my suppliers are made in MS-access. So I use MS-Access as a
frontend tied up to MySQL via MySQL odbc connector 3.51.
I would therefore greatly appreciate any advise on how to handle this
issue. What I might have in mind...
|
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 "I" also. When I run the setup it doesn't give me a path for installation and I can't specify one. When trying to configure it using ODBC data source administrator, I get an error saying access is denied for user ODBC (the default). Do I need to...
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
| |
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
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 we have to send another system
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |