Recent content by rickmays

  1. R

    =sum(iif(....

    You might try: CountService: Sum(IIf([Service] In ("Good", "Bad", "Excellent"),1,0)) - this is in a query.
  2. R

    DoCmd.OpenReport--where condition

    Thanks for your help!
  3. R

    DoCmd.OpenReport--where condition

    Interesting. I've never seen a sql statement with multiple where clauses before. It must be ANDing the wherecondition with the query that's in the report's record source.
  4. R

    DoCmd.OpenReport--where condition

    Hi and thank you for your quick response. Do you have any idea where in MSDN that may be documented? I have searched, but the description I have found is very brief: WhereConditionOptionalVariantA string expression that's a valid SQL WHERE clause without the word WHERE. Thanks!
  5. R

    DoCmd.OpenReport--where condition

    Does the where condition in the OpenReport method replace the report's underlying record source query or just change/add to it. I think I am seeing evidence of the latter, but can't find it documented anywhere. Thanks!
Back
Top Bottom