I am already doing this: lngEstimateID is the only field that I have the Count function onand am showing. On the stForm, intPage1, intPage2 and lngCustomerID I am using the where function and I am not showing these fields. Sql comes out as follows:
SELECT Count(Estimates.lngEstimateID) AS...
I am new to this Tek-Tips area, I apologize for my rudeness, if rude it was. Even though I have studied the help under totals queries, I am still recieving the message "can't group on fields selected with '*'.
I am afraid that this reply has been no help at all.
I do this in the following manner:
I put a hidden field on my form Me.intRecsH (property: Visible: No) where the bound Name is Me.intRecs (property: Visible: Yes) then I do two things in the vba code as follows:
Private Sub Form_Current()
On Error GoTo Trap
If IsNull(Me.intRecs) Or...
I have been trying to create a temp Table of the subset desired; however, I find this does not work well if there are no records. then I get an error that I trap and report back as to what, when and where this happens. I would rather create a specified # records if the COUNT is 0.
I have been...
I have been trying to create a temp Table of the subset desired; however, I find this does not work well if there are no records. then I get an error that I trap and report back as to what, when and where this happens. I would rather create a specified # records if the COUNT is 0.
I have been...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.