MustangPriMe
IS-IT--Management
I'm sure this must be a simple one, but it's eluded me so far.
How can I reference the name of the SQL database I'm connected to through VB in an Access ADP?
I have a live and development versions of my database, and I need the code to do slightly different things depending on which one I'm connected to.
Rather than changing a boolean flag in the code to say whether this is the `live` release or not, I'd like it to automatically detect based upon the db name.
Thanks
How can I reference the name of the SQL database I'm connected to through VB in an Access ADP?
I have a live and development versions of my database, and I need the code to do slightly different things depending on which one I'm connected to.
Rather than changing a boolean flag in the code to say whether this is the `live` release or not, I'd like it to automatically detect based upon the db name.
Thanks