I have been trying to change ghudson great example to fit in my database
My plan was to:-
Change Combox to ListBox...Done
OpenFile from Combo (AfterUpdate) Changed to OnClick...Done
Change C: to Display Files in Current records folder in the server
Sooo my missing part of the puzzle is get the correct folders files to appear with the correct clients ID
The folder location and folder name are in a textbox in the form already txtMakeFldPath which is used in the first place to make the folder and name it with the clients record id
I did find in the forms code a line Const cPath = “C:\” which I changed manual to a test a folder in the server and worked perfectly but when I change the Const cPath = “C:\” to look at the form I get an error message tell me cant find the directory
I tried the combinations below
Const cPath = Me.txtMakeFldPath
Const cPath = “MakeFldPath”
Const cPath = “[txtMakeFldPath]”
Const cPath = [MakeFldPath]
I cant seem to tell Access to look at the contents of the txtMakeFldPath I can only get it to look for the folder txtMakeFldPath I think!!!
Help Help
Thanking you in advance for your help in this matter
DaaAgent
My plan was to:-
Change Combox to ListBox...Done
OpenFile from Combo (AfterUpdate) Changed to OnClick...Done
Change C: to Display Files in Current records folder in the server
Sooo my missing part of the puzzle is get the correct folders files to appear with the correct clients ID
The folder location and folder name are in a textbox in the form already txtMakeFldPath which is used in the first place to make the folder and name it with the clients record id
I did find in the forms code a line Const cPath = “C:\” which I changed manual to a test a folder in the server and worked perfectly but when I change the Const cPath = “C:\” to look at the form I get an error message tell me cant find the directory
I tried the combinations below
Const cPath = Me.txtMakeFldPath
Const cPath = “MakeFldPath”
Const cPath = “[txtMakeFldPath]”
Const cPath = [MakeFldPath]
I cant seem to tell Access to look at the contents of the txtMakeFldPath I can only get it to look for the folder txtMakeFldPath I think!!!
Help Help
Thanking you in advance for your help in this matter
DaaAgent