kmadduri
6th January 2011, 19:42
Similar to get.screen.defaults(), is there a function to automatically save defaults without the user needing to push the save defaults button on a session?

Thanks,
Kumar Madduri

Hitesh Shah
6th January 2011, 20:04
In Baan IV there is standard choice save.defaults which u can execute in cod e using execute function. may check this in later versions also.

mark_h
6th January 2011, 20:07
When you set save defaults option the defaults get saved by doing it manually and I believe by the save an exit button. I have never tried this but I believe you could always execute(save.defaults) or something like that if you wanted to force a save.

I will warn you that sometimes defaults can go corrupt and cause other problems. For example do not save defaults in ttstpsplopen - that has caused me a number of headaches over the years. Has not happened in some time, but always have to keep it in mind.

kmadduri
6th January 2011, 20:43
Thanks. execute(save.defaults) worked.