I'm writing a form with 3 level where each level is one page.
In the beginning if the first and second page, i create a case allowing to change from the page 1 to page 2 to page 3 without passing all case of the pages 1or 2
I use advance or skip or move, but the compiler send to me this error message:
ERROR: SKIP, MOVE, ADVANCE, or REENTER target must be in this level near line 10 in TYPE_INTERVENTION procedure
so that i can't change the page from the beginning.
Please, can someone help me for?
Thanks in advance.
HTUSER
Level change
Level change
G.VOLNY, a CSProuser from Haiti, since 2004
-
- Posts: 1801
- Joined: December 5th, 2011, 11:27 pm
- Location: Washington, DC
Re: Level change
If you want to move from one level to the next one, you have to use the endlevel function.
Why are you using multiple levels though? Most applications don't require levels and using multiple records might be sufficient for your application.
Why are you using multiple levels though? Most applications don't require levels and using multiple records might be sufficient for your application.
Re: Level change
Thanks for all. It's the second time that i'm using multiple level. Usually, i use records.
G.VOLNY, a CSProuser from Haiti, since 2004
Re: Level change
I also had supposedly the same problem ,
I have two level and I want to go from the penultimate question of the first level to the second level,
in my mind I want to make this :
"If NATL_2 = notappl then skip to itemX"; (itemX is the ID of level2) but it does not work.
I put what Greg said:
if NATL_2 = notappl then endlevel;
endif;
but this terminate the entry permanently and it makes me to the first ID (first Level)
so, how can I write this ?
I have two level and I want to go from the penultimate question of the first level to the second level,
in my mind I want to make this :
"If NATL_2 = notappl then skip to itemX"; (itemX is the ID of level2) but it does not work.
I put what Greg said:
if NATL_2 = notappl then endlevel;
endif;
but this terminate the entry permanently and it makes me to the first ID (first Level)
so, how can I write this ?
-
- Posts: 573
- Joined: July 9th, 2012, 11:32 am
- Location: Islamabad, Pakistan
Re: Level change
Dear
If you want move from one form to other form or level then use endgroup option. If you want to skip more then one level then use;
skip to variable name;
regards.
a
If you want move from one form to other form or level then use endgroup option. If you want to skip more then one level then use;
skip to variable name;
regards.
a
-
- Posts: 573
- Joined: July 9th, 2012, 11:32 am
- Location: Islamabad, Pakistan
Re: Level change
Please discard my early message. The syntax is for within level.
a.
a.
Re: Level change
Yes I did that but I get the same message you described in your first post "ERROR: SKIP, MOVE, ADVANCE, or REENTER target must be in this level near ..."
can you write me what exactly you did?
can you write me what exactly you did?
Re: Level change
Dear Adnane,
The problem has not been resolved with the endlevel function. And, as Gregory written "Why are you using multiple levels though" , i've been convicted that this is difficult or impossible to do with the cspro programming language. It's why, in my application i use multiple records instead of multiple levels.
Regards,
The problem has not been resolved with the endlevel function. And, as Gregory written "Why are you using multiple levels though" , i've been convicted that this is difficult or impossible to do with the cspro programming language. It's why, in my application i use multiple records instead of multiple levels.
Regards,
G.VOLNY, a CSProuser from Haiti, since 2004
Re: Level change
In fact, I have used two level because I need the icons that are displayed on the left of the application, I used as a filter for quick search and navigate better through the Cases, if you notice, cspro lack of flexibility in search option , there is only "Find Case" to reach any cases, while in my situation I use cspro as much as management tools and I often use a modification and it requires more flexible research option.
- Attachments
-
- Doc1.docx
- Find Case
- (65.7 KiB) Downloaded 486 times
Re: Level change
Dear Adnane,
In the Cspro's language, there's a function called SEEK. Do you tried to use it?
In the Cspro's language, there's a function called SEEK. Do you tried to use it?
G.VOLNY, a CSProuser from Haiti, since 2004