I have a front end form that lets a user put in their information (name, phone #,etc) and when they submit the form it gives them a queue number. At this point this information is recorded in it's own table. I have then set up a form that would allow me to approve them to the actual queue. Essentially I could look at a record and approve it by clicking a button and have the information cut from the first table (Student_Signup ) and recorded (pasted) into the actual queue table (3d_Queue). I tried using an onclick event to follow a snippet like this but am having trouble having it work:
Obviously I'm new to this and trying to teach myself so anything would help.
Code:
Private Sub Command43_Click() Set db = CurrentDb Set rec = db.OpenRecordset("Student_signup") Set rec2 = db.OpenRecordset("3d_Queue") You can then check, add and edit data using the proper calls i.e. rec2.addnew rec2("ID") = "Done" rec2.update End Sub
Comment