L
LMB
Using Access 2000. We have a flat database with patients, therapies etc... (I didn't make it but am the only one left working in our department who knows or is interested in how to do anything with access). I am really sorry but it's going to stay that way because it will soon be replaced by a new system the hospital is purchasing but for now I have to make a change. Right now I have this query.
SELECT [RT-FLOW].[RM#], [RT-FLOW].[BD#], [RT-FLOW].[LAST NAME], [RT-FLOW].THERAPY, [RT-FLOW].FREQUENCY, [RT-FLOW].[ORDER DATE], [Order Date]+3 AS [Tag Date], [RT-FLOW].[Order Time]
FROM [RT-FLOW] WHERE ((([Order Date]+3)=[Enter Date in */**/**** Format]));
Every day the supervisor checks to see who is in this query for today and "tags" the chart. For the past 15 years it has been ok to work with just tagging by date but now we have to tag at exactly 5 days to the hour. So I understand I need to add a "time ordered" field but I don't know how to get the time and date to calculate exactly 5 days or is there a fieldtype that has date and time together? I looked at the format properties for time/date in my table and general date shows 6/19/1994 5:24:23 PM.................Would this be what I would use then make a query?
Thanks,
Linda
SELECT [RT-FLOW].[RM#], [RT-FLOW].[BD#], [RT-FLOW].[LAST NAME], [RT-FLOW].THERAPY, [RT-FLOW].FREQUENCY, [RT-FLOW].[ORDER DATE], [Order Date]+3 AS [Tag Date], [RT-FLOW].[Order Time]
FROM [RT-FLOW] WHERE ((([Order Date]+3)=[Enter Date in */**/**** Format]));
Every day the supervisor checks to see who is in this query for today and "tags" the chart. For the past 15 years it has been ok to work with just tagging by date but now we have to tag at exactly 5 days to the hour. So I understand I need to add a "time ordered" field but I don't know how to get the time and date to calculate exactly 5 days or is there a fieldtype that has date and time together? I looked at the format properties for time/date in my table and general date shows 6/19/1994 5:24:23 PM.................Would this be what I would use then make a query?
Thanks,
Linda