Hi,
I have a db which has a table called xdailyissues.
I create various reports using this table but find when I try to run a query using the patients hospital number it can be very slow (as its not a link field).
However there is a link field within the xdailyissues table called lnkpid which is a also string field but is not identical.
e.g pts hospital number L1234567
lnkpid field P152976
My question is whether the query can look up the Hospital number field and "pick" the corresponding link field from lnkpid and use this for the query as its much faster ?
I hope that makes sense...
BTW the hospital number and link field are also in another seperate table ...if that makes it easier.
Much thanks in anticipation...
Regards,
Steve
I have a db which has a table called xdailyissues.
I create various reports using this table but find when I try to run a query using the patients hospital number it can be very slow (as its not a link field).
However there is a link field within the xdailyissues table called lnkpid which is a also string field but is not identical.
e.g pts hospital number L1234567
lnkpid field P152976
My question is whether the query can look up the Hospital number field and "pick" the corresponding link field from lnkpid and use this for the query as its much faster ?
I hope that makes sense...
BTW the hospital number and link field are also in another seperate table ...if that makes it easier.
Much thanks in anticipation...
Regards,
Steve