-
Sorry,
can't help you with your question but you need to install the InfoPath 2003 Toolkit for Visual Studio .NET to be able to use managed code. There is actually a link in the left frame of this forum from where you can download the too.
-
BTW - If you want to have the correct Calendar Week for a specific date instead of only the week number within the month you can use this. (Parts of the code I found in the net)
public int getCalendarWeek (DateTime date)
{
const int JAN = 1;
const int DEC = 12;
const int LASTDAYOFDEC = 31;
const int FIRSTDAYOFJAN = 1;
const int ...
-
Okay I got it working. The following two lines were missing.
WebServiceAdapter2 myWebAdapter = (WebServiceAdapter2)thisXDocument.DataAdapters[''NextIDNumber''];
myWebAdapter.Query();
-
Hi all,
does anybody know why the following code does not execute my Web Service ?
IXMLDOMDocument3 myDoc = (IXMLDOMDocument3)thisXDocument.GetDOM(''NextIDNumber'');
myDoc.setProperty(''SelectionNamespaces'', ''xmlns:my=\''http://schemas.microsoft.com/office/infopath/2003/myXSD/2006-06-19T07-15-47\'' ...
-
Hi,
this should be doable. Add dropdown list to your form, keeping all the actions you want to have for the form (e.g. protect)
Now for all other fields you can work with ''conditional fromating''.
You just need to ask ''If dropdownlist value'' - ''is equal to'' -''protect'' >>> disable this control. Like this you can make all controls ...
-
And please let us know what resolved your issue.
-
Can you try (sourcePhDirect != '''') instead of if (sourcePhDirect != null).
-
I would try a small workaround.
Create a new node (textfield control if you want). Set the default value to whatever you want (e.g NOT FILLED).
Then if the user fills in the ID field with a valid value (by the way you can use data validation and the matches pattern option to check if the ID is valid) set your textfield to FILLED.
Change your code ...
-
Hey Shoal,
do the following: Go to Start -> Microsoft Office and select the InfoPath application.
From the Window which opens now slect form the left side ''Design A Form''. No InfoPath is open. On the right side in the task pane select ''New form XML Document or Schema'', browse to your xml file and follow the instructions of the ...
-
Hi Fly,
check out these two links I guess they can help you (Lab9 ADO DataSet):
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/odc_ip2003_tr/html/odc_INF_Lab_04.asp
http://blogs.msdn.com/philoj/archive/2005/11/08/490200.aspx