Solved

INFORMIX Database and VB5 Question

Posted on 1998-11-04
4
249 Views
Last Modified: 2012-05-05
Hi everyone!

I wish i can seek some help from you guys. I have a project which I developed in VB5 with INFORMIX as a backend Database, I just want to know whats the reason why it execute a query "VERY SLOW".  
  I am using INFORMIX Data Director for VB5 to connect to INFORMIX database.  
  I run the same program using a MS Access Database and it run FAST as I expected.

WHAT can I do to resolve this query problem, I need your help guys this project is very URGENT.

thanks in advance!


0
Comment
Question by:bmaranan
  • 3
4 Comments
 
LVL 1

Expert Comment

by:csalves
ID: 1443220
Hello,

Please try to execute your query passthrough and please verify your informix database indexes.

You can post the query and your table or tables and the indexes in use and i will try to help you

regards,
0
 

Author Comment

by:bmaranan
ID: 1443221
hi csalves,

how can i execute a passtrhrough query?


0
 
LVL 1

Expert Comment

by:csalves
ID: 1443222
Dim rs as recordset
dim sSQL as String

sSQL = "SELECT [Fields] FROM [table] ";

set rs = YourDB.OpenRecordset(sSQl,DbopenDynaset,dbsqlpassthrough)

The data contained in a passthrough query is read-only. after
you have to make dml operations with another instruction.

regards,
0
 
LVL 1

Accepted Solution

by:
csalves earned 50 total points
ID: 1443223
Dim rs as recordset
dim sSQL as String

sSQL = "SELECT [Fields] FROM [table] ";

set rs = YourDB.OpenRecordset(sSQl,DbopenDynaset,dbsqlpassthrough)

The data contained in a passthrough query is read-only. after
you have to make dml operations with another instruction.

regards,

0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say 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
MsgBox 2 59
message box in access 4 51
How to measure sizes and angles in scanned images ? 3 74
converting visio 2010 to powerpoint 2010  - formatting issues 5 92
The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…

792 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