Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
Access
3rdpartyusrgrp
access
activexcontrol
adp.sqlserver
commandbarsui
conversion
dataaccess.pages
developers.toolkitode
devtoolkits
externaldata
forms
formscoding
gettingstarted
internet
interopoledde
macros
modulescoding
modulesdaovba
modulesdaovba.ado
multiuser
odbcclientsvr
queries
replication
reports
security
setupconfig
tablesdbdesign
  
 
date: Thu, 3 Jul 2008 07:07:01 -0700,    group: microsoft.public.access.externaldata        back       


Office 2007 couple export questions   
I am attempting to supress two thing when running a macro to export a file to 
the pc

1) The macro run an ODBC linked report and it prompts for a username & 
password, 
This used to happen once only on my original copy of office 2007, It seemed 
to remember the username password box therefore not ask the user again?
Is there a secuity setting to remember it?

2) I am sending files by the same name to the same area of the pc everyday , 
how can I force overwrite the original file??

Thanks

Jai
date: Thu, 3 Jul 2008 07:07:01 -0700   author:   Jai_Friday

RE: Office 2007 couple export questions   
1. You can save the password at the time you select the table for linking 
(find the checkbox at the bottom right of the dialog where you choose the 
tables you want tlink)

2. You can check to see if it exists and delete it if it does:

If Dir("YourFilePathAndFileNameHere") <> "" Then
    Kill "YourFilePathAndFileNameHere"
End If



-- 
Bob Larson
Access MVP
Access World Forums Administrator
Utter Access VIP

Tutorials at http://www.btabdevelopment.com

__________________________________


"Jai_Friday" wrote:

> I am attempting to supress two thing when running a macro to export a file to 
> the pc
> 
> 1) The macro run an ODBC linked report and it prompts for a username & 
> password, 
> This used to happen once only on my original copy of office 2007, It seemed 
> to remember the username password box therefore not ask the user again?
> Is there a secuity setting to remember it?
> 
> 2) I am sending files by the same name to the same area of the pc everyday , 
> how can I force overwrite the original file??
> 
> Thanks
> 
> Jai
date: Thu, 3 Jul 2008 21:43:01 -0700   author:   boblarson

RE: Office 2007 couple export questions   
Thanks Bob, 

I will give that a go

Regards

Jai

"boblarson" wrote:

> 1. You can save the password at the time you select the table for linking 
> (find the checkbox at the bottom right of the dialog where you choose the 
> tables you want tlink)
> 
> 2. You can check to see if it exists and delete it if it does:
> 
> If Dir("YourFilePathAndFileNameHere") <> "" Then
>     Kill "YourFilePathAndFileNameHere"
> End If
> 
> 
> 
> -- 
> Bob Larson
> Access MVP
> Access World Forums Administrator
> Utter Access VIP
> 
> Tutorials at http://www.btabdevelopment.com
> 
> __________________________________
> 
> 
> "Jai_Friday" wrote:
> 
> > I am attempting to supress two thing when running a macro to export a file to 
> > the pc
> > 
> > 1) The macro run an ODBC linked report and it prompts for a username & 
> > password, 
> > This used to happen once only on my original copy of office 2007, It seemed 
> > to remember the username password box therefore not ask the user again?
> > Is there a secuity setting to remember it?
> > 
> > 2) I am sending files by the same name to the same area of the pc everyday , 
> > how can I force overwrite the original file??
> > 
> > Thanks
> > 
> > Jai
date: Fri, 4 Jul 2008 00:06:00 -0700   author:   Jai_Friday

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us