Hi Folks,
I have a form that opens via AutoExec with a unbound textbox inside of it set to a default value of '1' that is locked so the user cannot change it. I have a query that runs automatically that places the max version number from a SQL linked table into a table. I am trying to figure out how to write a piece of code that would compare those two values so that if they are the same the individual can continue; otherwise, if not the indivdual is prompted with a msgbox stating their version is wrong. I am having issues/struggling with trying to figure out how to call in the value from the query/table to compare it to the textbox.
Any help would be greatly appreciated
Thank you very much,
Joe
I have a form that opens via AutoExec with a unbound textbox inside of it set to a default value of '1' that is locked so the user cannot change it. I have a query that runs automatically that places the max version number from a SQL linked table into a table. I am trying to figure out how to write a piece of code that would compare those two values so that if they are the same the individual can continue; otherwise, if not the indivdual is prompted with a msgbox stating their version is wrong. I am having issues/struggling with trying to figure out how to call in the value from the query/table to compare it to the textbox.
Any help would be greatly appreciated
Thank you very much,
Joe