G
Guest
As always, much thanks in advance!!!
I have a table that lists payments from clients. One column of that table
lists visits numbers and diagnosis that are connected to that clients. For
example, one client (#12345) might have two visits (1 and 2) and have two
different diagnosis for each visit (Hypertension and Diabetes). Remember,
this is a payments table, so most of the data comes from other tables
(clientID table, diagnosis lookup table, visits table). Here is the
question: the Diagnosis table has three columns (pkDiagNum, Diagnosis,
Diagnosis Code). I need to allow my client (my wife, so this is important
) to be able to choose a Diagnosis and have the appropriate Diagnosis Code
which is connected to that Diagnosis appear in another column in the table.
I suppose I could do this in the Visits table, but I still cannot figure out
how to do it. I have Diagnosis as a drop down (lookup) column, and this
works well. The next column needs to connect that Diagnosis to the connected
Diagnosis Code.
Would a query be appropriate here? I was thinking so, but I cannot figure
out what to do with that query. Do I have it query BOTH Diagnosis and
Diagnosis Code? Then have both Payment Table Columns have this query as
their lookup source? Does the query "fire" for each row of a table
separately-in that, if one selects "Hypertension" in the first field, would
the second field "know" that the first field was "Hypertension"?
Any help would be deeply appreciated.
Dave
I have a table that lists payments from clients. One column of that table
lists visits numbers and diagnosis that are connected to that clients. For
example, one client (#12345) might have two visits (1 and 2) and have two
different diagnosis for each visit (Hypertension and Diabetes). Remember,
this is a payments table, so most of the data comes from other tables
(clientID table, diagnosis lookup table, visits table). Here is the
question: the Diagnosis table has three columns (pkDiagNum, Diagnosis,
Diagnosis Code). I need to allow my client (my wife, so this is important
) to be able to choose a Diagnosis and have the appropriate Diagnosis Code
which is connected to that Diagnosis appear in another column in the table.
I suppose I could do this in the Visits table, but I still cannot figure out
how to do it. I have Diagnosis as a drop down (lookup) column, and this
works well. The next column needs to connect that Diagnosis to the connected
Diagnosis Code.
Would a query be appropriate here? I was thinking so, but I cannot figure
out what to do with that query. Do I have it query BOTH Diagnosis and
Diagnosis Code? Then have both Payment Table Columns have this query as
their lookup source? Does the query "fire" for each row of a table
separately-in that, if one selects "Hypertension" in the first field, would
the second field "know" that the first field was "Hypertension"?
Any help would be deeply appreciated.
Dave