snakeyes2002
Registered User.
- Local time
- Today, 00:46
- Joined
- Mar 21, 2005
- Messages
- 22
hope someone is there that can provide me with an answer
at work, I am now responsible for developing 'live' reports in Microsoft Excel from the data in a commercial database system that uses SQL Server
The first step I done was to create a Microsoft Access Database that links to EVERY table in SQL Server (over 200) - i don't need all of them - its just the result i got when i coded how to relink all tables at startup of the database.
Anyway, in Microsoft Excel 2002, I have coded a complex pack of reports that:
1) Use DAO (i know - old stuff, but i know it better that ADO) to open my database
2) Create specific queries (concancenation(did I spell that right?) of user criteria in an excel userform.
3) Execute these queries
4) For each field in each record move and place each fields value in a respective cell (took me AGES to work this out)
5) Do a lot of formatting with the data in Excel to provide a customised and filtered report.
All the code, queries and connections work correctly, however, I am (the user) prompted with SQL Server Login Dialog every time I execute a query. In some instances I am prompted 12 times in a short time (12 different queries)
How do i suppress this dialog, or make it appear only once?
at work, I am now responsible for developing 'live' reports in Microsoft Excel from the data in a commercial database system that uses SQL Server
The first step I done was to create a Microsoft Access Database that links to EVERY table in SQL Server (over 200) - i don't need all of them - its just the result i got when i coded how to relink all tables at startup of the database.
Anyway, in Microsoft Excel 2002, I have coded a complex pack of reports that:
1) Use DAO (i know - old stuff, but i know it better that ADO) to open my database
2) Create specific queries (concancenation(did I spell that right?) of user criteria in an excel userform.
3) Execute these queries
4) For each field in each record move and place each fields value in a respective cell (took me AGES to work this out)
5) Do a lot of formatting with the data in Excel to provide a customised and filtered report.
All the code, queries and connections work correctly, however, I am (the user) prompted with SQL Server Login Dialog every time I execute a query. In some instances I am prompted 12 times in a short time (12 different queries)
How do i suppress this dialog, or make it appear only once?