F
Fredrated
I have a subform that declares some string form variables Private and loads
them in the form.open event, as in:
Private AgendaDIR As String
(I have also used DIM AgendaDIR As String with the same effect)
at form.open I load the variables (dg is an object that fetches values on
request):
dg.LoadDirectories
UploadDIR = dg.UploadDirectory
AgendaDIR = dg.AgendaDirectory
MinutesDIR = dg.MinutesDirectory
AttachDIR = dg.AttachDirectory
At this point debug reports that the directory values have been retrieved
correctly.
Then when I want to use them in a routine they have been reset to blank.
This happens even if I request a value as the first thing I do after the form
opens.
Any idea what happened to the values and how to stop loosing them?
Thanks in advance for any help.
Fred
them in the form.open event, as in:
Private AgendaDIR As String
(I have also used DIM AgendaDIR As String with the same effect)
at form.open I load the variables (dg is an object that fetches values on
request):
dg.LoadDirectories
UploadDIR = dg.UploadDirectory
AgendaDIR = dg.AgendaDirectory
MinutesDIR = dg.MinutesDirectory
AttachDIR = dg.AttachDirectory
At this point debug reports that the directory values have been retrieved
correctly.
Then when I want to use them in a routine they have been reset to blank.
This happens even if I request a value as the first thing I do after the form
opens.
Any idea what happened to the values and how to stop loosing them?
Thanks in advance for any help.
Fred