The setvar doesn’t override the old empty value.
Hello I am trying to mak a query with two variables.
Crew and the Section.
Crew might have an empty value.
If I run query with both values entered everything is OK.
When I leave Crew empty and run query it works correct for the first time.
But after running Crew with an empty value for once it doesnt have another value.
Once you leave Crew empty it is always recognized as empty and the values you enter dont change the result.
Does anybody have any idea?
xapp:form
<xapp:edit select=“valCrewSelected”/>
<xapp:setvar name=“filterCrew” scope=“session” value=“[ID/CrewName=‘${valCrewSelected$}’]” default=“” />
<xapp:edit select=“valSection”/>
<xapp:action type=“query” arg=“/Patient${filterCrew$}[Case/Inpatient[Section=‘${valSection$}’ and Date!=‘’ and DischargeDate=‘’]] sortby [ID/Name asc)” document=“patientList” form=“dform”>
Yatanlar
</xapp:action>
</xapp:form>
X-Application Version: 3.1.3
Tamino Version : 3.1.1
Platform : Win2k,
WebContainer : Tomcat 3.3a
JDK Version : 1.3.1
[This message was edited by Christian Freytag on 21 Mar 2003 at 12:35.]
#webMethods#Tamino#API-Management