Search results

  1. moke123

    Solved Setting a field to null on Dirty

    Dirty only happens when you Dirty the form (make an entry) try the current event with Me.OT_Hours = Null
  2. moke123

    Solved Only the Document, not the Path

    DIr() or my function?
  3. moke123

    Solved Only the Document, not the Path

    to get filename from Path: Function LastElement(StrIN As String, Optional Separator As String = "\") As String Dim var var = Split(StrIN, Separator) LastElement = var(UBound(var)) End Function
  4. moke123

    Solved Only the Document, not the Path

    MDB version
  5. moke123

    Solved Only the Document, not the Path

    I would assume you would want to open the file from the listbox also. You need a list box with a couple columns and set your column count and widths to hide the path. something like this
  6. moke123

    Solved Open Folder images in Win 11

    I think the path is C:\Users\ {Your User Name} \Pictures. You can get it with : Option Compare Database Option Explicit Declare Function Get_User_Name Lib "advapi32.dll" Alias _ "GetUserNameA" (ByVal lpBuffer As String, _ nSize As Long) As Long Function GetUserName() As String...
  7. moke123

    Solved How to convert a month into a number in MS Access Query

    Another quick and easy reference https://www.techonthenet.com/access/functions/index.php
  8. moke123

    OOP in Access Applications

    In case you missed it - https://www.access-programmers.co.uk/forums/threads/access-europe-user-group-wed-2-apr-class-modules-how-why-and-when-to-use-them-in-the-real-world-anders-ebro.333737/
  9. moke123

    Virtual Reality Headsets - worth the money?

    Yes and the floor under the green moves around to give the green different contours.
  10. moke123

    Virtual Reality Headsets - worth the money?

    Glad to see you've stuck with it. Have you seen the new TGL golf? It's like a mix of VR and real life.
  11. moke123

    OOP in Access Applications

    I struggled to wrap my head around classes for a long time until MajP posted some code which somehow made it make sense. I owe him props for that. Ever since I always try converting things to classes just for fun and as a learning Tool. The things you learn along the way are invaluable. I...
  12. moke123

    This will oust the corruption of transgender

    stupid question.
  13. moke123

    This will oust the corruption of transgender

    The 2 girls in our school, one who happens to be the daughter of a close friend of mine, have a separate changing area. It's called an accommodation.
  14. moke123

    cancer research

  15. moke123

    This will oust the corruption of transgender

    I suppose you never considered that societies evolve and those "norms" may evolve with them. Respect others as you would want them to respect you.
  16. moke123

    Solved Perils Referring To A Value In Listbox By Referring To Listbox Itself (Not .SelectedItems)?

    Just be aware of a little quirk with a single value listbox. If you set the value with code it can return that value even though it is not in the listbox.
  17. moke123

    OOP in Access Applications

    sounds like you may want a data macro on the table.
  18. moke123

    Double jeopardy

    I don't see your test code above in the example and I'm not sure what your trying to do. It would seem you could just use the onload event to do all those things without iterating through the controls using got focus. TempVars!Genus = "Acacia" TempVars!Species = "binervia"...
  19. moke123

    cancer research

    It's collateral damage. https://apnews.com/article/trump-science-medicine-research-cancer-funding-university-0ef3fa47694784e47b0ecd51680410ba https://apnews.com/article/trump-nih-medical-research-funding-cut-indirect-costs-e7629d0d45d141b2ac47c54550411aff
  20. moke123

    Compile error again

    here's a quick example of the method DHookom suggested
Back
Top Bottom