December 31, 200520 yr Can anybody tell me if it is possible to: when i change country through the drop-down list and when i press the button print, i will have the right layout. For example; i have a costumer who lives in france, so i select the costumer and i have all the data of his address and when i press PRINT i want to have the layout for france.
December 31, 200520 yr It is doable... but what depends is how "user" friendly you want to make it. ie, pull down value = layout name. you could make a table that could store the lang you have created in your DB. If I get some time, I will look into that...I would like to use that option too in one of my DBs.
December 31, 200520 yr Ok, looks like it wouldn't be too bad at all. if you didn't want to go a head and make a seperate table for languages, then you could do: go to layout[report table:languagefield] //this is a calculation setting in the pull down menu. The calc would look something like this: case( langField="English";EnglishLayout; langField="Spanish";spanishLayout; frechlayout ) now EnglishLayout being the name of the layout... Are you familar with case() statements? the last result is if the upper calculations are not true, then do this last one for everything else. So, then the script would continue with the print() script function and anything else you needed it to do before returning to the original layout. does that help?
Create an account or sign in to comment