473,473 Members | 2,080 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Need relevant statement operator (besides =) to find a set of characters

2 New Member
Help!! I'm a newbie to writing code for mobile data collection app.

I need help with the relevant statement in the second line of this code:

<bind nodeset="/data/Construction"/>
<bind nodeset="/data/ExplainOther" type="string" relevant="(/data/Construction = 'Other')"/>

The "Construction" field has option to select multiple choices, including a choice of 'Other'. If the user selects ONLY 'Other', the relevant statement works, and the user is presented with a screen to explain 'Other'.

If the user selects 'Brick' and 'Other', the relevant statement does not work, skips the screen to explain 'Other' and moves to the next question.

My question - is there another operator I can use in place of = to find the answer of 'Other' without exactly matching 'Other'. I'm looking for something like CONTAINS or INCLUDES.

help!
Feb 13 '11 #1
1 1427
Ruth Little
2 New Member
Happy to report that I found the answer myself <grin!>
The <bind nodeset> line needs a relevant statement with prefix of "selected" and a comma in place of the = sign. It should read as follows:

<bind nodeset="/data/ExplainOther" type="string" relevant="selected(/data/Construction, 'Other')"/>

Ruth
Feb 14 '11 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: radha | last post by:
--Table Create table tableName (Field1 int, Field2 int) Table Data Field1 Field2 1 10 2 10 3 10 1 20 2 ...
2
by: c_kubie | last post by:
Ok. Access03 isn't allowing me to import an XLS file. So I imported it into a table. Now I need to take the contents of table one and add it to table two. I'm not very access-literate. So...
3
by: MLH | last post by:
Most of you will recognize that I'm talking about Rick Fisher's product. I bought the version for Access 2.0 thirteen years ago and fell in love with it immediately. Most of you know, by virtue of...
0
by: aredo3604gif | last post by:
The user can dynamically enter and change the rule connection between objects. The rule is a "<" and so given two objects: a < b simply means that b < a can't be set, also it must be a != b. And...
7
by: Deron Meranda | last post by:
This is an optimization problem, one that occurs deep inside a loop that gets executed thousands of times. I'm looking for something in Python which would act like an identity operator, or...
6
by: rellaboyina | last post by:
Dear All, I am having some data which will be stored in XML format and this needs to be parsed using the parser module XML::Parser and XML::Parser::Expat. This data consists of some special...
3
by: webqueen79 | last post by:
When I open up my asp code in an editor, I see TONS of extra whitespace between code lines which is making the editor bomb out because it takes so long to load all the lines. When I open up the asp...
5
by: jbaranski | last post by:
I need to, ultimately, create a flatfile for exporting insurance information to a third-party vendor. Each individual is to have no more than 1 line per file, which contains their coverage...
5
by: ziycon | last post by:
I have a string and want to find any character that is lower case, any ideas how to do this, is there a function that will decipher between upper and lower case?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.