Notifications
Clear all
Topic starter
Is there any documentation regarding the functions to access mldefs objects (i.e. find(), getrow(), getrowCount(), etc.)?
Posted : July 20, 2012 2:13 am
emr_help.chm
Posted : July 20, 2012 3:04 am
Topic starter
I didn't see anything in the help for getrow() or getrowcount()
Posted : July 20, 2012 6:08 am
Sorry, didn't catch that. GetRowCount gets the number of records/rows from the given table/view. GetRow gets the specified fields ('ApptDate', 'ApptTime', 'Appttype', 'Booklist') from the specific record/row (i) from the given table/view.
local i = getRowCount('_MELCurPatientAppt')
// Loop thru patients appointments
while i > 0 do
i = i - 1
a = getRow('_MELCurPatientAppt',i, 'ApptDate', 'ApptTime', 'Appttype', 'Booklist')
Posted : July 22, 2012 10:14 pm