Search results

  1. M

    Date Query Criteria

    Thanks Mark, Where should I be putting this formula? I put it under criteria, but I dont believe I am correct in doing so as it filters out all my data. I've attached what I've done on screen shot. Michael
  2. M

    Date Query Criteria

    Hi there, I have a query that returns rows a row of data everyday for around 500 clients. The first field is the extract date. As the data is monthly cummilative I would like to set a criteria for the last day of the month...what ever month or year that may be in. Is there a simple...
  3. M

    Rank If Expression

    I knew it would be something stupid. Thanks for your help, saved me a lot of time trying to suss that one out!
  4. M

    Rank If Expression

    I have made some progress and have been able to update the DB to rank deals by their date. What I cant get to work is to rank by date for a set individual. Very frustrating...I'm sure their must be a simple fix...I'm getting a mismatch on type. Any help would be much appreciated.
  5. M

    Rank If Expression

    Hi, I have created a pretty simple database to calculate sales commissions. One of the areas is on deal volumes. The BDM will get more commission on his/her 16th deal than their 15th. As such I need my query to number the each deal. I think this is essentially ranking, but I cant figure...
  6. M

    SQL Code To Define Field Format - Mismatch

    Hi, I have created an union query to pull together the same data from 2 ODBC tables (seperate countries). As there is a clash in the client number I have added a "N" prefix to differentiate NZ from Australia, as below: The problem I now have is that I get type mismatch when linking to...
  7. M

    Report Parameters Being Requested Multiple Times

    It links the "Company Name" from "CRM DATA - INTERMEDIARY" & "Intermediary Company" from "CRM DATA - CLIENT". Explaining this makes me realise they should be called the same thing! Could it be the way the relationship is set up between the tables? The same record could appear many times in...
  8. M

    Report Parameters Being Requested Multiple Times

    Ok, thanks...that makes a lot more sense. So the query is giving the outputs I want, as is the rptTrailSUB. The issue is purely with the actual rptTrail i.e. when I open it, I am asked for the date multiple times (say 28/02/2014). Very frustrating and I'm sure I must be missing something simple!
  9. M

    Report Parameters Being Requested Multiple Times

    Thanks for your fast response! I've tried to copy the revised SQL in to Expression Builder but there appears to be a character limit that prevents it from being entered fully. Should I be entereing the SQL in through a different method? A bit of a newbie here so sorry if this seems like a...
  10. M

    Report Parameters Being Requested Multiple Times

    Hi all, I set up what I thought was a simple query in my DB using it to create a report containing a subreport. I kind of works, however Access is asking me for the parameter value [Extract Date] multiple times, when in theory it should only ask once! In addition (and likely related) the...
Top Bottom