Syrelle
  Home FAQ Contact Sign in
 
Advanced search
MATCHING GROUPS



more...
POPULAR GROUPS

more...

found 7 articles for 0.302 sec
DCount("*", "Employees", "Position = 'Associates'") Note that I've put single quotes around the value. Exagerated for clarity, it's DCount("*", "Employees", "Position = ' Associates ' " ) -- Doug Steele, Microsoft Access MVP http://I.Am/DougSteele (no private e-mails, please) "Syrel" <Syrel@discussions.microsoft.com> wrote in message news:A0861CD8-B2E7-4A11-9DD7-5C35B013D2DA@microsoft     

Group: microsoft.public.access.reports · Group Profile · Search for Syrelle in microsoft.public.access.reports
Author: Douglas J. Steele
Date: Sep 11, 2008 14:48

oh.. thank you.. i have a follow up question, what if i have a parameters. example: select count(name) from employees where position = "associates" how can i apply this to dcount function? "Douglas J. Steele" wrote: Simplest approach would be to use the DCount function. Set the ControlSource property of the text box to =DCount("*", "Employees") Include the equal sign
Show full article (1.31Kb) · Show article thread
ouch.. can someone help figure this out. it keeps returning a -1 value. "KARL DEWEY" wrote: > Sorry, can not help you. > -- > KARL DEWEY > Build a little - Test a little > > > "Syrel" wrote: > > > Here's an example code: > > sSQL = "Select actionqueue from dpldata where actionqueue = 'Reject'" > > Call DbConn > > rs.Open sSQL, Dbase, adOpenForwardOnly, adLockOptimistic > > If     

Group: microsoft.public.access.reports · Group Profile · Search for Syrelle in microsoft.public.access.reports
Author: Syrel
Date: Sep 11, 2008 07:41

Sorry, can not help you. -- KARL DEWEY Build a little - Test a little "Syrel" wrote: Here's an example code: sSQL = "Select actionqueue from dpldata where actionqueue = 'Reject'" Call DbConn rs.Open sSQL, Dbase, adOpenForwardOnly, adLockOptimistic If rs.RecordCount 0 Then rs.MoveFirst i = 0 Do While Not rs.EOF i = i + 1 rs.MoveNext
Show full article (0.86Kb) · Show article thread
Simplest approach would be to use the DCount function. Set the ControlSource property of the text box to =DCount("*", "Employees") Include the equal sign. -- Doug Steele, Microsoft Access MVP http://I.Am/DougSteele (no private e-mails, please) "Syrel" <Syrel@discussions.microsoft.com> wrote in message news:DDBC4368-C73F-4A30-BDF3-C8807A62A625@microsoft.com... > need help guys     

Group: microsoft.public.access.reports · Group Profile · Search for Syrelle in microsoft.public.access.reports
Author: Syrel
Date: Sep 11, 2008 07:37

Here's an example code: sSQL = "Select actionqueue from dpldata where actionqueue = 'Reject'" Call DbConn rs.Open sSQL, Dbase, adOpenForwardOnly, adLockOptimistic If rs.RecordCount 0 Then rs.MoveFirst i = 0 Do While Not rs.EOF i = i + 1 rs.MoveNext Loop TxtDReject.Value = i End If Call RsClose Call DbClose THe rs.recordcount has a value of -1 eventhough
Show full article (1.51Kb) · Show article thread
Where are you seeing the minus one record count as that SQL statement will not give a count. It will display a field named 'actions' if id = 'REJECT' and that is not a count. -- KARL DEWEY Build a little - Test a little "Syrel" wrote: > why is it i get a -1 on my record count even though my query is correct. 7> > example query statement: > > select actions from mannyActions     

Group: microsoft.public.access.reports · Group Profile · Search for Syrelle in microsoft.public.access.reports
Author: KARL DEWEY
Date: Sep 9, 2008 16:31

Show full article (1.31Kb) · Show article thread
    

Group: microsoft.public.access.reports · Group Profile · Search for Syrelle in microsoft.public.access.reports
Author: Douglas J. Steele
Date: Sep 9, 2008 15:50

Show full article (0.58Kb) · Show article thread
    

Group: microsoft.public.access.reports · Group Profile · Search for Syrelle in microsoft.public.access.reports
Author: Syrel
Date: Sep 9, 2008 15:02

Show full article (1.13Kb) · Show article thread
    

Group: microsoft.public.access.reports · Group Profile · Search for Syrelle in microsoft.public.access.reports
Author: KARL DEWEY
Date: Sep 9, 2008 14:57

Show full article (0.57Kb) · Show article thread