R
RobUCSD
I have a lstBox (lstVisit) that displays the date and type of patient
procedure, on the click event in the lstVisit the info for the particular
visit that was clicked on is loaded into the frmVisit (which is a fsub to
frmPtDemographics). In the Current event of the frmVisit I have
Me.lstVisit.SetFocus. Here's the probem;
When the forms initially loads, all is fine, the most current record in the
list box is highlighted and the visit info is loaded correctly. But when I
move to another patient record (thru a search screen), the lstbox is not
recieving the focus, and thus not on the most current visit with it's
corresponding visit info loaded into frmVisit. I can't figure out why the
list is not getting the focus with the most current visit highlighted and the
visit info loaded into frmVisit.
Any help would be greatly appreciated. Thanks, Rob
procedure, on the click event in the lstVisit the info for the particular
visit that was clicked on is loaded into the frmVisit (which is a fsub to
frmPtDemographics). In the Current event of the frmVisit I have
Me.lstVisit.SetFocus. Here's the probem;
When the forms initially loads, all is fine, the most current record in the
list box is highlighted and the visit info is loaded correctly. But when I
move to another patient record (thru a search screen), the lstbox is not
recieving the focus, and thus not on the most current visit with it's
corresponding visit info loaded into frmVisit. I can't figure out why the
list is not getting the focus with the most current visit highlighted and the
visit info loaded into frmVisit.
Any help would be greatly appreciated. Thanks, Rob