Getting the PatNum when patient has been changed

This forum is for programmers who have questions about the source code.
Post Reply
User avatar
wjstarck
Posts: 935
Joined: Tue Jul 31, 2007 7:18 am
Location: Keller, TX
Contact:

Getting the PatNum when patient has been changed

Post by wjstarck » Sat Sep 24, 2022 5:58 pm

Which public methods can I access that will let me capture the PatNum when a new patient has been selected, either by clicking on the appointment or selecting that patient in the Select Patient dialog?

Thanks.
Cheers,

Bill Starck, DDS
Big Idea Software, LLC
Developer, EASy(Electronic Anesthesia System) for Open Dental
817-807-1709
TX, USA

mowgli
Posts: 134
Joined: Fri Sep 14, 2007 1:42 pm

Re: Getting the PatNum when patient has been changed

Post by mowgli » Mon Sep 26, 2022 6:07 am

In RDL reports, we would access that as XPat.Value

User avatar
dcrider
Posts: 67
Joined: Sun Sep 29, 2019 11:03 am
Contact:

Re: Getting the PatNum when patient has been changed

Post by dcrider » Mon Sep 26, 2022 7:56 am

FormOpenDental.CurPatNum always has a reference the currently selected Patient's PatNum (provided one is selected)

Post Reply