Is This OK

D

DS

I'm using this to select a record in a listbox.
Is this code OK?
Thnaks
DS

Forms!frmFXEventPlanner!ListEvent.Selected(Forms!frmFXEventPlanner!TxtPartyID
- 1) = True
 
S

Scott McDaniel

I'm using this to select a record in a listbox.
Is this code OK?

Does it work? If so, then it's okay ... so long as frmFXEventPlanner is open, that is. If you're actually running this
code on frmFXEventPlanner, then you can use the Me keyword instead:

Me.ListEvent.Selected(Me.txtPartyID) = True
Thnaks
DS

Forms!frmFXEventPlanner!ListEvent.Selected(Forms!frmFXEventPlanner!TxtPartyID
- 1) = True

Scott McDaniel
scott@takemeout_infotrakker.com
www.infotrakker.com
 
D

DS

Scott said:
Does it work? If so, then it's okay ... so long as frmFXEventPlanner is open, that is. If you're actually running this
code on frmFXEventPlanner, then you can use the Me keyword instead:

Me.ListEvent.Selected(Me.txtPartyID) = True




Scott McDaniel
scott@takemeout_infotrakker.com
www.infotrakker.com
Great! Doesnt hurt to double check!
Thanks
DS
 
Top