Hello, I was using a software using MS Access 2007 as database. It was working fine till morning when I got problem with MAX function. I was using a serial number to record transactions but today when I tried to enter transaction the MAX function was not giving maximum value in database. Actually I had reached to 9999 serial and when I created 10000 entry it stopped working. Now every time I try it comes up with 9999 as maximum value instead of 10000. What could be problem. I am using this query to perform function.
SQL Query= select MAX(variable) from table where variable like 'I%'.