hello everyone. Im moving forward , just solved my issue with your help of course and i face with another issue i can't figure it out myself, so please help.
i have a 2 tables (one to many). 1 record (risk) has many actions.
i have a dashboard with my statistics
in countrol source of these i put
all =(DCount("riskcode";"Tmain";"riskcode >= 20 AND riskcode <=25"))
Completed =(DCount("riskcode";"Tmain";"riskcode >= 20 AND riskcode <=25 and isactive=true"))
In progress =(DCount("riskcode";"Tmain";"riskcode >= 20 AND riskcode <=25 and isactive=false"))
OverDue =(DCount("MinOfDueDate";"Qddall";"MinOfDueDate<date() and isactive=false and riskcode between 20 and 25"))
u prob. remember me asking how to save a calculated data to a table filed and u guys gave me adivce to never do it. so i tried to make a query instead with
and i have my amount of Risks where if 1 action of Risk (record) is overdue by today.
but i have also double click event on these
all =[riskcode] Between 20 And 25
Completed =[isactive]=True And [riskcode] Between 20 And 25
In progress =[isactive]=False And [riskcode] Between 20 And 25
OverDue =
but here .. OverDue is a headache for me , cause i need to link main Table AND query to put it in "where condition". if it would be one table , than its quite easy for me, but this is not my level...
how can i do this ?
or how can i tell WHERE condition it opens records on MasterList (countinius form - bound to Main Table) )what i have in my query.
in other words , i need Master List opens only records that fit to this condition
i have a 2 tables (one to many). 1 record (risk) has many actions.
i have a dashboard with my statistics
in countrol source of these i put
all =(DCount("riskcode";"Tmain";"riskcode >= 20 AND riskcode <=25"))
Completed =(DCount("riskcode";"Tmain";"riskcode >= 20 AND riskcode <=25 and isactive=true"))
In progress =(DCount("riskcode";"Tmain";"riskcode >= 20 AND riskcode <=25 and isactive=false"))
OverDue =(DCount("MinOfDueDate";"Qddall";"MinOfDueDate<date() and isactive=false and riskcode between 20 and 25"))
u prob. remember me asking how to save a calculated data to a table filed and u guys gave me adivce to never do it. so i tried to make a query instead with
and i have my amount of Risks where if 1 action of Risk (record) is overdue by today.
but i have also double click event on these
all =[riskcode] Between 20 And 25
Completed =[isactive]=True And [riskcode] Between 20 And 25
In progress =[isactive]=False And [riskcode] Between 20 And 25
OverDue =
but here .. OverDue is a headache for me , cause i need to link main Table AND query to put it in "where condition". if it would be one table , than its quite easy for me, but this is not my level...
how can i do this ?
or how can i tell WHERE condition it opens records on MasterList (countinius form - bound to Main Table) )what i have in my query.
in other words , i need Master List opens only records that fit to this condition
Code:
(DCount("MinOfDueDate";"Qddall";"MinOfDueDate<date() and isactive=false and riskcode between 20 and 25"))
Last edited: