cosworth Posted December 31, 2005 Posted December 31, 2005 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.
Himitsu Posted December 31, 2005 Posted December 31, 2005 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.
Himitsu Posted December 31, 2005 Posted December 31, 2005 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?
Recommended Posts
This topic is 6995 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now