HOw do i instead of getting directorys , just get the drives
I have a tree listing app but need to have only drive letters for a porton of it. Below is my code
LOCAL drivesave
drivesave = GETDIR("C:\" ,"Select Only Drives", "Select Drive"
driveSAVE =ALLTRIM(driveSAVE)
ThisForm.driveletter.Value=SUBSTR(drivesave,1,LEN(DRIVESAVE))
THISFORM.Refresh
I have a tree listing app but need to have only drive letters for a porton of it. Below is my code
LOCAL drivesave
drivesave = GETDIR("C:\" ,"Select Only Drives", "Select Drive"
driveSAVE =ALLTRIM(driveSAVE)
ThisForm.driveletter.Value=SUBSTR(drivesave,1,LEN(DRIVESAVE))
THISFORM.Refresh