Using tabs in DEP

Please login to reply  Page: « < 1 of 1 > »
25 Jun 2010 - 20:42651
Using tabs in DEP

Hi,

I need to divide the screen DEP in two or more Tabs.
How Can I to do it? For example, one Tab to personal questions(name, address, phone number...) and another tab to job questions(company, salary, admission date...)



27 Jun 2010 - 15:37654
Set up parallel blocks

Hi

To be able to use tabs in your DEP you need to use the PARALLEL blocks setting.

1. Make sure that the sections you wish to have as Tabs are placed into their own blocks.
2. Add the PARALLEL setting to the top of your datamodel source code. In the PARALLEL setting name the blocks that you have set up.
3. In the Mode library, make sure that you have turned on the option "Show parallels on tabsheets". You will find that under Style / Options in the Mode library editor.

To put your own labels on the tabs, go to Project / Datamodel Properties (after you have prepared the datamodel) and click on the Parallels tab to insert labels there. In the labels it is possible to use replacement text from the datamodel using ^fieldname in the same way as you can use replacement text in the text of a question.

I hope this helps.

Fred



30 Jun 2010 - 13:14668

Thanks,

But I have a problem.... I use a block with parameters.
Do you know how I do to add the PARALLEL setting to the top of my datamodel source code using block with parameters?

I tried to do this:

Parallel
Empresa = emp
Receita = cap4(emp.ano_pesquisa, emp.raiz_cnpj, emp.razao_social)

"cap4" is the block with parameters.. But blaise shows a error message, a syntax error message...
Do you know the correct way to do this?

Thanks by your help



01 Jul 2010 - 00:38675
Need to put the parallel statement in the right place

Hi

It does not matter if your block has parameters or not it can still be a parallel and you do not need to supply any parameters in the parallel statement itself.

Make sure that you place the PARALLEL statement and its parts at the top of your instrument source code but place it after LAGUAGES, USES and PRIMARY statements.

If you have a parallel block that needs parameters but you do not wish to ASK the block in the main flow of questions then put the block on the path using the KEEP method. You can then put the parameters in to suit the situation.

I hope this helps.

Cheers

Fred



Please login to reply  Page: « < 1 of 1 > »