Search results

  1. cheekybuddha

    Solved SQL problem

    Another thing: are all your Spell* booleans independent? (ie if one of them is true then all others must be false) Or can more than one be true at the same time?
  2. cheekybuddha

    Solved SQL problem

    Do you really need to set the value of Notes to 'Spelling' at all? Effectively it's a calculated expression based on any of your boolean fields, so can just be calculated in a query or control source.
  3. cheekybuddha

    Solved SQL problem

    WHERE OR is invalid SQL
  4. cheekybuddha

    Solved Form Combo Box Doesn’t Store Selected Value (Foreign Key Issue)

    I'm not sure I ever suggested that you shouldn't use it, George. 🤷‍♂️
  5. cheekybuddha

    Solved Form Combo Box Doesn’t Store Selected Value (Foreign Key Issue)

    This is neither a hack, nor SQL injection Doc! It's just an error in the SQL. Semi-colon is the [traditional] end of statement character - multiple statements are perfectly valid in RDBMS's that allow them. It's not injection. Injection is where you pass a poisoned value to an input in a...
  6. cheekybuddha

    Wrapping controls WithEvents in classes

    You could just set the ControlSource of txtAge to: =IIf(IsDate([txtBirthDate]), AgeFromDOB([txtBirthDate]), Null) (where AgeFromDOB() is your function that calculates age)
  7. cheekybuddha

    Wrapping controls WithEvents in classes

    Don't change it now - I always thought the mis-quote was funny (and intentional!) Edit: actually, listening to the song again, both versions are used! 🤪
  8. cheekybuddha

    VBA - SQL - As String Questions

    This will barf if strVar contains a double quote.
  9. cheekybuddha

    Closing image viewing software

    Very interesting! Must make your code feel very expensive! :ROFLMAO:
  10. cheekybuddha

    MySQL Server Question

    Your initial explanation in Post #1 gives the impression you are very unclear! A few questions: 1. Do you have a server on which you can host a MySQL instance? 2. If so, and you have set up the MySQL server, have you migrated your Access tables to MySQL 3. Do you know about ODBC connections...
  11. cheekybuddha

    Closing image viewing software

    Thanks for the clarification. (y) I don't have this version of MSPhotos to test with. What happens if you try a variation of one of Daniel Pineault's suggestions? Function OpenNEF() As Long With CreateObject("WScript.Shell").Exec("ms-photos:FilePath=D:\images\008.jpg") OpenNEF =...
  12. cheekybuddha

    Closing image viewing software

    Using Win 10 If you can get that full path then does the following open the file? Const EXE_FILE As String = "C:\Program Files\WindowsApps\Microsoft.Windows.Photos_<version>\Microsoft.Photos.exe" ' Fill in version! Const DQ As String = """" OpenNEF = Shell(EXE_FILE & " " & DQ &...
  13. cheekybuddha

    Closing image viewing software

    What might it be if it's not Photos.exe? (ie how do you determine other default programs used?) You can add these functions to a module: Function OpenNEF(PathToNEFfile As String) As Long ' TODO: add error handling Const EXE_FILE As String = "Photos.exe" Const DQ As String = """"...
  14. cheekybuddha

    Closing image viewing software

    Sorry for the delay in getting back to you. Yes, Philipp summarises in Post #6 the idea I was proposing. (y) To give a more concrete example please can you post examples of what variables sPath and sViewer (in Post #1) might contain. With that info it is quite likely you can have generic...
  15. cheekybuddha

    Closing image viewing software

    Use the PID returned by the Shell() command instead of the exe name. (Replying from my phone - will post an example when I get back to a computer)
  16. cheekybuddha

    Active / Trash - Whose responsibility is it?

    @jwcolby54 - see what I meant in Post #10 :ROFLMAO:
  17. cheekybuddha

    Is a DEcompiled ACCDB still DEcompiled after signing?

    How are they delivered? Via Wondows/Office update?
  18. cheekybuddha

    Is a DEcompiled ACCDB still DEcompiled after signing?

    Out of curiosity, what does 'support' look like while a version is still in support? Do they get updates?
Back
Top Bottom