-
WSkriss669
AskWoody LoungerI think this is normal for mail merges. In older versions of Office, you may recall that the permission dialog let you set a time, e.g., 5 minutes, during which you would not be prompted again for access by the same program. Is that still an option in Outlook 2007? Or is it not working?
Theoretically, it is an option; however, selecting 10 minutes has no effect and even if it did, the utility is so slow that it would still be useless.
-
WSkriss669
AskWoody LoungerWe still have a Microsoft Outlook forum, but it’s now in the Internet/Connectivity section.
About your question: see View my options and settings in the Trust Center – Outlook – Microsoft Office Online.
Hi Hans:
I’m lost in Woody’s new Lounge setup – need to create a post, don’t see a way to do so, so I’m emailing you directly.
I have been transferred to Office 2007 (not by choice) and need to automate some emails. Rather than re-writing my old Access 2002 VBA code for 2007, I tried using the mailmerge utility, but keep getting the security warning each time Office creates a new email item, despite setting security options to the lowest setting and enable macros on. Any way to disable this annoying security feature, either using vba/automation or???
Please adviseE-mail me.
Thanks!
-
WSkriss669
AskWoody LoungerAugust 18, 2009 at 11:31 am in reply to: Conditionally format table cells when field result = 0 #1173915Thanks, Hans! I knew you would know.
-
WSkriss669
AskWoody LoungerI’ve re-linked the back-end tables using Trusted Connection, which according to the “help” means that SQL Server will use integrated login security and a password isn’t required. However, it only works on my PC, where I can logon to my app user her Access account and then click the “use trusted connection” check box and all the data is available. But when I move the client to her PC and login using her Access account, the same error messages appear. (But I can logon to the client using my login on her PC, and everything works fine.)
I don’t see anything in the Linked Table Manager Options to save a password, but apparently, that isn’t needed except for SQL Server authentication.
I’m almost getting desperate enough to give her my password!
Please help if you can.
Thank you,
-
WSkriss669
AskWoody LoungerThere is only one DSN file. It is on the network.
-
WSkriss669
AskWoody LoungerThanks for the tip, but I’m not using Oracle, but SQL Server.
-
WSkriss669
AskWoody LoungerThank you for responding.
I would like to make the whole situation as transparent as possible for the user so she doesn’t have to login to SQL Server, just to my Access application.
My Access application is secured and will shut down if the admin user tries to open it. Since none of the folks around here are particularly computer savvy, that is sufficient security. What I’m trying to do is to get the DSN written in such a way that when the Access client is installed on different client PCs and different users log in, SQL server won’t choke and ask for a login, either for authentication or for table/view permissions, but will just use my authentication and permissions from the file DSN and linked tables (which are linked using the same file DSN and ODBC).Hope this clarifies the situation.
-
WSkriss669
AskWoody LoungerThank you, Hans.
I just had to dig a little deeper in the thread. The error handler looping through Ne numbers worked once I got rid of the second on error goto statement, which Excel 2003 ignored even though I had set my options to break in class modules. Using this methodology, I did not require the API code.
I turned it into a little function, which works great:
Function fnSetAdobePrinter() As Boolean
Dim strNE As String, blnWrongNe As Boolean, i As Integer
DoCmd.SetWarnings False
On Error GoTo err_fnSetAdobePrinter
Application.ActivePrinter = “Adobe PDF on Ne00:”
If blnWrongNe = -1 Then
blnWrongNe = 0
For i = 1 To 99
If i < 10 Then
strNE = "Ne0"
Else
strNE = "Ne"
End If
Application.ActivePrinter = "Adobe PDF on " & strNE & i & ":"
If Not blnWrongNe Then
fnSetAdobePrinter = -1
Exit Function
End If
blnWrongNe = 0
Next i
End If
err_fnSetAdobePrinter:
blnWrongNe = -1
Err.Clear
Resume Next
End FunctionAppreciate your help!
-
WSkriss669
AskWoody LoungerThank you, but no, I tried that. I can return the printers collection, but it doesn’t give me the pesky NE number.
-
WSkriss669
AskWoody LoungerThe syntax is easy:
First, you create a synonym:
USE localdatabasename
GO
CREATE SYNONYM nameit FOR remotedatabasename.dbo.tablename
GOAnd then, you can query it:
SELECT * FROM localtable INNER JOIN nameit ON localtable.Keyfield = nameit.Keyfield;
I did a little testing and found out that to access the above from an Access client, you must write a passthrough query. The SQL Server 2005 synonym and any queries based on it are not visible in the ODBC DSN from Access. In SQL Server 2005, the synonyms are visible in the Synonyms folder. In order to save views based on them, you have to right-click the Views folder, select New View, and then select the synonyms from the synonyms tab to drop them into the query grid.
This ran really fast from my Access .mdb client. I was even able to link the pass-through query to a local .mdb table, and it still ran really fast.
Has anyone used this functionality as a basis for an application? I might give it a try . . .
-
WSkriss669
AskWoody LoungerRight. So, in code, you would use IF EXISTS etc. But you can also browse the Synonyms folder.
-
WSkriss669
AskWoody LoungerYou only have to create the synonym once. It persists unless you DROP it in the local SQL Server database. (DROP SYNONYM nameit)
It will show up in the Synonyms folder once you have created it, but only after closing and reopening SSMS for some reason.I think one of the advantages to this technique is that you don’t have to write fully qualified names all the time, just once in the synonym creation. You can use the synonyms in code. Another is that if, say, your systems guy decided to move your target database to a different server, you could just drop the synonym and create another one that included the remote server, and it would be transparent to all your queries. (Of course, your systems guy would never do such a thing . . .)
The syntax for joining tables from different servers is:
CREATE SYNONYM nameit FOR RemoteServerName.DatabaseName.schema_name.Tablename
-
WSkriss669
AskWoody LoungerHi Mark:
Thank you for responding.
I understand about using passthrough queries and linking back-end tables to the client via ODBC. My question concerns whether performance would be faster if I import some tables from a different (commercial) database into the backend so I can establish PK/FK relationships to my custom tables, or whether I could save some space on the server by linking the back-end tables between two different SQL Server databases.
I understand that I can create synonyms to access remote database tables on SQL Server 2005 and query on them as if they were local tables in the current SQL Server database. However, I don’t see a way to select them using an ODBC DSN from the Access client, as they don’t show up as views. (I don’t see a way to save these queries as views in SSMS, and the Synonyms don’t show up in the DSN table list.) So, I was wondering if distributed queries using OLE DB would work. However, I am unsure if either approach would create a major performance hit, especially via ODBC connections to the client, since PK/FK relationships would not be possible on the tables, just in the query joins.
Do you know how SQL Server processes queries joining tables from different databases? And, do you know if one could write either regular remote Access queries or passthrough queries that use such joined tables that could be used from an Access .mdb client, and if so, how to do so and what the performance hit would be?
-
WSkriss669
AskWoody LoungerThanks, Wendell.
I have ordered Chipman’s and Harkins & Reid’s books, also Dobson’s Professional SQL Server Development with Access 2000 – I guess I’ll have to wade through all 2500 pages, although Dobson just talks about ADPs, which I understand are not very robust. I’m also trying to buy a DVD of Mary Chipman’s and Armen Stein’s TechEd 2008 session, DAT303 – SQL Server Data Solutions Using Access. What I was really hoping for is an SQL Server 2005 course for Access developers.
It seems to me that there must be a huge niche market for training in this area, considering the popularity of MS Access for RAD and the increasing need to upgrade these apps to SQL Server . . . any entrepreneurs out there?
-
WSkriss669
AskWoody LoungerThanks, Wendell.
re: “referential integrity in Access gets mapped to triggers in SQL rather then using the inherent DRI feature of SQL Server” may I ask the dangerous “why?” question? And what should I do about it? Is it possible to disable this feature of the upsizing wizard?
I did watch the video of the TechEd panel discussion and thank you for the link. Where can I get more technical information about issues in upsizing from Access 2003 to SQL Server 2005? The books I’ve found talk about earlier versions, and I have searched for a training course or video on upsizing from Access to SQL Server in vain.
Thank you for your help.
![]() |
Patch reliability is unclear, but widespread attacks make patching prudent. Go ahead and patch, but watch out for potential problems. |
SIGN IN | Not a member? | REGISTER | PLUS MEMBERSHIP |

