[AccessD] CurrentProject.Path syntax?

Max Wanadoo max.wanadoo at gmail.com
Wed Mar 17 16:45:53 CDT 2010


Bit more complicated.

    str = "\\svr\c\"
    strL = Left(str, 2)
    strR = Replace(Mid(str, 3) & "\", "\\", "\")
    str = strL & strR

Max
 

-----Original Message-----
From: accessd-bounces at databaseadvisors.com
[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan
Sent: Wednesday, March 17, 2010 9:07 PM
To: Access Developers discussion and problem solving
Subject: Re: [AccessD] CurrentProject.Path syntax?

And what happens when it is a UNC path?

Str = "\\Server\Share\"

:-(

--
Stuart

On 17 Mar 2010 at 15:49, Max Wanadoo wrote:

> Str = str & "\"
> Str = replace(str,"\\","\")
> 

--
AccessD mailing list
AccessD at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/accessd
Website: http://www.databaseadvisors.com




More information about the AccessD mailing list