Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default sql.request for secured Access Database record retrieval

I am using SQL.request to retrieve records from a secured
Access database into an Excel worksheet. It works great on
a non-secured copy of the database. Doesn't work on
secured database.

This is formula used in an array:
=SQL.REQUEST($A$4,,2,$A$5)
where
A4 = DSN=FM2;DBQ=\\GNAFP1\Anyone\FM\FM-old.mdb
A5 = SELECT ({list of fields})FROM {table name}WHERE
({Field Name}='{Criteria}') order by {field Name} desc

I set up the DSN (FM2) and it works with the non secured
copy but not the secured copy. DSN contains DB Name with
ID & password to system file. I'm don't think I need
the DBQ info (since DB name & path are part of DSN)?

I appreciate any help!



Reply
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
Unique Record retrieval. Aligahk06 Excel Discussion (Misc queries) 2 September 16th 09 11:41 AM
Update Excel Database via Access Main Database with a script Finnbar New Users to Excel 2 November 3rd 08 07:24 PM
How to open a secured Access db from Excel erick-flores Excel Discussion (Misc queries) 8 March 19th 08 06:51 PM
Get Data from a secured Access database erick-flores Excel Discussion (Misc queries) 2 November 16th 06 05:31 PM
Help: pivot chart data in secured Access database wont show fields A C Charts and Charting in Excel 0 January 25th 06 01:28 AM


All times are GMT +1. The time now is 06:31 PM.

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

About Us

"It's about Microsoft Excel"