K
kejo41
The clinic I work for regularly gets data imported from the local lab. The
problem with the import is that the field that contains the "value" of the
test results is "memo" type, as there are many different types of information
in this field (ie numbers, Y/N, even some sentences.
E.g
Identifier Test-Type Test-Value
1 Platelet count 350
2 CD4 Count 0.235
3 cell Conc Complete
4 Platelet count 210
5 HEPATITIS C PCR/RNA Processed
You get the picture, apparentlly they have no intention of fixing this any
time soon. However, It is my job to do the queries to keep everyone happy.
The one saving grace is that I know that each test type will always have the
same type of test value (ie the test value for platelet count is always a
number while cell conc is always text). I want for example to query patients
who have a platelet count of less than 100. When I try and do this in a query
I obviously get data-type errors. I have tried to CInt(), CStr(), to no avail.
I hope this makes sense. Any help would be much appreciated.
Thanks.
problem with the import is that the field that contains the "value" of the
test results is "memo" type, as there are many different types of information
in this field (ie numbers, Y/N, even some sentences.
E.g
Identifier Test-Type Test-Value
1 Platelet count 350
2 CD4 Count 0.235
3 cell Conc Complete
4 Platelet count 210
5 HEPATITIS C PCR/RNA Processed
You get the picture, apparentlly they have no intention of fixing this any
time soon. However, It is my job to do the queries to keep everyone happy.
The one saving grace is that I know that each test type will always have the
same type of test value (ie the test value for platelet count is always a
number while cell conc is always text). I want for example to query patients
who have a platelet count of less than 100. When I try and do this in a query
I obviously get data-type errors. I have tried to CInt(), CStr(), to no avail.
I hope this makes sense. Any help would be much appreciated.
Thanks.