By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
431,985 Members | 1,712 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 431,985 IT Pros & Developers. It's quick & easy.

Opening an explorer window with access

P: n/a
My goal here is to get access to open a folder that is related to the
current displayed record. For example, if the customer's last name is
Smith, i want the folder "//server01/jobphotos/Smith" to pop up when
you click the Job photos button.

So far this is all I have for it...

RetVal = Shell("explorer /e,/root, //server01/jobphotos/Smith")

This works on a one time basis, but i need it to be variable so it
bases the folder name on the last name of the contact record. Any help
would be greatly appriceated. Thanks

Aug 10 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a
ky***********@gmail.com wrote in
news:11**********************@m73g2000cwd.googlegr oups.com:
My goal here is to get access to open a folder that is related
to the current displayed record. For example, if the
customer's last name is Smith, i want the folder
"//server01/jobphotos/Smith" to pop up when you click the Job
photos button.

So far this is all I have for it...

RetVal = Shell("explorer /e,/root,
//server01/jobphotos/Smith")

This works on a one time basis, but i need it to be variable
so it bases the folder name on the last name of the contact
record. Any help would be greatly appriceated. Thanks

RetVal = Shell("explorer /e,/root,//server01/jobphotos/""" &
Lastname & """")


--
Bob Quintal

PA is y I've altered my email address.

--
Posted via a free Usenet account from http://www.teranews.com

Aug 10 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.