I have created a Folder in C drive : C:\VendorFolders\
Inside this folder I created a folder for each Vendor and I used Vendor No. value to name each folder.
In the Vendor Card I added a command button to access the Vendor's Folder and wrote the following Code:
dhbPPSetup.GET;
CLEAR(FolderName);
FolderName := dhbPPSetup."Vendor Folder Path"+ FORMAT("No.");
CREATE(ShellExt);
ShellExt.Open(FolderName);
ShellExt.Open(dhbPPSetup."Vendor Folder Path");
CLEAR(ShellExt);
The Code works great and I'm able to open the folders just fine. My problem is: if a particular vendor do not have a folder in C:\VendorFolders\
nothing happened. I want the code to take me to C:\VendorFolders\ instead of doing nothing. How can I check if the Vendor have a folder or not??
Thanks
0
Answers
http://www.mibuso.com/forum/viewtopic.php?t=924
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
Again Thanks for your help.