Search results

  1. M

    Too few parameters error with date range

    What did you have in mind?
  2. M

    Group Running Sum in Textbox

    I don't understand why it worked by you. Could it be that since the first page consists only of the group header the second page of the report is actually regarded as the first?
  3. M

    Too few parameters error with date range

    Will this work: Set rsUnfiltered = CurrentDb.OpenRecordset(strSQL, , dbFailOnError) rsUnfiltered .Filter = "[DateUpdated] >= " & [Forms]![frmDateRange]![txtFrom] & " AND [DateUpdated] <= " & [Forms]![frmDateRange]![txtTo]
  4. M

    Too few parameters error with date range

    Do you mean using a clone?
  5. M

    Too few parameters error with date range

    Of course I am. How else would I open the recordset? Once the recordset is open how do I filter it?
  6. M

    Too few parameters error with date range

    I must be missing something, does OpenRecordset hava a where clause?
  7. M

    Group Running Sum in Textbox

    Removed all code but that line, no difference. Could it be a problem with my machine?
  8. M

    Too few parameters error with date range

    Dim rs As DAO.Recordset Dim strSQL As String Dim rpt As Report Dim strFile As String Dim strPath As String Dim strReport As String Dim strFullPath As String DoCmd.OpenReport "rptRealGrouped", acViewPreview, , , acHidden Set rpt = Reports("rptRealGrouped")...
  9. M

    Too few parameters error with date range

    How do I add it to the OpenRecordset?
  10. M

    Too few parameters error with date range

    I'm trying to set a DAO recordset to the following query: SELECT DISTINCT Temp.ID, Temp.DateUpdated FROM (SELECT DISTINCTROW B.ID,[P].[DateUpdated] FROM (tblBuyers AS B tblApartments AS P)as Temp WHERE (([Temp].[DateUpdated]) Between ([Forms]![frmDateRange]![txtFrom]) And...
  11. M

    Group Running Sum in Textbox

    It still won't show the header on the second page. (The first page is the group header, the second one is the beginning of the actual report).
  12. M

    Group Running Sum in Textbox

    Here it is.
  13. M

    Group Running Sum in Textbox

    So what do you suggest?
  14. M

    Group Running Sum in Textbox

    Thank you. I'll get right to it.
  15. M

    Group Running Sum in Textbox

    I just put the textbox in the Detail section, and code in the Section_Detail_Format event. Private Sub Section_Detail_Format(Cancel As Integer, FormatCount As Integer) If Me.txtRunSum = 1 Then Me.Section_PageHeader.Visible = False Else Me.Section_PageHeader.Visible =...
  16. M

    Group Running Sum in Textbox

    I changed the title of the thread (for better clarification) before any responses were made. I have a report which is grouped by a field called name. I want to hide the PAGE header on the first page of each group. I remember seeing a suggestion to create a group count using the Running Sum...
  17. M

    Group Running Sum in Textbox

    Sorry about the language if you need I can translate but it will take time. If the textbox is in the Detail section, it numbers the records and not the groups. For some reason the page header isn't visible on the first and second pages of each group.
  18. M

    Group Running Sum in Textbox

    I created the group before your suggestion. It serves it's own purpose, to have a header on top of the detail section on all pages. Is their a better way to do that?
  19. M

    Group Running Sum in Textbox

    Ok. The db is for a foreign client so data and captions of all controls are not in English. I hope that's ok. I just had a thought, the report uses a 'dummy' group section using the expression =1. Could that have anything to do with it? Anyway here's the file.
  20. M

    Group Running Sum in Textbox

    Is the 2010 format ok?
Back
Top Bottom