-
Can you attach your form (or a sample with what you are trying to do) under the Options tab? Sorry, it is so much easier for me when I can see the actual form...
-
I'm suggesting that you put a calculated value on your form and set it to display the value of OUTLAY_COMP. Then set the calculated value to display as decimal. Then set the format to display 2 decimal places.
-
Hi - yes, you'll probably need another preceding-sibling on group4 - my:group4[../../preceding-sibling::my:group4], I think.
-
I was just coming to ask a few questions and see you got it working! Hooray! :-)
-
Is this necessary?
clientContext.ExecuteQuery();
Isn't the items updated with oListItem.Update() ?
MSDN says that Update():
Updates the database with changes that are made to the list item.
-
Sure - you are going to need to use the FilterOwssvr command. Here's a PDF on using the command - let us know if you have any trouble.
-
Your link above appears to be about SharePoint List forms. I have InfoPath 2013 on my machine. I just opened and edited a SharePoint list form for a 2010 SharePoint site. I had no issues. For a standard browser form, you'll need to make sure you set the form's compatibility level to InfoPath 2010, which the user in the last post in the ...
-
After this line:
string value = iter.Current.Value;
You could do something like this:
int id;
Int32.TryParse(value, out id);
Then, when you add snippet 1, you'd use:
oList.GetItemById(id);
-
I cannot think of a code free way to do this in SharePoint 2007. In SharePoint 2010, filters are allowed, so this scenario is much easier.
If you don't want to write code, qRules has a command that works with an owssvr.dll data connection to add filters to it - the form would still have to be admin deployed in a SharePoint 2007 environment, ...
-
qRules can do this - and prevent you from having to write and maintain custom code.
That said, inside your loop where you are going through the checkboxes, you could just simply add snippet 1, replacing your hardcoded ID of 5 with your value variable converted to an int.