question? example(medical record): in the new page, when creating his new medical record. how to get his previous or latest record? all of this is in new record page. this will help the nurse to track his history record. all last record will fill all the field in the new record page. hope you undestand.thanks
Get the last record using the selectQuery API (example : select * from rb_obj_data where OBJ_DEF_ID=1436 ORDER BY UPDATED_AT DESC limit 1;) to fetch the latest record and then use the New Page's onload event to populate the data into the fileds.
what do you mean "New Page's onload event" sir?