Plus Membership
Donations from Plus members keep this site going. You can identify the people who support AskWoody by the Plus badge on their avatars.
AskWoody Plus members not only get access to all of the contents of this site -- including Susan Bradley's frequently updated Patch Watch listing -- they also receive weekly AskWoody Plus Newsletters (formerly Windows Secrets Newsletter) and AskWoody Plus Alerts, emails when there are important breaking developments.
Get Plus!
Welcome to our unique respite from the madness.
It's easy to post questions about Windows 11, Windows 10, Win8.1, Win7, Surface, Office, or browse through our Forums. Post anonymously or register for greater privileges. Keep it civil, please: Decorous Lounge rules strictly enforced. Questions? Contact Customer Support.
Search Newsletters
Search Forums
View the Forum
Search for Topics
Recent Topics
-
Red x next to folder on OneDrive iPadOS
by
dmt_3904
43 minutes ago -
Are manuals extinct?
by
Susan Bradley
24 minutes ago -
Canonical ditching Sudo for Rust Sudo -rs starting with Ubuntu
by
Alex5723
9 hours, 51 minutes ago -
Network Issue
by
Casey H
1 hour, 54 minutes ago -
Fedora Linux is now an official WSL distro
by
Alex5723
21 hours, 50 minutes ago -
May 2025 Office non-Security updates
by
PKCano
22 hours, 16 minutes ago -
Windows 10 filehistory including onedrive folder
by
Steve Bondy
1 day ago -
pages print on restart (Win 11 23H2)
by
cyraxote
1 hour, 4 minutes ago -
Windows 11 Insider Preview build 26200.5581 released to DEV
by
joep517
1 day, 2 hours ago -
Windows 11 Insider Preview build 26120.3950 (24H2) released to BETA
by
joep517
1 day, 2 hours ago -
Proton to drop prices after ruling against “Apple tax”
by
Cybertooth
1 day, 9 hours ago -
24H2 Installer – don’t see Option for non destructive install
by
JP
2 hours, 9 minutes ago -
Asking Again here (New User and Fast change only backups)
by
thymej
1 day, 21 hours ago -
How much I spent on the Mac mini
by
Will Fastie
20 hours, 32 minutes ago -
How to get rid of Copilot in Microsoft 365
by
Lance Whitney
10 minutes ago -
Spring cleanup — 2025
by
Deanna McElveen
2 days, 2 hours ago -
Setting up Windows 11
by
Susan Bradley
22 hours, 2 minutes ago -
VLC Introduces Cutting-Edge AI Subtitling and Translation Capabilities
by
Alex5723
1 day, 22 hours ago -
Powershell version?
by
CWBillow
1 day, 23 hours ago -
SendTom Toys
by
CWBillow
10 hours, 11 minutes ago -
Add shortcut to taskbar?
by
CWBillow
2 days, 3 hours ago -
Sycophancy in GPT-4o: What happened
by
Alex5723
2 days, 19 hours ago -
How can I install Skype on Windows 7?
by
Help
2 days, 18 hours ago -
Logitech MK850 Keyboard issues
by
Rush2112
2 days, 1 hour ago -
We live in a simulation
by
Alex5723
3 days, 9 hours ago -
Netplwiz not working
by
RetiredGeek
2 days, 20 hours ago -
Windows 11 24H2 is broadly available
by
Alex5723
3 days, 22 hours ago -
Microsoft is killing Authenticator
by
Alex5723
1 day ago -
Downloads folder location
by
CWBillow
4 days, 4 hours ago -
Remove a User from Login screen
by
CWBillow
3 days ago
Recent blog posts
Key Links
Want to Advertise in the free newsletter? How about a gift subscription in honor of a birthday? Send an email to sb@askwoody.com to ask how.
Mastodon profile for DefConPatch
Mastodon profile for AskWoody
Home • About • FAQ • Posts & Privacy • Forums • My Account
Register • Free Newsletter • Plus Membership • Gift Certificates • MS-DEFCON Alerts
Copyright ©2004-2025 by AskWoody Tech LLC. All Rights Reserved.