I’m still trying to get this to work
I have 2 tables in my database, tblCustomer and tblAction; both have status fields in them. One customer can have many actions against them. On my Dreamweaver page I have a recordset from tblCustomer showing all fields, including status. I would like it to show closed when all the actions against the customer are closed (tblAction – ActionClosed) baring in mind that there may be many actions, and open if not all of the actions are closed. In my mind I get something like
If all records in tblAction.ActionClosed = Closed Then
tblCustomer.Status = Closed
End If
I have 2 tables in my database, tblCustomer and tblAction; both have status fields in them. One customer can have many actions against them. On my Dreamweaver page I have a recordset from tblCustomer showing all fields, including status. I would like it to show closed when all the actions against the customer are closed (tblAction – ActionClosed) baring in mind that there may be many actions, and open if not all of the actions are closed. In my mind I get something like
If all records in tblAction.ActionClosed = Closed Then
tblCustomer.Status = Closed
End If