Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

INFORMIX Database and VB5 Question

Posted on 1998-11-04
4
Medium Priority
?
268 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
[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
  • 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 150 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: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying 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

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses

610 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