<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Views</title><link>https://www.infopathdev.com:443/forums/42.aspx</link><description> </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: code error after deleting a view</title><link>https://www.infopathdev.com:443/forums/thread/11669.aspx</link><pubDate>Tue, 13 Mar 2007 18:03:41 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:11669</guid><dc:creator>Greg Collins</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/11669.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=42&amp;PostID=11669</wfw:commentRss><description>Glad you got that part figured out. Code is not affected by designer changes--you have to keep that up-to-date manually.&lt;br /&gt;&lt;br /&gt;Try removing the onload code (or as much as possible) and see what difference that makes. Perhaps there is something very inefficient happening.&lt;br /&gt;&lt;br /&gt;Also, if you have any OnAfterChange events, make sure that those aren't getting called numerous times due to changes you might be making in the onload code. You can set a global flag (fInOnload = true) and then check for this in your other code to avoid processing things that don't need to be processed during that time.</description></item><item><title>Re: code error after deleting a view</title><link>https://www.infopathdev.com:443/forums/thread/11668.aspx</link><pubDate>Mon, 12 Mar 2007 17:46:49 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:11668</guid><dc:creator>lou131</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/11668.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=42&amp;PostID=11668</wfw:commentRss><description>Hi,&lt;br /&gt;I resolved the issue deleting On Click functions in the On Load Event and that fixed the issue.  I guess they stayed resident after the view was deleted.&lt;br /&gt;&lt;br /&gt;I'm going crazy trying to resolve performance issues on initial load.  My form has 6 views and it takes 30 - 45 seconds to load.  After load, switching views is fine.  So I started deleted views and testing performance.  Hence my issue that I posted below.  Now that the code issue is resolved, I broke up my form into 3 separate template files and each still takes over 30 seconds to load.  &lt;br /&gt;&lt;br /&gt;I have deadlines to meet and must get the form to load in 5 seconds or less.  I'm pulling data from 4 data sources on a sharepoint site but they are rather small lists and I changed the field settings and tested in form preview with no improvement.&lt;br /&gt;&lt;br /&gt;Are there some code changes that I can make in the on load event that can speed up loading performance?</description></item><item><title>Re: code error after deleting a view</title><link>https://www.infopathdev.com:443/forums/thread/11667.aspx</link><pubDate>Mon, 12 Mar 2007 16:49:11 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:11667</guid><dc:creator>Greg Collins</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/11667.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=42&amp;PostID=11667</wfw:commentRss><description>Normally no.&lt;br /&gt;&lt;br /&gt;What is the error, have you checked around in your code to see if there was something specific to that view?</description></item><item><title>code error after deleting a view</title><link>https://www.infopathdev.com:443/forums/thread/11521.aspx</link><pubDate>Fri, 09 Mar 2007 18:56:36 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:11521</guid><dc:creator>lou131</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/11521.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=42&amp;PostID=11521</wfw:commentRss><description>Hi,&lt;br /&gt;&lt;br /&gt;I have a form with 6 views and attempted to remove some.  When I run the form in preview I get a code error.&lt;br /&gt;&lt;br /&gt;Why would I get a code error if the view has been removed.  Is there some kind of maintenance that has to be run on the form after you remove a view?&lt;br /&gt;&lt;br /&gt;Thanks&lt;br /&gt;Lou</description></item></channel></rss>