-
hi
I am trying to make the form refresh automatically after submitting data. can anyone tell me how to do that? or what is the code for refresh in javascript?
thanks
-
I saw a post from 1/17 by MFaus that stated ''You don't have to use web services, but you will have to use code. Setup your database data connection to receive data and you will still be able to write to it using XDocument.GetDOM( ''NameOfDataBaseConnection'' ). Once the database is linked in as a secondary data source it can be accessed very ...
-
I've been working on something else, sorry I'm so late.
function XDocument::OnLoad(eventObj)
{
if (XDocument.IsNew)
{
var objDataObject;
// Set a reference to the specified data object, have to use DataObjects because qryGetTicketNumber is a secondary data source.
//Run the query
objDataObject = ...
-
You could try two things.
''Touch'' the drop-down list to fire the rules:
var original = dropdown.text;
dropdown.text = '''';
dropdown.text = original;
Or, implement the rules in code and run them whenever you insert a new row. I've never personally implemented the first option, but I think it would be better because then you would only have to ...
-
Hi Lars,
its time for you to grab the keyboard and start coding ;-)
I just answered another guy about GetListItems herehttp://www.infopathdev.com/forums/topic.asp?TOPIC_ID=1664#5065
Its C# but it should get you started anyhow.
Also check the links in the same posting to MSDN. The first thing you wanna do is grab the SPPT SDK as a winhelp file ...
-
I recommend you download a web service tool like Webservice Studio 2.0http://www.gotdotnet.com/Community/UserSamples/Details.aspx?SampleGuid=65a1d4ea-0f7a-41bd-8494-e916ebc4159c
Then point it at the area/site where your list is situated:http://yourportal/yourarea/_vti_bin/lists.asmx
Then try and call GetListItems and other to get a feeling for ...
-
Hi again,
I recommend reading the SPPT or WSS SDK or check the article section of MSDN for relevant info.
In basic what you need to do is
1. in VS.NET add a web reference pointing tohttp://yourportal/subarea/_vti_bin/lists.asmx
2. use the method GetListItems(''listname/listguid'',null,null,null,null,null) <- here you can define special ...
-
I want to set up a SPS site for each employee with their time cards, expense reports, daily logs etc. But is there a way to view all of the employee reports in one spot instead of having to go to each SPS site?
If you ain't got the nuts, fold, or bluff like you do.
-
Hi Matt,
It is working! Thank you. But I faced another problem now.
My repeat table has a drop-down field with a couple rules that update two fields in the same line of the table. That rules are not fired now when I use appendChild().
Are the any way to run rules after adding lines?
Thank you,
Andrei
-
Jason, check out this page:http://blogs.msdn.com/infopath/archive/2005/06/17/430347.aspx
---------------
Matt Faus
InfoPath Dev Texas