-
If you wait to grab the autonumber from the database until immediatly before you submit, you should be able to stay pretty safe. As long as the retrieval of the autonumber and the submission are within a couple lines of each other, you will have less than a 1 second window for two uses to get the same autonumber. Depending on connection speed, ...
-
Hi Munmun and welcome to the forum!
The forum doesn't provide attachment functionality, so you would have to upload your image to some webspace and give us a link.
However, from what you have described you might want to use code to perform the calculations. You could attach whatever calculations you need to execute to the OnAfterChange event of ...
-
Hi Steven and welcome to the forum!
Could you describe what's happening with a little more detail? A couple questions I have are: What do you mean ''choose items based on price''? Are you changing your data filter or the displayname/value pair? Also, are you performing these calculations with rules or code?
-
What are you submitting to?
I think this will call for two data connections, one will submit all of the data fields, and the other will only submit a select few of the data fields. Then, using the same conditions that your conditional formatting uses, you can decide which data connection to use in the submission process. Another method might be ...
-
Try this:
XDocument.DOM.selectSingleNode(''/my:myFields/my:field1'').nodeName
In this case, it should return ''my:field1''.
---------------
Matt Faus
InfoPath Dev Texas
-
Check out these threads and I think you will find what you're looking for:
Check out the last few posts of this one, it provides a copy+paste solution from one of the sample forms.http://www.infopathdev.com/forums/topic.asp?TOPIC_ID=1006
http://www.infopathdev.com/forums/topic.asp?TOPIC_ID=1435
I hope this helps! Welcome to the ...
-
Cool solution! The problem in the thread was a namespace issue, but this XPath is namespace-independent. I posted a link in the other thread to this thread.
---------------
Matt Faus
InfoPath Dev Texas
-
This might be helpful:
/*------------------------------------------------------------------------------
setNil() - Empty a nillable element.
------------------------------------------------------------------------------*/
function setNil(xpath)
{
var xmlNode = getNode(xpath);
if (!xmlNode || xmlNode.text === '''')
return;
// Create ...
-
Ok, I think I see what you're trying to do now. Sorry for misunderstanding earlier.
I was working on something similiar to this recently, actually. My goal was to call an InfoPath form from within an application, passing a parameter in to switch to a specific view depending on the state of the application, receive data in InfoPath, write to XML, ...
-
I have worked with Adobe's form designer before and I know that it has really good print support. However, the input and code functionality is aweful. One idea that I had would be to use InfoPath for form filling out and Adobe to read the XML generated, and perform advanced layout for printing. I know this would be a lot of trouble, but it would ...