G
Guest
I have a table called tb1. There is a field called Per_Num in a Query which
is based on the table tb1.
I have a second Query which generates values for the field called Per_Num.
How do I write a DCount function for a variable??
For example:
DCount("[Period]","Query","[Per_Num] = '01'")
This works for a set value '01'. How do I do this with a variable called z
i.e.
DCount("[Period]", "Query", "[Per_Num] = z") This doesn't work,
This is where I need help.
Thank You,
Gary
is based on the table tb1.
I have a second Query which generates values for the field called Per_Num.
How do I write a DCount function for a variable??
For example:
DCount("[Period]","Query","[Per_Num] = '01'")
This works for a set value '01'. How do I do this with a variable called z
i.e.
DCount("[Period]", "Query", "[Per_Num] = z") This doesn't work,
This is where I need help.
Thank You,
Gary