L
Leo
I have a qry called qryEPO built from table called 'Schd.'
Each record has 71 fields, EPO1 through EPO23, Date1 through Date23, Med1
through 23. another field for Name, and a User input field called 'What Date?'
Criterion for EPO fields is >0. (EPO fields are number fields)
Criterion for Med fields is NotNull (Med fields are Text fields)
When query is Run it should ask for user input for the 'WhatDate' and select
only those records which meet the criteria EPO and /Or (both and as well as
Or) criteria Med. It should not select when both EPO and Med field do not
meet the criteria. Of course the it should select only one from Date1 through
Date23 that matches the 'WhatDate'.
When user inputs 8/3/2009 then the display need look as follows:
Name Date Epo Med
JohnDoe 8/3/2009 30000 Kefzol
JaneDoe 8/3/2009 Venofer
BobBob 8/3/2009 20000
RobertBob 8/3/2009 500 Vanco
How can I accomplish this?
Additional Info:
All the data is in one table called Schd, Except the name which is in
another table called 'Client_Name'. The two tables are linked bu a common
field called 'ID_Number.'(One to Many)
Please Help.
Thanking you
Leo
Each record has 71 fields, EPO1 through EPO23, Date1 through Date23, Med1
through 23. another field for Name, and a User input field called 'What Date?'
Criterion for EPO fields is >0. (EPO fields are number fields)
Criterion for Med fields is NotNull (Med fields are Text fields)
When query is Run it should ask for user input for the 'WhatDate' and select
only those records which meet the criteria EPO and /Or (both and as well as
Or) criteria Med. It should not select when both EPO and Med field do not
meet the criteria. Of course the it should select only one from Date1 through
Date23 that matches the 'WhatDate'.
When user inputs 8/3/2009 then the display need look as follows:
Name Date Epo Med
JohnDoe 8/3/2009 30000 Kefzol
JaneDoe 8/3/2009 Venofer
BobBob 8/3/2009 20000
RobertBob 8/3/2009 500 Vanco
How can I accomplish this?
Additional Info:
All the data is in one table called Schd, Except the name which is in
another table called 'Client_Name'. The two tables are linked bu a common
field called 'ID_Number.'(One to Many)
Please Help.
Thanking you
Leo