Ok, this may be really stupid and easy but it has me baffled..
I have a form that i use to store the location of my be.. on startup, it checks that forms control, then does its bit and if need be selects and loads the correct be..
for some reason i cannot get the code to reset the control to the new value..
I first had it as a text box, and used the DefaultValue as the source, then had Form!locator.FilePath.DefaultValue = strFilePath
that did nothing
I have now also tried a similar thing using a label and using the caption instead of the defaultvalue..
anyone know what im doing wrong?
(i realise this is probably something really trivial, I've just got back to working on this database after a month of 4th yr engineering exams so my mind is a little fried atm)
I have a form that i use to store the location of my be.. on startup, it checks that forms control, then does its bit and if need be selects and loads the correct be..
for some reason i cannot get the code to reset the control to the new value..
I first had it as a text box, and used the DefaultValue as the source, then had Form!locator.FilePath.DefaultValue = strFilePath
that did nothing
I have now also tried a similar thing using a label and using the caption instead of the defaultvalue..
anyone know what im doing wrong?
(i realise this is probably something really trivial, I've just got back to working on this database after a month of 4th yr engineering exams so my mind is a little fried atm)