E
el zorro
I have a form in Access mdb that I am trying to get to work in adp. In the
mdb version, a query underlies the form. One of the fields in the query is a
check box, the value of which is pre-determined by whatever item is selected
in another field on the form. In other words, there is a table of items, some
of which have the checkbox checked, some of which do not. This table is part
of the query that underlies the form. Depending on what item I select, the
checkbox is either checked or not.
-
FOr example, if the user checks "A" from the list on the form, the check box
shows a check (TRUE). If the user checks "B" on the list, the check box shows
no check (FALSE). The (read only) check box on the form responds instantly
depending on what item is selected on the list. I am then able, through VBA
code on the AfterUpdate event for the list, to use the status of the checkbox
to trigger certain other functions on the form (such as enabling/disabling a
form field).
-
Making the conversion to adp, the query that underlies the form is now a
View that resides on the server. You probably see the problem already. THe
checkbox no longer responds in real time to input from the user. If I select
"A" from the list, the checkbox is null until I exit the record and return,
when it will show a check. This, of course, will not work to
activate/deactivate fields for the user when the record is being created.
-
I tried to requery the view on AfterUpdate, but that just brings up a new,
blank record, so that didn't work. I tried doing a save on AfterUpdate, but
no dice again (the checkbox did not respond).
-
My question is how do I transmit to the server that I have made selections
on the list box, so that I can use VBA to trigger events based on the status
of the related checkbox?
THanks!
mdb version, a query underlies the form. One of the fields in the query is a
check box, the value of which is pre-determined by whatever item is selected
in another field on the form. In other words, there is a table of items, some
of which have the checkbox checked, some of which do not. This table is part
of the query that underlies the form. Depending on what item I select, the
checkbox is either checked or not.
-
FOr example, if the user checks "A" from the list on the form, the check box
shows a check (TRUE). If the user checks "B" on the list, the check box shows
no check (FALSE). The (read only) check box on the form responds instantly
depending on what item is selected on the list. I am then able, through VBA
code on the AfterUpdate event for the list, to use the status of the checkbox
to trigger certain other functions on the form (such as enabling/disabling a
form field).
-
Making the conversion to adp, the query that underlies the form is now a
View that resides on the server. You probably see the problem already. THe
checkbox no longer responds in real time to input from the user. If I select
"A" from the list, the checkbox is null until I exit the record and return,
when it will show a check. This, of course, will not work to
activate/deactivate fields for the user when the record is being created.
-
I tried to requery the view on AfterUpdate, but that just brings up a new,
blank record, so that didn't work. I tried doing a save on AfterUpdate, but
no dice again (the checkbox did not respond).
-
My question is how do I transmit to the server that I have made selections
on the list box, so that I can use VBA to trigger events based on the status
of the related checkbox?
THanks!