G
Guest
I've got an option group with 5 options, with no default value. Whenever I
open the form and scroll through records all of the options are grey'd,
unless the user selects one.
The way things are set up right now, I've got an option group with 5
options, representing folders where a file is stored. The database is then
linked to a webpage, and that field is used along with the name of the file
to create a hyperlink to the file. One of the options I have is an "other"
option, that has a textbox next to it that allows the user to input in a
specified folder. That way, in the future, if we add a new folder to store
files in the form would still work.
What I would like to do is have the option group display the current value
of the options, depending on the record being viewed. So that as you scroll
through records whatever option is currently selected (based on the table)
for that record is already selected in the option group.
I've got an if statement setup that *should* handle this, but I'm not sure
where to place the code. I've tried to use form_activate() and
form_AfterUpdate(), but niether seems to work. Can anyone help me with where
I should put code like this?
open the form and scroll through records all of the options are grey'd,
unless the user selects one.
The way things are set up right now, I've got an option group with 5
options, representing folders where a file is stored. The database is then
linked to a webpage, and that field is used along with the name of the file
to create a hyperlink to the file. One of the options I have is an "other"
option, that has a textbox next to it that allows the user to input in a
specified folder. That way, in the future, if we add a new folder to store
files in the form would still work.
What I would like to do is have the option group display the current value
of the options, depending on the record being viewed. So that as you scroll
through records whatever option is currently selected (based on the table)
for that record is already selected in the option group.
I've got an if statement setup that *should* handle this, but I'm not sure
where to place the code. I've tried to use form_activate() and
form_AfterUpdate(), but niether seems to work. Can anyone help me with where
I should put code like this?