G
Guest
Thank you for any help that this community can provide.
I am using a telephony ActiveX to monitor incoming calls and capture the
Caller ID.
With my form open, when the phone rings the ActiveX delivers the Caller
phone number. Within the same subroutine I then feed the Caller phone number
to a programmatic find and, if the phone number is in the database, the form
retrieves and shows the right record.
So far so good.
At this point, -for additional alert and with the form already on the right
record- I would like to pop up a message, indicating that this particular
client (Client Name, Job Title, etc.) is calling.
To do this, with a MsgBox I then read Client Name, Job Title, etc. from the
form itself.
However the message always returns data relative to the record which was on
the screen PRIOR TO the phone call and different from what is now shown on
the underlying form.
I tried all sorts of events trying to update the data read by the MsgBox but
to no avail (by reading from the fields on the form BeforeUpdate,
AfterUpdate, OnChange, OnCurrent, Requery, GotoRecordNext followed by
GotoRecordPrevious etc. etc.) but to no avail.
It is as if when I read the data to put in the MsgBox, the system reads the
Field.OldValue rather that what is currently shown.
Any suggestion that this estimeed community can provide is highly appreciated.
I am using a telephony ActiveX to monitor incoming calls and capture the
Caller ID.
With my form open, when the phone rings the ActiveX delivers the Caller
phone number. Within the same subroutine I then feed the Caller phone number
to a programmatic find and, if the phone number is in the database, the form
retrieves and shows the right record.
So far so good.
At this point, -for additional alert and with the form already on the right
record- I would like to pop up a message, indicating that this particular
client (Client Name, Job Title, etc.) is calling.
To do this, with a MsgBox I then read Client Name, Job Title, etc. from the
form itself.
However the message always returns data relative to the record which was on
the screen PRIOR TO the phone call and different from what is now shown on
the underlying form.
I tried all sorts of events trying to update the data read by the MsgBox but
to no avail (by reading from the fields on the form BeforeUpdate,
AfterUpdate, OnChange, OnCurrent, Requery, GotoRecordNext followed by
GotoRecordPrevious etc. etc.) but to no avail.
It is as if when I read the data to put in the MsgBox, the system reads the
Field.OldValue rather that what is currently shown.
Any suggestion that this estimeed community can provide is highly appreciated.