Search - InfoPath Dev Sign in | Join | Help 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 Search More Search Options Page 1 of 2 (11 items) 1 2 Next > Re: Close() not supported in OnSwitchView? Hey Greg, I gave the OnContextChange a go but unfortunatly no luck. I ended up just putting a button to close the form, as you said not ideal, but it was included strategically (if I may say so myself) so that it adds to the astetics of the view. Trying these things out is a good way to learn about the programming side of things so I ... Posted to Code (Forum) by AlphaCity7 on 03-25-2008 Re: Clear all values from fields I seem to have reached a point in my form that whenever I query a result that is not present, it disables the controls of all the dataFields in that connection. Is this normal? As a result, the removeAll() method and the query method (eg. ID = 99999) lead to the same situation, the fields become blocked and I am unable to enter back ... Posted to Code (Forum) by AlphaCity7 on 03-21-2008 Close() not supported in OnSwitchView? Hey everyone, I am performing an action in jscript everytime a certain view is chosen. So in the OnSwitchView I have placed an if statement as follows; if (XDocument.View.Name == "Email Submit") { //Perform action } My problem is I have tried placing a close() method in this if statement once ... Posted to Code (Forum) by AlphaCity7 on 03-21-2008 Clear all values from fields Hi all, I have an issue I need fixing. I wanted to clear all values in fields when the user clicks a button so I altered code (jscript) from this forum (http://www.infopathdev.com/forums/p/5914/22037.aspx#22037) to help me out as follows: var objSource = ... Posted to Code (Forum) by AlphaCity7 on 03-19-2008 A change in computer affecting my forms Hi, I have a big problem with my form. I recently changed computer. My os also changed from Windows Vista to Windows XP professional. However, since changing computers, my form has started acting strangely. First of all, some previous forms can only be opened in design mode (it says the form is a Read-Only form, although i ... Posted to General (Forum) by AlphaCity7 on 03-18-2008 Re: Email form as Attachment only Thank you Clay for your response. I liked the sound of your last trick so I created a different view for email submit (I have a pretty logo and a background image in the view, but no data) but now whenever I send this view as a notification, the body of the email is completely empty. I am switching the view in rules right ... Posted to Data Connections (Forum) by AlphaCity7 on 03-18-2008 Email form as Attachment only Hi there, I am creating a form for a client which involves sending off a half-completed form to a manager for approval who then subsequently submits the form. When he submits the form, an email notification should be automatically sent to the user who initially completed the form. This notification should not contain the form. As all ... Posted to Data Connections (Forum) by AlphaCity7 on 03-17-2008 Re: Query a secondary db via code I found this in the forums, I think it is a way to query the secondary Sql db using code without going through a web service, but as my programming is very poor to say the least, I would like a second opinion on it. Can someone help in confirming or rejecting the proposed solution? ... Posted to Data Connections (Forum) by AlphaCity7 on 02-26-2008 Query a secondary db via code Hey, I'm having some difficulty with my secondary data connection. I need to use a secondary connection to a Sql Server table to query records. At present the form takes in all records from Sql and then filters accordingly. With 45,000 or so records, it takes 1 minute to do, and this record base will increase to 100,000 shortly, so ... Posted to Data Connections (Forum) by AlphaCity7 on 02-20-2008 Re: Two connections to Sql Server Thank you so much Clay for your speedy reply, I will certainly email you. Posted to SQL Database Integration (Forum) by AlphaCity7 on 02-15-2008 Page 1 of 2 (11 items) 1 2 Next > Copyright © 2003-2019 Qdabra Software. All rights reserved.View our Terms of Use.