Questions about "@" and functions in InfoPath

A

aaqqqa

I'm a SQL Server database developer who's migrating an Access database to SQL
Server 2005. I'm using InfoPath 2007 to replace the Access forms (I'm a
novice in InfoPath).

I'm using a SQL Server endpoint as the web service and only want to use
stored procedures for querying and submitting. Since I'm not a programmer,
I'm trying to avoid coding.

However, in using rules and filtering I have 2 questions that aren't really
explained in any reference books or articles that I've looked at:

1. What does "@" mean, e.g., when using it in a filter or formula? To me it
means a SQL Server input/ouput parameter or a variable. How do I know when
and how to use it?

2. Are there any good references on the definition and the use of InfoPath
functions? I've only found one Microsoft reference, but would like to find
others:

http://office.microsoft.com/en-us/infopath/HA012330391033.aspx

Thank you for the help.
 
B

BandTech

The first thing that needs to be understood about InfoPath 2007 is that by
default the data that is stored with the form is XML. As somebody is
creating a formula or looking into the XML information (fieldnames) an
attribute is characterized by using the @ symbol. So if I wanted to add the
attribute of a ModelNum 25SEL for a car Nissan Altima and I needed to filter
for the model # I would use that attribute called @ModelNum. Check out
http://www.w3schools.com/xpath/default.asp for more information about X-Path
and XML.

Hope this helps.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top