Search results

  1. S

    Multiple filters using AND?

    When filtering on multiple fields, be sure to order the table on the specified fields. If a table is ordered by day, time then filter string should also specify date first then time
  2. S

    Is it possible by sql query?

    You can use query inside query(Subquery) for calculating the number of distinct values like the following select count(select distinct <fieldname> from <tablename>) from <tablename> For the next task write a stored procedure goto first record copy the fieldvalue to a variable move to next...
  3. S

    help with sql update statement

    split the string if the number appears in between. The example is "update <tablename> set <fieldname> = " & <number> & " where <condition>"
  4. S

    Multiple filters using AND?

    Dear rainman89, the string should be like this stLinkCriteria = "[employeeID]=" & Me![employeeID] And "[dateAdded]=" & "'#" & Me![dateAdded] & "#'" DoCmd.OpenForm stDocName, , , stLinkCriteria Observe that the date field value should be enclosed in single quotes
  5. S

    link VB application to Access

    You have to declare a variable of type access application for example dim accapp as new access.application then issue the following commands accapp.OpenCurrentDatabase "yourdatabase.mdb", False accobj.DoCmd.OpenForm "your form in access", acNormal
  6. S

    Split query results

    Make two separate make-table queries.
  7. S

    Calculating % of a specific crosstab response

    May I know if the following solution helps you Include more columns in your cross-tab query for %yes and %no for each of the names
  8. S

    SQL statement for ADODB recordset.filter method

    Thanks RoyVidar. Yes the NOT IN operator doesn't work with ADODB.filter method. We have to do some round about.
  9. S

    SQL statement for ADODB recordset.filter method

    I want to use the NOT IN operator for the filter method of ADODB.recordset in VBA. Do anybody in the forum know the syntax.
Back
Top Bottom