sql - Disable Query in Access with VBA -
a coworker in accounting complaining how ran query twice , doubled values , got confused. im junior person has little vba experience. trying add code make queries in our databases can't run more once unless restart database. thinking of doing boolean check see if query has been run , if has don't allow run again. or maybe simple if statement. please let me know if have input on issue.
i couldn't find on googs either.
i think on date , session id default values in each table, code addition of both etc.
these populated, date =date() default value , sessionid dmax sessionid table, column in said query.
this sessionid table incemented startup popup form, running macro.
the primary key of each table being operated on date , sessionid not allowing dupes. dont need date, sessionid in pk.
Comments
Post a Comment