Re: [api-dev] Re: [Spam] Re: [api-dev] force the evaluation of the condition of a hidden paragraph

2008-05-21 Thread Fernand Vanrie
Michael Prochaska wrote: OK: after seeing your code its obvious that there is no problem with the conditional concept but you uses a fieldvalue from a databases table who is not yet conected to the instance where your code is running from. So the fieldvalues are unknown when running

[api-dev] Re: [Spam] Re: [api-dev] Re: [Spam] Re: [api-dev] force the evaluation of the condition of a hidden paragraph

2008-05-21 Thread Fernand Vanrie
Michael Prochaska wrote: Michael Prochaska wrote: OK: after seeing your code its obvious that there is no problem with the conditional concept but you uses a fieldvalue from a databases table who is not yet conected to the instance where your code is running from. So the fieldvalues are

Re: [api-dev] Re: [Spam] Re: [api-dev] Re: [Spam] Re: [api-dev] force the evaluation of the condition of a hidden paragraph

2008-05-21 Thread Fernand Vanrie
OK found the solution: you can not use a datbase field in the condition for hidding, instead place first a set variable field in the doc ( who can been changed by a value out of the datbabase) and then use the set varable field in de hidiing condition. first put a set variable field

Re: [api-dev] Re: [Spam] Re: [api-dev] force the evaluation of the condition of a hidden paragraph

2008-05-20 Thread Michael Prochaska
Michael Prochaska schrieb: Fernand Vanrie schrieb: Michael Prochaska wrote: Michael Prochaska wrote: What i meaned was: when the view Hidden Paragraphs not is checked the Hidden Paragraph service do NOT work, even when the condition is true ok, thanks :-) there is no

Re: [api-dev] Re: [Spam] Re: [api-dev] force the evaluation of the condition of a hidden paragraph

2008-05-20 Thread Cor Nouws
Michael Prochaska wrote (20-5-2008 18:46) Michael Prochaska schrieb: Fernand Vanrie schrieb: Michael Prochaska wrote: Michael Prochaska wrote: What i meaned was: when the view Hidden Paragraphs not is checked the Hidden Paragraph service do NOT work, even when the condition is true

Re: [api-dev] Re: [Spam] Re: [api-dev] force the evaluation of the condition of a hidden paragraph

2008-05-20 Thread Michael Prochaska
Have you tried with (from what I know by head) a condition as EQ ? I was having inconsistent results when working with conditional hidden paragraphs :-\ I think the problem is more likely on that level, than with the simple piece of code. i've tried it with the condition 1 which means

[api-dev] Re: [Spam] Re: [api-dev] force the evaluation of the condition of a hidden paragraph

2008-05-19 Thread Fernand Vanrie
Michael Prochaska wrote: Using the GUI you mustr check or uncheck 'hidden Paragraph using the dispatcher go' like sub Main rem -- rem define variables dim document as object dim dispatcher as object rem

Re: [api-dev] Re: [Spam] Re: [api-dev] force the evaluation of the condition of a hidden paragraph

2008-05-19 Thread Michael Prochaska
What i meaned was: when the view Hidden Paragraphs not is checked the Hidden Paragraph service do NOT work, even when the condition is true ok, thanks :-) there is no difference if this option is checked or not. that means i have the following situation: - checked hidden paragraph option

Re: [api-dev] Re: [Spam] Re: [api-dev] force the evaluation of the condition of a hidden paragraph

2008-05-19 Thread Michael Prochaska
Michael Prochaska wrote: What i meaned was: when the view Hidden Paragraphs not is checked the Hidden Paragraph service do NOT work, even when the condition is true ok, thanks :-) there is no difference if this option is checked or not. that means i have the following situation: -

Re: [api-dev] Re: [Spam] Re: [api-dev] force the evaluation of the condition of a hidden paragraph

2008-05-19 Thread Fernand Vanrie
Fernand Vanrie wrote: Michael Prochaska wrote: What i meaned was: when the view Hidden Paragraphs not is checked the Hidden Paragraph service do NOT work, even when the condition is true ok, thanks :-) there is no difference if this option is checked or not. that means i have the

Re: [api-dev] Re: [Spam] Re: [api-dev] force the evaluation of the condition of a hidden paragraph

2008-05-19 Thread Fernand Vanrie
Michael Prochaska wrote: Michael Prochaska wrote: What i meaned was: when the view Hidden Paragraphs not is checked the Hidden Paragraph service do NOT work, even when the condition is true ok, thanks :-) there is no difference if this option is checked or not. that means i

Re: [api-dev] Re: [Spam] Re: [api-dev] force the evaluation of the condition of a hidden paragraph

2008-05-19 Thread Michael Prochaska
Fernand Vanrie schrieb: Michael Prochaska wrote: Michael Prochaska wrote: What i meaned was: when the view Hidden Paragraphs not is checked the Hidden Paragraph service do NOT work, even when the condition is true ok, thanks :-) there is no difference if this option is