Gasman
Enthusiastic Amateur
- Local time
- Today, 17:44
- Joined
- Sep 21, 2011
- Messages
- 17,424
Hi everyone,
I have a DB to monitor my carb intake for my diabetes, and it also keeps track of my blood pressures.
I have just inherited another BP monitor. This one is the one you put on your upper arm, like the hospitals have. The one I have been using for nearly a year now is a wrist mounted one.
I would like to compare readings from both for a while.
Now if I had not normalised the table, then I would have two extra fields for Systolic and Diastolic, and the query would just be adding the extra two fields to the query.
The query is run from Excel as that has better graphing capabilities (to my view at least)
So, my question is, what is the best way to get what will be the next record in the table and bring in those two extra fields to the query?
I could just create yet more queries for that monitor, but thought I would ask first.
All I can think of atm, is a function that looks for the next record and returns either the Systolic or Diastolic each time. I am not aware of a function being able to return more that one value? Now it could be that there would not be a 'next' record, so need to take that into account. Certainly, apart from the last days records, none will exist, as I have just started using the arm one. I have a tblMonitor that holds the ID of each.
This function could be a DlookUp or a recordset with FindFirst?
At present I use the wrist monitor, then the arm monitor.
TIA
I have a DB to monitor my carb intake for my diabetes, and it also keeps track of my blood pressures.
I have just inherited another BP monitor. This one is the one you put on your upper arm, like the hospitals have. The one I have been using for nearly a year now is a wrist mounted one.
I would like to compare readings from both for a while.
Now if I had not normalised the table, then I would have two extra fields for Systolic and Diastolic, and the query would just be adding the extra two fields to the query.
The query is run from Excel as that has better graphing capabilities (to my view at least)
So, my question is, what is the best way to get what will be the next record in the table and bring in those two extra fields to the query?
I could just create yet more queries for that monitor, but thought I would ask first.
All I can think of atm, is a function that looks for the next record and returns either the Systolic or Diastolic each time. I am not aware of a function being able to return more that one value? Now it could be that there would not be a 'next' record, so need to take that into account. Certainly, apart from the last days records, none will exist, as I have just started using the arm one. I have a tblMonitor that holds the ID of each.
This function could be a DlookUp or a recordset with FindFirst?
At present I use the wrist monitor, then the arm monitor.
TIA