Search results

  1. S

    What's Causing This Query To Repeat Rows Please?

    Here's the query I have written: SELECT MemberContact.membershipno, membercontact.firstname, memberbasic.joindate, WIRecords.WIID AS WInID, wirecords.WIDate AS WInDate, DSum("daysteps","stepcount","stepsdate between #" & Format([WinDate]-1,"mm/dd/yyyy") & "# And #" & Format([WinDate]-7...
  2. S

    Hide All Form Fields Until Text Box Is Filled In

    On my form I would like to have all but 1 field ("MembershipNo") hidden until the MemberNo is entered. One of the other fields is called FirstName. I have tried the following code: Private Sub MembershipNo_AfterUpdate() If MembershipNo = "" Then Me.FirstName.Visible = False Else...
  3. S

    More Efficient Way To Write This DLookup Sum?

    I'm building a query that needs to do quite a lot of sums. As a result, its execution time is around 8 seconds - which obviously isn't great! The sums add up either 7 or 21 DLookup values - all of which I have input separately. Just wondering if there is a more efficient way of writing the sums...
  4. S

    DLookup In Query Doesn't Like Certain Dates

    I'm really confused by a query I'm building. It seems to work for most of my data, except for certain dates for some reason. Here's a simplified verion of my table (StepCount): StepsID .. MemNo ..... StepsDate ... DaySteps 1 ................... 1 .......... 20/08/2016 ..... 3434 2...
Back
Top Bottom