-
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 understand that much. I just wasn't sure what classes I use. I tried a caml string but it gives me cannot convert implicit string to call query error. I put the string variable where the 5 was. Can you give me an example with the correct syntax? Thanks
-
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.
-
You can create IP 2010 compatible forms from IP 2013 - I'm guessing your question has to do with Browser forms & an IP 2010 compat form created in IP 2013 can be used in the browser in SharePoint 2010.
-
Dear All,
I have question about compatibility. Now I used infopath 2007 and plan to upgrade to 2013. but I have used sharepoint 2010. I would like to know is it compatibility and known issue. If you have reference, please feel free to share.
Thank you
-
Hi - what version of InfoPath are you using? If 2010, SharePoint list connections have query fields available, so you can then run an equivalency query to get what you need. If you need something more complex (like column A is greater than 10 but less than 12) than equivalency or if you are not using 2010, you may want to try DBXL - it has a web ...
-
Can you set the field to a decimal data type so you can set the format on it? If not, can you use an expression box (calculated value) instead?
-
Hi, I'm having this same sort of problem, and it involves checkboxes that are filtered, my unfiltered checkboxes work just fine. The New form displays as it should and allows me to add the values in the checked boxes to the SharePoint List. When I open the list view I can see the Values, however if I attempt to view one record or edit the ...
-
I have a HUGE SharePoint List I'm pulling Data from:
22,000 List Items
~12 minutes to export to Excel
8.5MB Excel file
I am NOT saving a copy of the data in the template.
I am NOT automatically retrieving the data when the form is opened.
I setup a data connection to the list.
I have a button in my InfoPath form that ...