Recent content by sTrongFuse

  1. S

    Working Days v Calendar Days

    Not sure if what I'm trying to do is possible, but it's worth a try. I currently have the following code, which works fine: Private Sub Closed_AfterUpdate() Me.Status = "Closed" If Me.[Closed] <= (Me.[Received] + 1) Then Me.[24Hour] = "Yes" Else If Me.[Closed] > (Me.[Received] + 1) Then...
  2. S

    Date Ranges

    I'll take your word for that. I have to enter my dates in US format then have access convert them back to the "proper" UK format. I work for a US company and my PC has to be set up as US regional so I can access some of their systems even though I'm in the UK. It causes some strange results...
  3. S

    Date Ranges

    Thanks. Was giving me a type mismatch error but changed it to <=DateAdd("w",12,Now)and it worked fine. Cheers, T
  4. S

    Date Ranges

    OK, Very quick one. I have a report that lists the expiry dates of certain items. Control name = [ExpiryDate]. At present, my report works fine but lists the expiry date of every item in the database. What I want it to do is only return entries where the expiry date is 12 weeks or less from...
  5. S

    Filtering a filtered list...

    Actually, ignore that, the caffeine has kicked in and I've managed to fix the row source setting myself. Thanks again. T
  6. S

    Filtering a filtered list...

    OK, I get that. Next question I guess is, how do I make it stick? I have other forms where a similar approach with a single filter criteria works.
  7. S

    Filtering a filtered list...

    Turns out my thanks were premature, when I reopen the "Rules" Form, the Rule Book field has been reset back to blank...
  8. S

    Filtering a filtered list...

    Thanks. It was the " between the & and AND that was throwing me... :banghead:
  9. S

    Filtering a filtered list...

    I have three linked tables [Regulator], [RuleBook] and [Rules] (each has a corresponding form for data entry). In the "Rules" form, when you select name of the regulator, the rule books dropdown down is filtered to show only the rulebooks for that regulator. the code I use is: Private Sub...
  10. S

    Counting "Employee" and "Public"

    I possibly could, but pbaldy's one was easier as I'm familiar with the syntax of IIF but I've never used a DCount. Cheers anyway, T
  11. S

    Counting "Employee" and "Public"

    You've come to my rescue yet again. Many thanks.
  12. S

    Counting "Employee" and "Public"

    This should be (and probably is) fairly simple, but for some reason my brain has gone into meltdown and I can't figure it out. I have a fairly simple database (A2007) for recording accidents. I have built a report that, for a given date range, lists all the incidents within that time span. In...
  13. S

    Question Show currency values as £ not $

    Actually, ignore that last question, I just remembered £#,##0.00. All works fine now. Thanks for all your help. T
  14. S

    Question Show currency values as £ not $

    I tried it again today and it worked. Strange! Still can't get the comma thousands seperator though.
  15. S

    Question Show currency values as £ not $

    Odd, it works for me now. Any idea how to get the comm seperator?
Back
Top Bottom