-
Hi, I'm not completly sure about this line XDocument.SaveAS(txtPath & txtName & sFileCode) it should be XDocument.SaveAS(txtPath & sFileCode & txtName)
-
Hi, no problem for developping on a local machine. If you use it on an AD it's ok. When you configure you're roles, use the syntax DOMAIN\groupname
-
You're welcome, Have a great day too!
-
Hi, here a sample of code to get value in VBS:
Dim sFileCode
sFileCode= XDocument.DOM.selectSingleNode( "/my:XPATH").text
You have to replace "/my:XPATH" by your current code Xpath.
and after that, just replace:
XDocument.SaveAs(txtPath & txtName)
By:
XDocument.SaveAs(txtPath & txtName ...
-
Hi, just a comment on that:
string selected = rows.Current.SelectSingleNode("xSelected", NamespaceManager).ValueAsBoolean.ToString();
you can just do :
string selected = rows.Current.SelectSingleNode("xSelected", NamespaceManager).Value;
it's the same and simpler.
For your current problem, You probably need to remove ...
-
Hi, on your drop down properties you display your code but the value is set to ID, that's why when you save your form ID is populated. Have a look on the print screen you have to change the @ID for @code on the value.
-
Try to remove all your code and test it, if it work add function by function until you find your error.
-
Hi, on your default value, click "Fx", select your data connection, and set a filter with progress_value = 50. Uncheck "update this value when the formula is recalculated". It should work as expected.
-
Hum, if it always connect with the default one, it mean that your current user is not member of the group or user configured in the roles.
I have some questions..
You use role with user name or group or user name from the form?
You working with AD right?
When I have trouble with roles, I use ismember.exe and I check ...
-