I have been bug-hunting because of some weird behaviour. But I think I have found the bug.
It is not possible to delete the default value for Year permanently. If there is no default value for Year before opening AMC, the program will set the default value for Year to current Year.
I can edit the default value to another value (like 1999) and this is remembered across sessions. But if I delete the default value for Year the program only remembers this until I restart AMC. Then default value is back to 2002.
I think this may be the cause of my original problem but I'm not sure. I had this check as part of a script:
Code: Select all
if GetField(fieldYear) = '' then
SetField(fieldYear, Value);
But the result when running the script through "Get information from script" is that AMC suggest Year = 2002 no matter what value I get from the webpage. I have also learned that it still suggest 2002 even though I have choosen another default value in preferences.