So, this seems to work: test: DCount("*","Query2","Field1<5") but it gives number of records that meet the <5 (893) but for 5000 records if repeats 893?
How can I just see the count?
I have a query that has one field (number1) and I would like to retrieve the records that are less than 5. The table has about 5000 records.
So, if say 500 records meet that criteria, I want just the count or how many records.
Thanks.
I have a form (test) and I would like to open a report (records) based on the record I'm in on my form.
I would like to use a command button on my form. VBA please.
Thanks.
Does not work for me?
If [sample] < 400 Or [sample] > 500 Then [sample].ForeColor = 858083 And [sample].FontWeight = 800
The font just remains black and not bold when I put them together.
Ok, changed it to FontWeight but I can't seem to get it to be bold and color. Only works, one or the other.
[sample].FontWeight =700 (works)
[sample].ForeColor = vbBlue (works)
But not together?