I want to run the batch file if the version on my SQL server is different than the version on my local table. Here is my code: (It's not working)
If Dlookup("Version", "localversion") <> "Dlookup("Version, "SQLversion") then
call shell("C:\program files\Maintenance\Update.bat", VBNORMALFOCUS, 1)
else
end sub
When my form loads nothing happens. Help?
If Dlookup("Version", "localversion") <> "Dlookup("Version, "SQLversion") then
call shell("C:\program files\Maintenance\Update.bat", VBNORMALFOCUS, 1)
else
end sub
When my form loads nothing happens. Help?