Link to home
Start Free TrialLog in
Avatar of Pearl_export_ben
Pearl_export_benFlag for United Kingdom of Great Britain and Northern Ireland

asked on

SQL2000 VBS Select

Hi Guys,

Server = windows 2000 Server.  
DNS Name = SQL3.Worknet.company.int
SQL = SQL 2000 Server
Database = CM

I need the VBS Code that will connect to the database's TblStaff_A table, select all Forenames and Surnames and give a popup message with the names (message box)

500 (Hopefully) easy ones :)
Avatar of RiteshShah
RiteshShah
Flag of India image

Avatar of Pearl_export_ben

ASKER

Nah - i need a sample script to put into a vbs file... very long story as to why, but to cut it short - i needs it to be this way as its part of something bigger
Avatar of Guy Hengel [angelIII / a3]
1 single pop up message with the data of those 2 columns for ALL the rows at once?
or
1 pop up message for each row, ie popping up all the time until all rows have been processed?

anyhow, what exactly is the code problem?
what can you do already? (note that EE is not a rent-a-coder site)
1 popup for each result returned...

I just need a framework which i can add my code into
I see. anyhow, I have to repeat:

anyhow, what exactly is the code problem?
what can you do already? (note that EE is not a rent-a-coder site)
The exact problem is that I need to extract some data from a table on an SQL server, manipulate it and then stick it into a different data form.

I have managed to code the part that will manipulate stuff once its into a variable and then put it up into the spreadsheets and documents and such like.. its just getting the data from the sql server to begin with I can't do.  I've been working on it for 3 days, but SQL isn't really my area at all
ASKER CERTIFIED SOLUTION
Avatar of Guy Hengel [angelIII / a3]
Guy Hengel [angelIII / a3]
Flag of Luxembourg image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Fantastic Answer - Thankyou :)