-
Hi all,
Is it possible to create a InfoPath Template (XSN) programatically or convert docx, doc to InfoPath Template (XSN) programatically? (Browser enabled template)
If yes please suggest me how?
-
I like your attitude :-)
As sPath is filled in from arguments, I tried this
Call ipApp.XDocuments.Open( sPath + "" , 8 )
And that works too!
Thanks for being stubborn Hilary!
Greetings,
Marc
-
Hi Patrick,
Thank you for the reply Patrick. Yes I have seen the blogs and its very impressive but the problem is I have already been long way in implementing digital signature in my project and need a possible work around to solve my problem. So could you please suggest me any work around so that I can disable that Remove option from ...
-
I'm not sure why it has to be inconvenient. You could do something like:
private XPathNavigator m_mRoot;
private XPathNavigator mRoot
{
get
{
if(m_mRoot == ...
-
Course, I can store XPathNavigator locally (So I did now), but it is inconvenient. I need for each function to create a new variable.
-
At this point your SQL command is: execute "dbo"."VCS_SP_Remaining_Pays" HireDate Because you put HireDate in quotes as a string literal.
But aside from that, date literals in SQL are a bit tricky. What happens if you use: dc.Command = 'execute "dbo"."VCS_SP_Remaining_Pays" {d ...
-
I added this line
var HireDate = XDocument.DOM.selectSingleNode("my:myFields/my:HireDate")
and I changed this
dc.Command = 'execute "dbo"."VCS_SP_Remaining_Pays" ' + "myFields/my:HireDate";
to
dc.Command = 'execute "dbo"."VCS_SP_Remaining_Pays" ' + ...
-
Let's approach one issue at a time.
[quote user="acarita"]When I preview the form and try to run it, i get the following error.
The query cannot be run for the following DataObject: PayPeriodsDataSource
InfoPath cannot run the specified query.
[0x80040E14][Microsoft OLE DB Provider for SQL Server] Line 1: Incorrect syntax near ...
-
[quote user="Jimmy"]
[quote user="acarita"]Since I was just querying the data that is there I thought it would be ok to create the secondary source.[/quote] Yes, it certainly is, but in that situation, you need to query that data source, and not the main one. Please try some code like ...
-
What you can do is store a reference to the most recently added row, which you can access later when the button is clicked:
XPathNavigator lastChanged;
int lastRowCount;
public void group2_Changed(object sender, XmlEventArgs e)
{
if (e.Site.Name.Equals("my:group2"))
...