Hi,
In my app I extract data from a medical device (oximeter).
The data is collected overnight and it is possible for the device to turn itself off is there is no valid data for a period of time. The patient usually turns the unit on again a some point during the night.
In the device, when it is switched on, it creates a new file.
Data is collected and stored in the device memory every 4 seconds.
I need to merge these files but also need to show the missing time.
Basically I need to add a blank record every 4 seconds.
In the dbf files, I have a char field for "time".
The problem I am facing is that I can not think of how to add this "missing" time and have it stop adding when it gets within the 4 seconds of the next file.
Since data is collected every 4 seconds I can't just do something like:
(since the data is every 4 seconds, the two might not match)
If Last_Rec_In_File1>Time = First_Rec_In_File2->Time
**stop adding files
Endif
Anyone have an idea for me?