Recent content by DuckyMinotaur

  1. D

    Median with a date range called from a form

    Dim qdf AS DAO.QueryDef Set qdf = db.QueryDefs("previous query") qdf.Parameters("[Forms]![Form]![Date_from]") = [Forms]![Form]![Date_from] qdf.Parameters("[Forms]![Form]![Date_to]") = [Forms]![Form]![Date_to] Set rs = qdf.OpenRecordset(strSQL) maybe something like that, though I'm new to vba so...
  2. D

    Median with a date range called from a form

    Hi, I'm using the following vba to calculate the Median, and the Median Absolute Deviation Public Function DMedian(FieldName As String, _ TableName As String, _ Optional Criteria As Variant) As Variant ' Created by Roger J. Carlson ' Terms of use: You may use this function in any...
  3. D

    Using VBA to copy data from one field to another

    I've found out how to do it now I have something like Private Sub cmdMatchRecord_Click() a = form.subforma.fielda form.subformb.fieldb = a End sub I originally had the user having to copy and paste the data from one to the other and wanted to make it more user friendly
  4. D

    Using VBA to copy data from one field to another

    I can't upload my data :/
  5. D

    Using VBA to copy data from one field to another

    The problem is that the data was manually entered elsewhere and so there is errors that a human can pick up a lot easier so it needs to be a manual match
  6. D

    Using VBA to copy data from one field to another

    That's what I've done for the first one, but the user needs to manually match the other records, I was just wondering if there was a way to make it more user friendly?
  7. D

    Using VBA to copy data from one field to another

    Hi guys, I have a database where records from two tables can only be matched automatically if certain criteria are met (e.g. the name is the same and the D.O.B is the same ect...) I have a query that matches these records together if all criteria are met (this is done by copying the primary key...
Back
Top Bottom