You searched for the word(s): 2
-
Hi Shiva ! Thanks for your answer.
Unfortunately, I haven't modified anything to the "changed" event of my DateFin field. I did try to remove it and generate it again but nothing changes: the event seems to be unknown once I load the form in SharePoint....
Any ideas ?
Thanks a lot.
-
Hi,
Use the following Xpath for expression box.
xdXDocument:GetDOM("Secondary")/MarketingHierarchy/OrganizationGroup/@name[../@id = xdXDocument:get-DOM()/my:myFields/my:dropdown]
Here MarketingHierarchy is root node in secondary data source and OrganizationGroup is repeating group from which drop down is getting values. ...
-
Hey Mark.
This is a common scenario. I am guessing you are using ODC connections to databases and the limitations are driving you crazy. I have been there. Unfortunately a lot of those are still present with ODC connections in 2007.
Using a SQL backend is the best way to go. If you want to do enterprise form ...
-
HiYes. It is possible. Follow the below steps.1. Click on fx button in expression box properties.2. Click on ‘Insert a field’ in ‘Select 1 Field or Group’ window.3. Select the source from where you are getting the Id and Name in Source drop down.4. Select the ‘Name’ field and ...
-
Ok, but how can I do it by code. In VBA for example I write a SQL String like UPDATE [Table] SET [TopNumber] = 2 WHERE [Name]="Name1"
How can I handle this in Infopath if i want to define a code for an button?
-
Sure.
Add an expression box and bind it to the name field in the secondary data that is used in your dropdown.
Then add a filter ( in the lower left when picking the field) where your drop down value is equal to the ID in the secondary data.
That will then display the name where ID matches what the one picked by the user. And it will ...
-
Try adding the close as an action.
Code runs before rules if I remember correct.
Otherwise you might need some delay action in your code to allow printing to complete before the close.
-
I think you could probably do this without code too.
You obviously would need one large text box and then a repeating node with 10 rows of 65 characters each.
I would have an rowID field and then the small text field.
So on the main view they add their text blob.
When finished they select a button.
You set field actions to populate the ...
-
Hi,
Get the last record of the repeating section using last() function. In that get the one field value. If that field value is blank then set the three text box values to the repeating nodes values like
thisXDocument.DOM.selectSingleNode("/my:myFields/my:group1/my:group2[position() = last()]/my:field1").text = ...
-
Hi Guillermo.
You can have them just paste the link into a text field which then you could bind a hyperlink control to.
If they always save it in a set location they could just put the file name and the rest could default.
If you want them to be able to browse out to a file, you would need code and full-trust and greatly complicate the ...