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
bottom of page