Recent content by CJ_London

  1. C

    Solved Open Excel workbook, but have WorkBook_Open code run

    there is also debug.assert
  2. C

    What's your best/worst joke?

    A friend of mine worked for the local council (he's retired now). Their hours were something like 37 1/2 hrs/week. Any time over could be taken as time off in lieu. (TOIL!). He used to start early and finish late to avoid the traffic and typically built up 10-15 hrs/week. Enough so every year he...
  3. C

    Solved Open Excel workbook, but have WorkBook_Open code run

    What about using stop?
  4. C

    Solved to return a ID value if criteria is met

    So what if the amount is 12760? Or greater than 25520? What is the correct tax?
  5. C

    Help with my Keypad

    I think just set the format property to #0.00 will achieve that
  6. C

    Help with my Keypad

    think you need to include a 'back' button in case the user mistypes. You can also disable the period button after it has been tapped txtPeriod.enabled=instr(txtResult,".")=0 so it re-enables if the user backs over it and disable all buttons(except the back button) with...
  7. C

    Solved to return a ID value if criteria is met

    Agree with plog.simple in principle until you look at the taxes table. So I would add what would be the expected return for an employee on a pay period 12,and a paycheck of $2244? Or a paycheck of $5000? And an employee on a pay period of 26 and a paycheck of $3000?
  8. C

    Copy a form and make it a popup

    I was going by this comment Bu accept docmd is an alternative
  9. C

    Copy a form and make it a popup

    You can just use Set Popout=new frm_employees Just ensure popup property has been set at design time - it is ignored when form is opened as a subform Would still need to set some of the popout form properties such as caption and visible. Perhaps also apply any filter criteria to match the...
  10. C

    Me.Requery or Me.Recalc

    On my phone so cannot check What about using refresh? Or just recalc the required control? Sounds like the same effect you get on a scrolled textbox - it returns to the top when it loses the focus
  11. C

    How to Hide Queries Using VBA

    You mean so users cant tamper with them? And what level of security do you want? At a basic level, hide the navigation window Or right click on the query and select hidden Or prefix the query name with ‘usys’ Or Rename your file .accdr None are particularly secure as all can be easily...
  12. C

    Struggling with Data Cleaning in Python—Best Practices for Large Datasets?

    I've used sql to clean around 1m rows of data from a monthly produced excel file. Sql: Appends data to a temporary table, all fields treated as text and an indexed hash value of all fields (excluding PK) created to subsequently identify duplicates looks for and removes duplicates in the table...
  13. C

    Listbox ItemsSelected returns NULL item on first call - but not if debugging - not a DoEvent problem

    I think you will find that (perhaps because) the listbox is unbound, the underlying values have not been updated. Perhaps a poor analogy but a bit like going round the supermarket and putting things in your basket - but they aren't yours until you've been through checkout adding a Requery to...
  14. C

    Listbox ItemsSelected returns NULL item on first call - but not if debugging - not a DoEvent problem

    What event are you using to run the code? Form open? Load? Current? Listbox afterupdate? Something else?
  15. C

    Windows 11 Slowing Down Database

    it was just a suggestion - I've experienced slow performance when CPU/Memory is those sort of levels but looks like that is not the issue here
Back
Top Bottom