-
According the Xpath 2.0 spec, described at www.w3schools.com/xpath there is a ''Replace'' function. It would be good if this was added to InfoPath, along with any other functions in this spec that are not currently available.
-
When executing the following code...
<InfoPathEventHandler(MatchPath:=''/dfs:myFields/dfs:dataFields/d:tblTimeSheet/@Date'', EventType:=InfoPathEventType.OnValidate)> _
Public Sub tblTimeSheet_Date_attr_OnValidate(ByVal e As DataDOMEvent)
Dim ppStart As String
Dim ppEnd As String
Dim ppString As ...
-
An additional complication that I failed to include initially, is that the users have the option of retrieving the data from a secondary data connection that could contain an ampersand, and what I really need to be able to do is convert the & symbol to ''and'' while executing the Rule that I am using to fill in the field from the secondary data ...
-
Bonjour,
Je souhaite pouvoir créer un bouton qui provoquera le tri de données placées dans un tableau extensible.
J'ai cru comprendre dans d'autres sujets du forum qu'il fallait regarder dans un modèle de dormulaire fourni avec infoPath, ce que je n'ai pas manqué de faire.
Cependant, je n'ai pas vraiment saisi de quel exemple il s'agit et ...
-
Autre chose:
tu peux dans la propriété d'une vue choisir qu'il t'imprime une autre vue quand le user presse sur imprimer
Es-tu sure qu'il faut être sur la vue pour pouvoir l'imprimer? je ne sais pas mais si tu controlais?
++
-
Salut,
Désolé mais c'est un problème d'infopath tu ne peux changer que de vue une fois par événement!
Solution utiliser on contextchange:
tu défini une variable globale tu lui donne un 1 et dans ton context change event tu regarde si t'as variable a changé et tu change la vue et n'oublie pas de remettre ta valeur par défaut dans ta variable.
tu ...
-
You could use some code to get rid of the & character if someone enterd it to you textbox.
For example in an OnAfterChange event write the text from your textbox into a string and use the string.Replace() method and replace all & through and empty string or something.
Hope it helps
-
Nouvelle erreur dont je n'ai pas de solution.
InfoPath ne peut pas exécuter d'appels de modèle objet lié à la vue. La vue n'est pas prête.
Fichier :script.vbs
il plante sur XDocument.View.SwitchView(''Not ADH'') mais seulement lorsque je suis sur une autre vue et que je passe sur celle-ci.
as-tu une idée?
voici mon code :
Sub ...
-
Thanks, that worked!!
quote:Originally posted by drgkreddy
Hello
You should put a rule on the Date field to autopopulate the dropdown list. Rules are executed when the value in the field changes. So when the value in the date field changes the rule on it is fired to execute the autopopulate action in the dropdownlist.
I hope it helps you.
-
I would like to use the data from a field as a column in my SharePoint library and to make this work, the field must not contain an Ampersand (&) symbol. What is the best way to ensure that users don't include special characters in a field?