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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top