Hello, I've been finagling with a form that has a single button that executes some code (which it does flawlessly now). Anyway, I want to execute said code from my switchboard rather than force someone to open a form and click a button. The function is a simple one that simply calls other functions to do some minor string cleanup within my database (no parameters needed).
I have moved the code to a Module (named "Cleanup") and the sub function that I would call is called "Clean_the_database". I can't, however, figure out how to make this call from the Switchboard manager. I basically took the button code, changed it to a Public sub and should be able to call it...but I can't figure out the syntax and apparently my googling skills are weak today.
Any ideas?
I have moved the code to a Module (named "Cleanup") and the sub function that I would call is called "Clean_the_database". I can't, however, figure out how to make this call from the Switchboard manager. I basically took the button code, changed it to a Public sub and should be able to call it...but I can't figure out the syntax and apparently my googling skills are weak today.
Any ideas?