We have solved this previously by adding both layouts to the DevExpress report. We can choose between the layouts by using a variable / report parameter. Depending on the value we suppress the elements that are not needed within the report. Not very suitable in case you have many different layouts, but for 2 or three this might help you. Thanks for giving us an alternative workaround for now, we’ll start with this. It would still be nice to get this as a platform feature, since doing it this way isn’t a proper solution.
I’m looking to implement this logic for my application, one thing I'm not completely sure on however is what strategy is required for this code to function.If you’re also trying to implement this script, you might also notice that there’s a slight problem on line 1declare @prefix varchar = 'rpt_lbl_'This creates a varchar of length 1 which means that later down the line your scripts will filter on where (t.tab_id like (@prefix + '%'))=>where (t.tab_id like 'r%')This might create problems for you later down the line (It did for me), so just make the prefix declaration a varchar(10) or something fitting.
Already have an account? Login
Enter your username or e-mail address. We'll send you an e-mail with instructions to reset your password.
Sorry, we're still checking this file's contents to make sure it's safe to download. Please try again in a few minutes.
Sorry, our virus scanner detected that this file isn't safe to download.