G
Guest
i have a table called "t_daily_reject". i want use this table to make a
query. i will select three field from this table, that is "kind_of_defect",
"qty" and "date". "date" i will change to month format. then i want to
calculate the percentage for each kind of defect which by month. i have using
the DSum function to calculate because i want to get the total of that. but
it was sum all. how i can calculate the total for each month from the query?
i was type the formula as %Reject[qty]/DSum([qty],"t_daily_reject"))*100
i know i did not set the criteria, but i dont know how to set it. can
anybody help me?
thanks!
query. i will select three field from this table, that is "kind_of_defect",
"qty" and "date". "date" i will change to month format. then i want to
calculate the percentage for each kind of defect which by month. i have using
the DSum function to calculate because i want to get the total of that. but
it was sum all. how i can calculate the total for each month from the query?
i was type the formula as %Reject[qty]/DSum([qty],"t_daily_reject"))*100
i know i did not set the criteria, but i dont know how to set it. can
anybody help me?
thanks!