C
Chad
I posted this in a google google group and havent had any
luck as of yet. Maybe you guys can help me.
I have a list box that gets it data from a query (we can
call it listbox1)I also have a checkbox that returns
information depending on which records are selected in
Listbox1. When I click on the record in runtime,
everything runs great, but I need to be able to perform
this action in code. I am able to selct different records
in the Listbox1 using Listbox1.Selected(intIndex), but
when I do this the checkbox is not refreshed. I am
fairly new to VBA so I am not sure about what code I
should use to accomplish this. I have already tried to
use chkRecord.Requery but that doesn't work. Any help
would be greatly appreciated.
Thanks in advance,
Chad
**The only reply I have gotten from the google group is
to try chkRecord.Recalc. When I use that it says that
the object doesn't support that property or method.**
luck as of yet. Maybe you guys can help me.
I have a list box that gets it data from a query (we can
call it listbox1)I also have a checkbox that returns
information depending on which records are selected in
Listbox1. When I click on the record in runtime,
everything runs great, but I need to be able to perform
this action in code. I am able to selct different records
in the Listbox1 using Listbox1.Selected(intIndex), but
when I do this the checkbox is not refreshed. I am
fairly new to VBA so I am not sure about what code I
should use to accomplish this. I have already tried to
use chkRecord.Requery but that doesn't work. Any help
would be greatly appreciated.
Thanks in advance,
Chad
**The only reply I have gotten from the google group is
to try chkRecord.Recalc. When I use that it says that
the object doesn't support that property or method.**