The Notebook Review forums were hosted by TechTarget, who shut down them down on January 31, 2022. This static read-only archive was pulled by NBR forum users between January 20 and January 31, 2022, in an effort to make sure that the valuable technical information that had been posted on the forums is preserved. For current discussions, many NBR forum users moved over to NotebookTalk.net after the shutdown.
Problems? See this thread at archive.org.

    MS Access help needed

    Discussion in 'Windows OS and Software' started by Destiny, Aug 8, 2008.

  1. Destiny

    Destiny Notebook Deity

    Reputations:
    211
    Messages:
    845
    Likes Received:
    0
    Trophy Points:
    30
    Hello everybody,

    do we have any MS Access gurus here :)??

    I need a bit of help, and explanation why is my thing ;) not working as I want :)

    To cut things short, in the report, I would like to display a Total for some records (currency). But when I type in something like this:
    Code:
    =Sum([Payment1 subreport].[Report]![1st Payment])+Sum([Payment2 subreport].[Report]![2nd Payment])+Sum([Payment3 subreport].[Report]![3rd Payment])
    it displays the Error msg instead of the total for this.
    I tried pulling the data from the querries instead of subreport, from the reports they land into etc. with no luck.

    If you could help me out, either PM me for more details or post here I will give more detailed explanation.

    THANKS!
     
  2. Budding

    Budding Notebook Virtuoso

    Reputations:
    1,686
    Messages:
    3,982
    Likes Received:
    0
    Trophy Points:
    105
    More details needed. What is the error? What is the schema of your database?
     
  3. flipfire

    flipfire Moderately Boss

    Reputations:
    6,156
    Messages:
    11,214
    Likes Received:
    68
    Trophy Points:
    466
    Put up the db file (w/ or w/o data) and we can all have a closer look. Make sure its virus free :)
     
  4. Destiny

    Destiny Notebook Deity

    Reputations:
    211
    Messages:
    845
    Likes Received:
    0
    Trophy Points:
    30
    Ok. My problem is in a Report called Sales All. Dont worry about some other stuff as it might not be yet finished ;)

    My biggest problem was to querry the 'main' table to extract records with payments in each month. I could do it so the records were repeated and extracted only payment from selected month. I had to do it in each separate querry. I wanted to combine these into one report so I could have the whole list of all Sales querries and then total not only for each of them but also the total of them three. See the database :)

    All other comments and suggestions are welcome :)
     

    Attached Files:

    • db.zip
      File size:
      73.8 KB
      Views:
      15