Hello,
I am both an amature to Access and Forums so please don't get too agnry with me if this has already been asked.
I have been building and Access database in Access 2007 to help manage a small EMS service. I would like to be able to have a Message Box pop up when my ambulances are getting close to a service mileage. I have a table for Ambulance check sheets where current milegae is logged once a week, and I have a table for my service log which contains a next service mileage. I have ran a query and placed and IIF statement that will tell me yes or no that the ambulances need to be serviced. This is how my IIF statement looks; Service_Due: IIf([Service_Log]![Next_Schedule_Maintenence]-[Ambulance_Checksheet]![Mileage]<=300,"Yes","No") I want the Message box to come up when I enter the mileage on my Ambulance_Checksheet_frm. Any help would be greatly appreciated. I have tried making a macro for this but it either always says service due or nothing at all. I am going to stop here because I am sure there will be specific questions I have to answer to get help.
I am both an amature to Access and Forums so please don't get too agnry with me if this has already been asked.
I have been building and Access database in Access 2007 to help manage a small EMS service. I would like to be able to have a Message Box pop up when my ambulances are getting close to a service mileage. I have a table for Ambulance check sheets where current milegae is logged once a week, and I have a table for my service log which contains a next service mileage. I have ran a query and placed and IIF statement that will tell me yes or no that the ambulances need to be serviced. This is how my IIF statement looks; Service_Due: IIf([Service_Log]![Next_Schedule_Maintenence]-[Ambulance_Checksheet]![Mileage]<=300,"Yes","No") I want the Message box to come up when I enter the mileage on my Ambulance_Checksheet_frm. Any help would be greatly appreciated. I have tried making a macro for this but it either always says service due or nothing at all. I am going to stop here because I am sure there will be specific questions I have to answer to get help.