Here is a intresting hicup that someone might be able to help with. As I am still learning, I'm not exactly sure how to approach this problem. I have a table that is based on a Create Table Query titled "Open Jobs". The Query retrieves data from one of my main tables called "Tower Calls" which tracks open Maintenance Calls. When the call is finished a cmd button on the form time stamps the ready column. I have a form built from the resulting query table that I would like to keep accurate. The Query that generates the table works fine, but I would like to update the query table and the resulting form as jobs are closed. As you can see by the code below, the query seraches for jobs where the ready column is Null.
SELECT [Tower Calls].callid, [Tower Calls].date, [Tower Calls].tailnum, [Tower Calls].flt, [Tower Calls].gate, [Tower Calls].deptim INTO [Open Jobs]
FROM [Tower Calls]
WHERE ((([Tower Calls].redy) Is Null))
ORDER BY [Tower Calls].date, [Tower Calls].deptim;
What I am trying to do is to use an Action Query (I think) to check the Tower calls table for any changes to the specified column and then Delete any records which now contain a value in the ready column. Can someone recommend the best course of action to accomplish this. If it was just a form, I would simply do a Me.Requery cmd. But because the table already exists, I would have to delete the table each time for an update. Any help would be greatly appriciated.
Cheers,
Vince
SELECT [Tower Calls].callid, [Tower Calls].date, [Tower Calls].tailnum, [Tower Calls].flt, [Tower Calls].gate, [Tower Calls].deptim INTO [Open Jobs]
FROM [Tower Calls]
WHERE ((([Tower Calls].redy) Is Null))
ORDER BY [Tower Calls].date, [Tower Calls].deptim;
What I am trying to do is to use an Action Query (I think) to check the Tower calls table for any changes to the specified column and then Delete any records which now contain a value in the ready column. Can someone recommend the best course of action to accomplish this. If it was just a form, I would simply do a Me.Requery cmd. But because the table already exists, I would have to delete the table each time for an update. Any help would be greatly appriciated.
Cheers,
Vince