Search results

  1. G

    update query to convert text field mmddyy to mm/dd/yyyy

    CDate(LEFT(string,2) & "/" & MID(string,3,2) & "/" & Right(string,2))
  2. G

    Loop through a Recordset

    Here's an example: Private sub Blah () Dim dbs As DAO.Database Dim rstBlah As DAO.Recordset Set dbs = CurrentDb() Set rstBlah = dbs.OpenRecordset("Select * from tblblah", dbOpenSnapshot, dbSeeChanges) Do While Not rstBlah.EOF If rstBlah!blabbity = “snarf” then Yadda yadda End if...
  3. G

    Max of 3 values

    Iif(v1>v2,iif(v1>v3,v1,v3),iif(v2>v3,v2,v3)))
  4. G

    Access Developer Extensions (ADE) 2003

    The extensions are included with VSTO 2005. You should still be able to find a copy of this hanging around somewhere.
  5. G

    Synchronizing Combo Boxes on Forms in Access 2007

    If me.combo1 is text you should be using triple double quotes on each side of it. """ & string & """
  6. G

    how to write calculation in a access query

    Just do the math in your query as an expression field and then aggregate that column as a sum.
  7. G

    Stumped With Dates

    It looks like you have a date1 and date2 for your effective date range of your forms. In your query you could have a calculated column with an IIF function that looks like IIF(MyDate between date1 and date2, 1,0) then just select all records that return 1.
Back
Top Bottom