chornbeck
10-21-2011, 05:01 PM
Know this is prob simple, but I can't get my head around it... I need to have a field in a client database row called "number of calls" that queries another table, a call log, and counts the number of calls made to that client.
So I would like to insert the SQL to check the call log in the "number of calls" field and have it update and check the call log for the value each time the row is queried... I also need to figure out how to use the variable from the current row, in this case phone number, to make the query.
Any help?
So I would like to insert the SQL to check the call log in the "number of calls" field and have it update and check the call log for the value each time the row is queried... I also need to figure out how to use the variable from the current row, in this case phone number, to make the query.
Any help?