-
just another update.. i'm using the following code to populate a few fields when the form loads.. i would like to make it so when the user opens a form it will read the user name and pull any data from the database and populate the form. if it is the first time they have opened and filled out the form then there will obviously be no way to pull ...
-
Hi Sarah,
check out code on this link,http://blogs.msdn.com/infopath/archive/2005/07/09/437087.aspx
Search for ButtonGenerate_OnClick. This button converts the XML Form to a Word Document. It does not have code for sending email, but that topic has been discussed a few times in the forum, you should be able to find it easily.
Hope this helps.
-
I have a form that has rules set up in the validating to give errors if the data does not meet certain conditions. The form is giving a message ''Are you sure you want to save this form when there are errors'' or something to that effect.
Is there a way that I can tell the form to not close unless they fix the errors?
-
I got it. I added a simple XML file as a new data connection to bind to the Amount drop down, and then called the following function from the OnAfterChange....
function Test2()
{
var myDataAdapter = XDocument.DataAdapters(''Main connection'');
var strAmount = XDocument.GetDOM(''Additional'').selectSingleNode(''//Amount'').text;
var strSQLQuery ...
-
Hi. I have a project out that is using Visual Studio. When I open that project up, InfoPath 2003 comes up instead of 2007. ??? is there some add on that I need yet? I just installed the 2007 Beta version today.
-
Hi
Yes it is possible to use ''Users Role'' technology in ASP.NET apart form the user roles in GUI of IP
-
Hi jody,
as Agni truely states, SharePoint is limited in the number of fields of each datatype (for some field types such as lookup i think its no more than 2 or 3, for text boxes somewhat higher).
i can se no way to get past this in the current version of SPS, since the limitations are ''hardcoded'' in the database model.
Sharepoint 2007 has a ...
-
Follow this steps in continuation to what Suresh said above
1. Enter your Five fields in a section 1 and put a condition on this section 1 that if the value is not equal to Project1 in the drop down hide this section 1
2. Enter your 3 fields in a section 2 and put a condition on this section 2 that is the value is not equal to Project 2 hide this ...
-
Just wanted to let you know that the VSTOv3 for Office 2007 is out in beta.
VSTO (Visual Studio Tools For Office) is a must for developers who want to hook up InfoPath 2007 and the other Office producs with managed code.
WinFx runtime February CTP is required, so download this ...
-
quote:Originally posted by SamDahl
If the source xml file isn't structured as you expect it would cause your problem.
Could you post the structure and filter you are using?
Ok here goes:
<?xml version=''1.0'' encoding=''UTF-8'' ?>
- <dataroot xmlns:od=''urn:schemas-microsoft-com:officedata'' ...