-
Can you attach a copy of your template so we can take a quick peek? Under the Options tab when you reply, you can attach a file.
-
Have you checked the event viewer for any errors? What's your code look like?
-
Hi --
Can you provide a bit more information on what you are trying to do? Get the user's name? Get a list of users?
-
So there are occasions when the user's query returns no results for that table? Can you add a dummy row to the database that would always be returned?
-
I'm sorry InfoPath is making you crazy. Can you attach your xsn to your reply so we can look at it? Under the Options tab, you can attach a file.
-
Hi -- so did you publish the changed form with a new name or to a new location? If you open your xml with a text editor, you'll see an href attribute like:
href="file:///C:\Folder\TestForm.xsn"
You can change that to point to your new template. If the data structure is the same, your xml file should open correctly with the new ...
-
Hi -- is this a data base bound form? If so, you can add fields to your form from the 'query' fields section of your data source, let the users select some values, then run the query associated with the main data source. You could use a secondary data source to populate the drop downs, and just select the column you need from your table ...
-
Which object model are you using? For 2003 code, you can use an IXMLDOMNodeList to loop through your nodes:
//get the nodes
IXMLDOMNodeList nodes = thisXDocument.DOM.selectNodes("/my:myFields/my:group1/my:group2");
//loop through the nodes
foreach (IXMLDOMNode node in nodes)
{
string value = ...
-
What's the data source for the drop downs? Were you just manually entering the values? I'm wondering if you could do this using a secondary data source that has some more information in it and filtering based on the count of the repeating sections. That might get pretty tricky, though, since it sounds like you want different values in the ...
-
Well, I'd guess:
Dim dAdapt
Set dAdapt = XDocument.DataAdapters("Test1")
dAdapt.Timeout = 60 'Increase to 60 seconds - Default is 30
dAdapt.Query() 'Issue the query