top of page

 getNextTicketNumber = Results query  + 1 then save new ticket

Ticket Number

.

.

Get Next Ticket

Vital Signs Male

VITAL SIGNS FEMALE

How the code works
1- Query by service type using a specific element (codeNum).
2- The result of the query is to get the last ticket number.
3- The code adds +1 and saves the new ticket again.
The problem is the synchronization between the code and the dataset - it does not get the last saved ticket number but continues to get the previous query result.The query value must change according to the last saved value
King Fahd Hospital in Jeddah
bottom of page