button action - InfoPath Dev Sign in | Join | Help in General InfoPath (Entire Site) InfoPath Dev InfoPath Dev is dedicated to bringing you the information and tools you need to be successful in your Microsoft Office InfoPath development projects. Home Blogs Forums Photos Downloads InfoPath Dev » InfoPath » General » button action button action Last post 12-02-2005 09:10 PM by franck. 2 replies. Page 1 of 1 (3 items) Sort Posts: Oldest to newest Newest to oldest Previous Next 11-09-2005 05:17 PM absMing Joined on 09-28-2005 Posts 36 button action Reply Contact Hi,I have two buttons on my form:[New Record]: Action set to New Record within the button properties[Refresh]: Action set to Refresh within the button propertiesCould someone tell what the equivalent js code is for these actions.Eg. Submit corresponds to XDocument.Submit();Refresh corresponds to??New Record corresponds to??cheeers in advance 12-02-2005 08:31 PM In reply to Shiraz Cupala Joined on 08-07-2006 Seattle, WA Posts 443 Re: button action Mark as Not AnswerMark as Answer... Reply Contact To answer this I'd need a little more information. What do you mean by "New Record" and "Refresh"? Could you explain the behavior you expect?ThanksShiraz CupalaInfoPathDev Shiraz Cupala / Microsoft InfoPath MVPQdabra® Software / Streamline data gathering to turn process into knowledge 12-02-2005 09:10 PM In reply to franck Joined on 10-03-2005 USA Posts 310 Re: button action Mark as Not AnswerMark as Answer... Reply Contact absMing,Refresh? Are you talking about secondary data source: thisXDocument.DataObjects["Secondary DataSource Name"].Query();New Record?http://www.infopathdev.com/forums/topic.asp?TOPIC_ID=1237Regards,Franck DauchéInfoPathDev Page 1 of 1 (3 items) Copyright © 2003-2019 Qdabra Software. All rights reserved.View our Terms of Use.