V Vitality Registered User. Local time Today, 12:22 Joined Sep 16, 2004 Messages 15 Oct 27, 2004 #1 I have and on this table based Form. I have Folders With names 1, 2, 3.... I need command for open Folder with name, that equal to table ID. Thanx in advance.
I have and on this table based Form. I have Folders With names 1, 2, 3.... I need command for open Folder with name, that equal to table ID. Thanx in advance.
ghudson Registered User. Local time Today, 15:22 Joined Jun 8, 2002 Messages 6,193 Oct 27, 2004 #2 This might help get you started... Browse [Find a directory or file] Last edited: Nov 15, 2004
E edith_tang Guest Nov 14, 2004 #3 Open Folder in MS Access Assume you know the table ID, Dim xPath, xFolder, xCmd As String xPath = "\\server\data1\" xFolder = xPath & xTableID ' (MkDir xFolder ' create folder ) xCmd = "explorer.exe " & xFolder & "\" ' open folder Shell (xCmd) ' run external command Vitality said: I have and on this table based Form. I have Folders With names 1, 2, 3.... I need command for open Folder with name, that equal to table ID. Thanx in advance. Click to expand...
Open Folder in MS Access Assume you know the table ID, Dim xPath, xFolder, xCmd As String xPath = "\\server\data1\" xFolder = xPath & xTableID ' (MkDir xFolder ' create folder ) xCmd = "explorer.exe " & xFolder & "\" ' open folder Shell (xCmd) ' run external command Vitality said: I have and on this table based Form. I have Folders With names 1, 2, 3.... I need command for open Folder with name, that equal to table ID. Thanx in advance. Click to expand...