-
Perhaps we should look a little higher level -- what exactly do you need to achieve with your code? Are you creating a new 'Order' node?
-
I was simply giving you the steps to set the Id field to 1 if there were no rows returned from your SharePoint list. I had assumed from your earlier posts that you already had your submit rules set up... you can extend the steps I posted by setting a second rule to set the Id field to the Max(Id from ShP list) + 1 if the Id from the ShP list is ...
-
Well, you simply set the value of the field to which the drop down is bound to the correct value. So, if your drop down list has the values of 'no', 'yes', and 'maybe' manually entered as the choices, and it is bound to the 'option' field, by setting the value of the option field to 'no', 'no' would ...
-
I've replied to your other post on this here.
-
Sure. Instead of using the userName() function in the formula for your file name, add a field to your form to hold the value of the initiator's username. Then, in your form open rules, set a rule to set that field to userName(). Set a condition on the rule to only set the field if it is blank. This way the first time the form is opened, the ...
-
I just tested this and it worked for me. For the /compare argument, remember that you will probably be passing in an attribute, so it will look like '@Fieldname' rather than 'd:Fieldname' or 'my:Fieldname'. Would you mind pasting in what you are setting the Command field to?
-
Hmmmm -- I just tried and all my views showed up in the list with my tables. You can always edit the SQL (in the data connection wizard, click the Edit SQL button) and change the 'from' statement to use your view.
-
Hi -- I hope I'm not oversimplifying, but can't you just use conditional formatting? I've attached an IP2007 sample....
-
Given what I can discern of your data structure, I'd bet that 'UID' should be 'my:UID'. Do you get the same error with that?
-
Let's see. Some things will change depending on the name of you data connection, data structure, etc.
Go to Tools / Form Options
Under the Open and Save section, select the Rules button
Add a new rule
For condition, navigate to your Id field from your SharePoint data connection in the first drop down
Set the second dropdown ...