Forms q

rlan214

Registered User.
Local time
Today, 12:07
Joined
Apr 16, 2006
Messages
21
kind of a newb question
but can I show in a form(in a box or something) a number from a querry that I created

the sql ver of my query is like this
SELECT Count(Inprocess.PartNumber) AS CountOfPartNumber
FROM Inprocess
GROUP BY Inprocess.Status
HAVING (((Inprocess.Status)=8));

thanks
 
RuralGuy said:
Have you looked at DCount()?

not really im kinda of a newb but reasearching right now

I thought that after I did a query, that I can just show my answer in a box in my form

but im reasearchin dcount
 
Set the ControlSource of your TextBox to =DCount(... and the answer will be there.
 
=DCount("PartNumber","Inprocess","Status=8")

is the answer
thanks a bunch :D
really happy now
just wondering how'd you know to use Dcount instead of count
I mean did you have reference or just flat out really great Access skills
cuz I'm trying to find a really good access book right now
 
Just time in the saddle I'm afraid. I have the wrinkles to prove it.
 
wrinkles eh or AKA wisdom marks
well either way thanks a bunch
I really appreciate
 

Users who are viewing this thread

Back
Top Bottom