B
Bradley C. Hammerstrom
A2K,
Here's a simple one I can't get to work.
On a form, the cmdBrowse button displays the chosen destination folder path
in txtFolderName. The user then clicks cmdGO button to call a function that
uses the path in txtFolderName. The user then closes the form.
I want the same folder path to appear next time the form is opened, so the
user doesn't have to Browse again.
I tried a line of code in the On_Click event of cmdGO that stores the string
in the Tag, like:
cmdOK.tag = txtFolderName
Then a line in the Load event for the Form to paste the Tag, like:
txtFolderName = cmdOK.tag
The string correctly appears in the cmdOK Tag line in the Properties box,
but when I open the form again the txtFolderName box is blank. What's going
wrong?
Brad H.
Here's a simple one I can't get to work.
On a form, the cmdBrowse button displays the chosen destination folder path
in txtFolderName. The user then clicks cmdGO button to call a function that
uses the path in txtFolderName. The user then closes the form.
I want the same folder path to appear next time the form is opened, so the
user doesn't have to Browse again.
I tried a line of code in the On_Click event of cmdGO that stores the string
in the Tag, like:
cmdOK.tag = txtFolderName
Then a line in the Load event for the Form to paste the Tag, like:
txtFolderName = cmdOK.tag
The string correctly appears in the cmdOK Tag line in the Properties box,
but when I open the form again the txtFolderName box is blank. What's going
wrong?
Brad H.