LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default VBA Query again Informix database

Hi,
Our users enter a list of catalog numbers and indicators in the
spreadsheet on column A and B. I need to loop through each row and
query each pair of catalog numbers and indicators against an Informix
table to verify that these values exist (i.e., the user didn't
accidentally enter some wrong values).

The SQL will be something like this:
select count(*) from books where cat_number = ? and indicator = ?;

If the SQL returns a row, then the cell values are valid.

I'm new to VBA so I can write simple stuff but I am too familiar with
the ADO model.
Any assistance is much appreciated.
Thanks.

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
database query not showing foxpro database How I import data mangat New Users to Excel 1 June 24th 07 03:31 PM
Anyone Else Use Database Query to Query Another Sheet in the Same Excel Workbook? jocke Excel Discussion (Misc queries) 1 November 29th 05 01:44 PM
Anyone Else Use Database Query to Query Another Sheet in the Same Excel Workbook? jocke Excel Discussion (Misc queries) 0 November 28th 05 06:37 PM
How to connect to Informix database using ADO??? Mlaky[_2_] Excel Programming 2 February 12th 04 08:56 AM
File from an Informix database to import into Excel Dave Peterson[_3_] Excel Programming 0 August 23rd 03 04:19 AM


All times are GMT +1. The time now is 05:37 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"