The way to do this is to update a recordset that holds that information "behind the scenes" of the button_Click event. This requires VBA code and a log table.
Suppose the log table is called LOGTABLE and has fields PERSID, USERID, and DIALTIME
Assuming you have the information available and a table exists to hold this info, your solution might be so simple as, in the button_Click's event routine, before it launches the autodialer...
Add this line at the top of the _Click routine
Dim rsLog as Recordset
Now before (or after) you launch the autodialer, add
Set rsLog = CurrentDB.OpenRecordset( "LOGTABLE" )
With rsLOG
.AddNew
![PERSID] = PersonID
![USERID] = UserID
![DIALTIME] = Now
.Update
.Close
End With
If you aren't sure about where this goes, get into design mode on the form. Click the code symbol to open the Class Module's code window. Find the event code by looking for the button's name in the drop-down on the left side just above the code window. If you don't find code that starts with
Private Sub {button-name}_Click()
then use the right side of that same location to drop down to the click event. But if your button was created by a Wizard, there should be a click event such as I described. Substitute the correct control name for {button-name}.