<?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>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Its complicated</title><link>https://www.infopathdev.com:443/forums/thread/8052.aspx</link><pubDate>Thu, 20 Oct 2005 17:56:48 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:8052</guid><dc:creator>franck</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/8052.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=8052</wfw:commentRss><description>Hi,&lt;br /&gt;&lt;br /&gt;You need to look into "current()"&lt;br /&gt;Check this reference:&lt;a target="_blank" href=http://www.infopathdev.com/forums/topic.asp?TOPIC_ID=946&gt;http://www.infopathdev.com/forums/topic.asp?TOPIC_ID=946&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;&lt;br /&gt;Franck Dauché</description></item><item><title>Its complicated</title><link>https://www.infopathdev.com:443/forums/thread/5031.aspx</link><pubDate>Thu, 20 Oct 2005 06:53:19 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:5031</guid><dc:creator>absMing</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/5031.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=5031</wfw:commentRss><description>Hi,&lt;br /&gt;Thanks for your help in advance...&lt;br /&gt;On my form i have a master/detail control.  The master is contained within a scrolling region.  I have a button on the detail control which is meant to set/unset a check box on the detail control.  As per code.&lt;br /&gt;&lt;br /&gt;function btnDelete::OnClick(eventObj)&lt;br /&gt;{&lt;br /&gt;	var deleted = XDocument.DOM.selectSingleNode("/dfs:myFields/dfs:dataFields/d:PropertyLeaseDetails/@chkDeleted");&lt;br /&gt;	var resp = XDocument.UI.Confirm("Are you sure you want to deactivate this record?", 4);&lt;br /&gt;	&lt;br /&gt;	if (resp == 6 ) {&lt;br /&gt;	&lt;br /&gt;		deleted.text = true;&lt;br /&gt;		XDocument.Submit();&lt;br /&gt;		XDocument.UI.Alert("Record Deactivated!");&lt;br /&gt;		XDocument.Query();&lt;br /&gt;	}	&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;The problem is that it only unsets the first item that appears in the master section.  Regardless if you have another record selected in the master section.  Eg. if i select the last item in the master section and click on the delete button.  It will delete the first item in the masters section.  All the bloody time.&lt;br /&gt;&lt;br /&gt;ive tried objEvent.site and objEvent.source but didn't work. these are read only are they not?&lt;br /&gt;&lt;br /&gt;help pls&lt;br /&gt;</description></item></channel></rss>