Use our Google Custom Search for best site search results.
Search
-
Hello:
Did you enter your drop down list values manually? Or are they coming from a data connection? If they are coming from a data connection, you can try the following with condiitional formatting:
Add a new condition
In the first drop down, select the group that contains your drop down list information
In the second drop down, ...
-
Hi, Phil:
I hate to ask this, but do you have a lot of time invested in your current form? If not, you may want to consider finishing your database design first and then, when you build your form, basing it on that database. You will then be able to query and submit without code. If that isn't an option, or if I haven't fully understood ...
-
Hmmm.... Okay. Have you run the project in debug to see if the setting is being pulled from the .config file? What are the errors you are getting?
-
Hello:
Here are two different links that can get you started: http://www.classdotnet.com/CsReadToByteArray.html has a code sample that reads a file (like the one on your local drive) into a byte array. This post: ...
-
Hello:
It looks as if your data source you wish to query is your main data source, so in VB.NET:
MainDataSource.QueryConnection.Execute()
All you need to do is set the values of the query fields you want to use first. So, for example, let's say you want to query your database and find a row where MATNR = field1, VKORG = field 2 and VTWEG ...
-
Hello:
I was reminded by someone else that these attachments have a header that you can use to get the name of the file. Please see this helpful blog post for more information: http://chrissyblanco.blogspot.com/2006/07/infopath-2007-file-attachment-control.html
-
Hi --
Silly question, but I maybe wasn't clear enough earlier -- I'm using ProjectName as a placeholder for the actual name of the project. When I look at the first .config you pasted in, I see that your actual project name is "ICOE_WeeklyReport" -- is that correct? And I am guessing that is still your project name. Did you ...
-
Hello:
I've done this with an open InfoPath form, connected to the Changed event on a picture control using the following code:
string time = DateTime.Now.ToString("ddMMyyyyhhmmss");
string fileName = selectedField + time;
byte[] data = Convert.FromBase64String(picBase);
//write the file
FileStream outFile = new FileStream(path ...
-
Hello:My .config looks like the first part of yours -- with my sql connection string stored in a setting element:
<applicationSettings><ProjectName.Properties.Settings>
<setting name="SQLConnectionString" ...
-
Hi, Charlie:
I would expect this line:
var selectedNode = doc.selectSingleNode("/dfs:myFields/dfs:dataFields/dfs:Project_Metrics_Library/@Project_Name=['selectedField']");
to look more like this:
var selectedNode = ...