That would be funny, but I got the answer myself:
DCount("FieldToCount","Table or Query Name","Criteria")
I think VFP is much much better than Access.
>Hi everybody,
>
>What is the equivalent of:
count for myfield = 12 to myvariable
in MS Access
>
>Thank you,
>Ali