Home > Software engineering >  !!!!!!!!!!!!!!
!!!!!!!!!!!!!!

Time:10-23

This design is to use ADO to connect to the database, to do a check on work attendance system based on RFID, implemented by clicking on the button tag information read as an employee id, can choose the employee name in the name bar, now want to read the label after can call database automatically fill name column, instead of the previous manual selection (read the tag functionality is implemented), how to implement??? !!!!!!!!! Posting questions for the first time, it's possible description is not in place, have what problem please inclusion

CodePudding user response:

1, initialization, all staff name found in the database, and then call CCombox: : AddString () join the combination control (also known as "personnel name" corresponds to the control)
2, when RFID reader to an id, then from the database to find this id corresponding name
3, according to find the names, called CCombox: : SetCurSel (CCombox: : FindString (1, name))

CodePudding user response:

reference 1st floor jiqiang01234 response:
1, the initialization, the all staff name found in the database, and then call CCombox: : AddString () join the combination control (also known as "personal name" corresponds to the control)
2, when RFID reader to an id, then from the database to find this id corresponding name
3, according to find the names, called CCombox: : SetCurSel (CCombox: : FindString (1, name))

Help me to look at the

CodePudding user response:

Click on the Read called when the SDK Read card () () to retrieve the return value to database, and then update the display ()

CodePudding user response:

This look at ah, please correct me if there is a problem, the novice don't understand a lot, but will consult modestly

CodePudding user response:

refer to the second floor against reassuring reply:
Quote: refer to 1st floor jiqiang01234 response:
1, the initialization, the all staff name found in the database, and then call CCombox: : AddString () join the combination control (also known as "personnel name" corresponds to the control)
2, when RFID reader to an id, then from the database to find this id corresponding name
3, according to find the names, called CCombox: : SetCurSel (CCombox: : FindString (1, name))

Help me to look at the

Like the figure didn't succeed, below to upload, see

CodePudding user response:

reference zgl7903 reply: 3/f
click Read called when the SDK Read card () () to retrieve the return value to database, and then update the display ()

Help to see the figure below