<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-1630727970934494734</id><updated>2024-02-06T21:27:22.445-05:00</updated><category term="custom theme 1.6.1"/><title type='text'>LODESTAR ASP code snippets</title><subtitle type='html'>I am creating this blog mainly for my own purposes. I have been an Oracle Utilities Consultant (LODESTAR) for the last 6 years. The LODESTAR ASP framework is very poorly documented, so I will use this blog to save all my goodies and code snippets for later use.&#xa;&#xa;If anybody else is getting any use out of this, please leave a comment.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://lodestarasp.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1630727970934494734/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://lodestarasp.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/00521066624817772872</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>23</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-1630727970934494734.post-7180701549904221045</id><published>2012-10-30T16:29:00.001-04:00</published><updated>2012-10-30T16:29:18.120-04:00</updated><title type='text'>Loading EIP on Win 7</title><content type='html'>The IIS 7 LODESTAR virtual site was never created.&lt;br /&gt;
&lt;br /&gt;
Here is what I had to check:&lt;br /&gt;
&lt;br /&gt;
Withing the add components - IIS - app dev - check all boxes&lt;br /&gt;
&lt;br /&gt;
</content><link rel='replies' type='application/atom+xml' href='http://lodestarasp.blogspot.com/feeds/7180701549904221045/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lodestarasp.blogspot.com/2012/10/loading-eip-on-win-7.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1630727970934494734/posts/default/7180701549904221045'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1630727970934494734/posts/default/7180701549904221045'/><link rel='alternate' type='text/html' href='http://lodestarasp.blogspot.com/2012/10/loading-eip-on-win-7.html' title='Loading EIP on Win 7'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/00521066624817772872</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1630727970934494734.post-8665154546070892471</id><published>2012-10-29T14:27:00.000-04:00</published><updated>2012-10-29T14:27:04.959-04:00</updated><title type='text'>New favorite place to hang out</title><content type='html'>&lt;a href=&quot;http://www.AbbottsBar.com&quot;&gt;American Restaurant&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://lodestarasp.blogspot.com/feeds/8665154546070892471/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lodestarasp.blogspot.com/2012/10/new-favorite-place-to-hang-out.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1630727970934494734/posts/default/8665154546070892471'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1630727970934494734/posts/default/8665154546070892471'/><link rel='alternate' type='text/html' href='http://lodestarasp.blogspot.com/2012/10/new-favorite-place-to-hang-out.html' title='New favorite place to hang out'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/00521066624817772872</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1630727970934494734.post-4116505586941591459</id><published>2012-05-23T18:21:00.003-04:00</published><updated>2012-05-23T18:21:33.947-04:00</updated><title type='text'>Random value in a range</title><content type='html'>Update a value in SQL Server 2008 with a random value in a range:&lt;br /&gt;
&lt;br /&gt;
ABS(CHECKSUM(NEWID())) % 300 + 110 (that will add numbers between 110 and 409&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://lodestarasp.blogspot.com/feeds/4116505586941591459/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lodestarasp.blogspot.com/2012/05/random-value-in-range.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1630727970934494734/posts/default/4116505586941591459'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1630727970934494734/posts/default/4116505586941591459'/><link rel='alternate' type='text/html' href='http://lodestarasp.blogspot.com/2012/05/random-value-in-range.html' title='Random value in a range'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/00521066624817772872</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1630727970934494734.post-7630572009720551099</id><published>2012-05-21T10:22:00.000-04:00</published><updated>2012-05-22T09:44:48.880-04:00</updated><title type='text'>Worket Custom Function</title><content type='html'>Here is how to create a custom function to manipulate 2 or more cuts in a workset in LODESTAR 1.6&lt;br /&gt;
Files needed to change:&lt;br /&gt;
FuncProg2.asp&lt;br /&gt;
functions.xsd&lt;br /&gt;
dictionary.dic&lt;br /&gt;
Function.asp&lt;br /&gt;
FunctionCuts.xslt&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;To add scalar operators: add to:&lt;/b&gt;&lt;br /&gt;
&lt;pre class=&quot;brush: xml&quot;&gt;&lt;xs:simpletype final=&quot;restriction&quot; name=&quot;IntDScaleOperation&quot;&gt;
 &lt;xs:simpleType name=&quot;IntDScaleOperation&quot; final=&quot;restriction&quot;&gt;
&lt;xs:restriction base=&quot;xs:int&quot;&gt;
&lt;xs:enumeration value=&quot;1&quot;&gt;
&lt;xs:annotation&gt;
&lt;xs:appinfo source=&quot;intdOP_S_ADD&quot;/&gt;
&lt;/xs:annotation&gt;
&lt;/xs:enumeration&gt;
&lt;xs:enumeration value=&quot;2&quot;&gt;
&lt;xs:annotation&gt;
&lt;xs:appinfo source=&quot;intdOP_S_SUBTRACT&quot;/&gt;
&lt;/xs:annotation&gt;
&lt;/xs:enumeration&gt;
&lt;xs:enumeration value=&quot;3&quot;&gt;
&lt;xs:annotation&gt;
&lt;xs:appinfo source=&quot;intdOP_S_MULTIPLY&quot;/&gt;
&lt;/xs:annotation&gt;
&lt;/xs:enumeration&gt;
&lt;xs:enumeration value=&quot;4&quot;&gt;
&lt;xs:annotation&gt;
&lt;xs:appinfo source=&quot;intdOP_S_DIVIDE&quot;/&gt;
&lt;/xs:annotation&gt;
&lt;/xs:enumeration&gt;
&lt;xs:enumeration value=&quot;23&quot;&gt;
&lt;xs:annotation&gt;
&lt;xs:appinfo source=&quot;intdOP_S_SQROOT&quot;/&gt;
&lt;/xs:annotation&gt;
&lt;/xs:enumeration&gt;
&lt;xs:enumeration value=&quot;49&quot;&gt;
&lt;xs:annotation&gt;
&lt;xs:appinfo source=&quot;intdOP_S_POW&quot;/&gt;
&lt;/xs:annotation&gt;
&lt;/xs:enumeration&gt;
&lt;/xs:restriction&gt;
&lt;/xs:simpleType&gt;
&lt;/pre&gt;&lt;br /&gt;
To create the custom function, add this to the functions.xsd file.&lt;br /&gt;
&lt;pre class=&quot;brush: xml&quot;&gt;&lt;xs:element name=&quot;CUSTOM&quot;&gt;
       &lt;xs:annotation&gt;          
            &lt;xs:appinfo&gt;Cut2 = CreateCopy();&lt;/xs:appinfo&gt;
            &lt;!--&lt;xs:appinfo&gt;Cut1.Interpolate(p.Start_Time, p.Stop_Time, p.EnterFormula, p.Status);&lt;/xs:appinfo&gt;--&gt;
       &lt;/xs:annotation&gt;
       &lt;xs:complexType&gt;
            &lt;xs:sequence&gt;
              &lt;xs:element name=&quot;Scale_Type&quot; type=&quot;IntDBlockOperation&quot;/&gt;
              &lt;xs:element name=&quot;Start_Time_Select&quot; type=&quot;IntDSelectStart&quot;/&gt;
              &lt;xs:element name=&quot;Start_Time&quot; type=&quot;xs:dateTime&quot; label=&quot;false&quot;/&gt;
              &lt;xs:element name=&quot;Stop_Time_Select&quot; type=&quot;IntDSelectStop&quot;/&gt;
              &lt;xs:element name=&quot;Stop_Time&quot; type=&quot;xs:dateTime&quot; label=&quot;false&quot;/&gt;
              &lt;xs:element name=&quot;EnterFormula&quot; type=&quot;xs:string&quot; default=&quot;&quot;/&gt;
              &lt;xs:element name=&quot;Value_Select&quot; type=&quot;IntDSelectValue&quot; default=&quot;Value&quot;/&gt;
              &lt;xs:element name=&quot;Status_Select&quot; type=&quot;IntDStatusSelect&quot; default=&quot;UseDefault&quot;/&gt;
              &lt;xs:element name=&quot;Status&quot; type=&quot;Status&quot; /&gt;
              &lt;xs:element name=&quot;defaultStatus&quot; default=&quot;J&quot; label=&quot;false&quot;/&gt;
            &lt;/xs:sequence&gt;
            &lt;xs:attribute name=&quot;separator&quot;/&gt;
        &lt;/xs:complexType&gt;
&lt;/xs:element&gt;
&lt;/pre&gt;cut 1 = current cut&lt;br /&gt;
cut 2 = cut that is created after math operation&lt;br /&gt;
cut 3 = second selected  cut for operation&lt;br /&gt;
New Function in funcprog2.asp</content><link rel='replies' type='application/atom+xml' href='http://lodestarasp.blogspot.com/feeds/7630572009720551099/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lodestarasp.blogspot.com/2012/05/worket-custom-function.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1630727970934494734/posts/default/7630572009720551099'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1630727970934494734/posts/default/7630572009720551099'/><link rel='alternate' type='text/html' href='http://lodestarasp.blogspot.com/2012/05/worket-custom-function.html' title='Worket Custom Function'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/00521066624817772872</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1630727970934494734.post-430035055756606245</id><published>2011-03-29T11:26:00.002-04:00</published><updated>2011-03-29T11:26:28.200-04:00</updated><title type='text'>CSS style for native framework date popups (date picker)</title><content type='html'>.numeric { behavior: url(/lodestar/Classic/controls/numeric.htc); ls-digits: 2; ls-decimal: .; ls-lead: ; ls-validrange: &quot;Valid range is&quot;;}&lt;br /&gt;
.date { behavior: url(/lodestar/Classic/controls/date.htc); ls-delimiter: /; ls-popupfolder: /lodestar/Classic; ls-posdate: 1; ls-posmonth: 0; ls-posyear: 2; ls-maskabbrev: dd,MM,yyyy,HH,mm,ss; ls-validrange: &quot;Valid mask is&quot;; ls-months: &quot;January,February,March,April,May,June,July,August,September,October,November,December&quot;; ls-days: &quot;Sun,Mon,Tue,Wed,Thu,Fri,Sat&quot;; ls-navtitle: &quot;Previous Month,Next Month,Previous Year, Next Year, Click to select month, Click to select year&quot;; ls-p_clear: Clear; ls-p_today: Today;}&lt;br /&gt;
.datetime { behavior: url(/lodestar/Classic/controls/datetime.htc); ls-sdate: /; ls-stime: :; ls-popupfolder: /lodestar/Classic; ls-posdate: 1; ls-posmonth: 0; ls-posyear: 2; ls-maskabbrev: dd,MM,yyyy,HH,mm,ss; ls-validrange: &quot;Valid mask is&quot;; ls-months: &quot;January,February,March,April,May,June,July,August,September,October,November,December&quot;; ls-days: &quot;Sun,Mon,Tue,Wed,Thu,Fri,Sat&quot;; ls-navtitle: &quot;Previous Month,Next Month,Previous Year, Next Year, Click to select month, Click to select year&quot;; ls-p_clear: Clear; ls-p_today: Today; ls-dayend: End of Day;}&lt;br /&gt;
.monthyear { behavior: url(/lodestar/Classic/controls/monthyear.htc); ls-delimiter: /; ls-maskabbrev: dd,MM,yyyy,HH,mm,ss; ls-validrange: &quot;Valid mask is&quot;; ls-months: &quot;January,February,March,April,May,June,July,August,September,October,November,December&quot;; ls-days: &quot;Sun,Mon,Tue,Wed,Thu,Fri,Sat&quot;; ls-navtitle: &quot;Previous Month,Next Month,Previous Year, Next Year, Click to select month, Click to select year&quot;; ls-p_clear: Clear; ls-p_today: Today;}</content><link rel='replies' type='application/atom+xml' href='http://lodestarasp.blogspot.com/feeds/430035055756606245/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lodestarasp.blogspot.com/2011/03/css-style-for-native-framework-date.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1630727970934494734/posts/default/430035055756606245'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1630727970934494734/posts/default/430035055756606245'/><link rel='alternate' type='text/html' href='http://lodestarasp.blogspot.com/2011/03/css-style-for-native-framework-date.html' title='CSS style for native framework date popups (date picker)'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/00521066624817772872</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1630727970934494734.post-2064832425697081315</id><published>2010-12-06T14:05:00.002-05:00</published><updated>2010-12-06T14:08:27.530-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="custom theme 1.6.1"/><title type='text'>Custom Theme in 1.6.1</title><content type='html'>Create folder under App_Themes, then modify or add Custom.ThemeTab, this file controls where the custom theme will appear.</content><link rel='replies' type='application/atom+xml' href='http://lodestarasp.blogspot.com/feeds/2064832425697081315/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lodestarasp.blogspot.com/2010/12/custom-theme-in-161.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1630727970934494734/posts/default/2064832425697081315'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1630727970934494734/posts/default/2064832425697081315'/><link rel='alternate' type='text/html' href='http://lodestarasp.blogspot.com/2010/12/custom-theme-in-161.html' title='Custom Theme in 1.6.1'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/00521066624817772872</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1630727970934494734.post-5975434439718316812</id><published>2009-05-12T17:17:00.002-04:00</published><updated>2009-05-12T17:21:12.028-04:00</updated><title type='text'>Window.onLoad problems</title><content type='html'>Not related to LODESTAR development but something that annoyed the hell out of me.&lt;br /&gt;On one my pages the Body onLoad stop working, did not fire anymore.&lt;br /&gt;So I used the script window.onload = function.&lt;br /&gt;but first I used window.onload = function() and get a error message &lt;br /&gt;not implemented&#39; javascript error&lt;br /&gt;BECAUSE I USED THE PARENTHESES ........WTF!!&lt;br /&gt;&lt;br /&gt;correct syntax = window.onload = function</content><link rel='replies' type='application/atom+xml' href='http://lodestarasp.blogspot.com/feeds/5975434439718316812/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lodestarasp.blogspot.com/2009/05/windowonload-problems.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1630727970934494734/posts/default/5975434439718316812'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1630727970934494734/posts/default/5975434439718316812'/><link rel='alternate' type='text/html' href='http://lodestarasp.blogspot.com/2009/05/windowonload-problems.html' title='Window.onLoad problems'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/00521066624817772872</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1630727970934494734.post-8755478852204184075</id><published>2009-02-19T11:31:00.002-05:00</published><updated>2009-02-19T11:35:39.595-05:00</updated><title type='text'>Add paging</title><content type='html'>var PageParams1  = new PageParams(&lt;br /&gt;  [&quot;SessionId&quot;, String, &quot;&quot;],&lt;br /&gt;  [&quot;Command&quot;,  String, &quot;&quot;],&lt;br /&gt;  [&quot;PAGENUMBER&quot;,    String, &quot;1&quot;],&lt;br /&gt;  [&quot;ROWPERPAGE&quot;,    String, &quot;3&quot;]&lt;br /&gt;&lt;br /&gt;TableParams.ROWPERPAGE = PageParams1.ROWPERPAGE;&lt;br /&gt;TableParams.PAGENUMBER = PageParams1.PAGENUMBER;&lt;br /&gt;&lt;br /&gt;xmlTable = LsdbCommand(&quot;LSDB.stored_proc&quot;, TableParams);&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;in code:&lt;br /&gt;&lt;%=Paginator(TableParams[&quot;ROWPERPAGE&quot;], TableParams[&quot;PAGENUMBER&quot;])%&gt;</content><link rel='replies' type='application/atom+xml' href='http://lodestarasp.blogspot.com/feeds/8755478852204184075/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lodestarasp.blogspot.com/2009/02/add-paging.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1630727970934494734/posts/default/8755478852204184075'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1630727970934494734/posts/default/8755478852204184075'/><link rel='alternate' type='text/html' href='http://lodestarasp.blogspot.com/2009/02/add-paging.html' title='Add paging'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/00521066624817772872</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1630727970934494734.post-5954609238726017910</id><published>2009-01-16T20:43:00.006-05:00</published><updated>2009-01-16T20:56:22.561-05:00</updated><title type='text'>Book Suggestion</title><content type='html'>&lt;a target=&quot;_blank&quot; href=&quot;http://www.amazon.com/gp/redirect.html?ie=UTF8&amp;location=http%3A%2F%2Fwww.amazon.com%2FOracle-PL-SQL-Programming-4th%2Fdp%2F0596009771%3Fie%3DUTF8%26s%3Dbooks%26qid%3D1232157155%26sr%3D8-2&amp;tag=itsmorethanso-20&amp;linkCode=ur2&amp;camp=1789&amp;creative=9325&quot;&gt;&lt;img style=&quot;margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 244px; height: 320px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjkhm2cS8EpfK4WUI75xq_hHsuRbKqZoOfaV-v66XGsF_lr99P9THRrrG_JqbcxHAoC-8qtJItqECfVPJcjCee2_OMioe8H0i3A1cvMDuErmRuEry4PD8xJE0fhrWsiKy_iATm9aTwoTNo/s320/OR_pl-sql-prog_4ed.jpg&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5292073180160891058&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;Once a while I will be including some books that I think are helpful on your way to become a better developer.&lt;br /&gt;Here is the first suggestion.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-size:130%;&quot;&gt;&lt;a target=&quot;_blank&quot; href=&quot;http://www.amazon.com/gp/redirect.html?ie=UTF8&amp;location=http%3A%2F%2Fwww.amazon.com%2FOracle-PL-SQL-Programming-4th%2Fdp%2F0596009771%3Fie%3DUTF8%26s%3Dbooks%26qid%3D1232157155%26sr%3D8-2&amp;tag=itsmorethanso-20&amp;linkCode=ur2&amp;camp=1789&amp;creative=9325&quot;&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Oracle PL/SQL Programming, 4th Edition&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Product Description&lt;/span&gt;&lt;br /&gt;For the past ten years, O&#39;Reilly&#39;s &quot;Oracle PL/SQL Programming&quot; has been the bestselling book on PL/SQL, Oracle&#39;s powerful procedural language. Packed with examples and helpful recommendations, the book has helped everyone--from novices to experienced developers, and from Oracle Forms developers to database administrators--make the most of PL/SQL.&lt;br /&gt;&lt;br /&gt;The fourth edition is a comprehensive update, adding significant new content and extending coverage to include the very latest Oracle version, Oracle Database 10&quot;g&quot; Release 2. It describes such new features as the PL/SQL optimizing compiler, conditional compilation, compile-time warnings, regular expressions, set operators for nested tables, nonsequential collections in FORALL, the programmer-defined quoting mechanism, the ability to backtrace an exception to a line number, a variety of new built-in packages, and support for IEEE 754 compliant floating-point numbers.&lt;br /&gt;&lt;br /&gt;The new edition adds brand-new chapters on security (including encryption, row-level security, fine-grained auditing, and application contexts), file, email, and web I/O (including the built-in packages DBMS_OUTPUT, UTL_FILE, UTL_MAIL, UTL_SMTP, and UTL_HTTP) and globalization and localization.&lt;br /&gt;&lt;br /&gt;Co-authored by the world&#39;s foremost PL/SQL authority, Steven Feuerstein, this classic reference provides language syntax, best practices, and extensive code, ranging from simple examples to complete applications--making it a must-have on your road to PL/SQL mastery. A companion web site contains many more examples and additional technical content for enhanced learning.</content><link rel='replies' type='application/atom+xml' href='http://lodestarasp.blogspot.com/feeds/5954609238726017910/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lodestarasp.blogspot.com/2009/01/book-suggestion.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1630727970934494734/posts/default/5954609238726017910'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1630727970934494734/posts/default/5954609238726017910'/><link rel='alternate' type='text/html' href='http://lodestarasp.blogspot.com/2009/01/book-suggestion.html' title='Book Suggestion'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/00521066624817772872</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjkhm2cS8EpfK4WUI75xq_hHsuRbKqZoOfaV-v66XGsF_lr99P9THRrrG_JqbcxHAoC-8qtJItqECfVPJcjCee2_OMioe8H0i3A1cvMDuErmRuEry4PD8xJE0fhrWsiKy_iATm9aTwoTNo/s72-c/OR_pl-sql-prog_4ed.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1630727970934494734.post-5956222569025960005</id><published>2009-01-16T20:23:00.001-05:00</published><updated>2009-01-16T20:23:55.001-05:00</updated><title type='text'>Check for unsaved data and display a confirmation message if so</title><content type='html'>&lt;span xmlns=&#39;&#39;&gt;&lt;p&gt;Below id the Link function and the necessary parameters that will make it work:&lt;br /&gt;&lt;/p&gt;&lt;p style=&#39;margin-left: 36pt&#39;&gt;&lt;span style=&#39;font-size:10pt&#39;&gt;function ContractBasicsSave(){&lt;br/&gt;    Form1.Command.value = &quot;Save&quot;;&lt;br/&gt;    isPostBack = true;&lt;br/&gt;    Form1.submit();&lt;br/&gt;}&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&#39;margin-left: 36pt&#39;&gt;&lt;span style=&#39;font-size:10pt&#39;&gt;&lt;span style=&#39;color:blue&#39;&gt;var isPostBack = false;&lt;br/&gt;var WarnDiscard = &quot;&amp;lt;%=Proxy1.i18n.FM(&quot;WarnDiscardChanges&quot;)%&amp;gt;&quot;;&lt;br/&gt;var WarnSave = &quot;&amp;lt;%=Proxy1.i18n.FM(&quot;WarnSaveChanges&quot;)%&amp;gt;&quot;;&lt;br/&gt;var WarnDelete = &quot;&amp;lt;%=Proxy1.i18n.FM(&quot;WarnDelete&quot;)%&amp;gt;&quot;;&lt;br/&gt;var ExcludeItems = {&quot;SPANSIZE&quot;: &quot;SPANSIZE&quot;, &quot;GraphStatus&quot;: &quot;GraphStatus&quot; };&lt;br/&gt;function checkChanges(url,cmdSave,cmdNoSave,noprompt) {&lt;br/&gt;    if ((!isPostBack) &amp;amp;&amp;amp; IsDirty(ExcludeItems) &amp;amp;&amp;amp; (noprompt || confirm(WarnSave))) {&lt;br/&gt;        Form1.action = url;&lt;br/&gt;        &lt;/span&gt;ContractBasicsSave();&lt;br/&gt;&lt;span style=&#39;color:blue&#39;&gt;        //NavLink(cmdSave, url);&lt;br/&gt;    } &lt;br/&gt;    else {&lt;br/&gt;        //NavLink(cmdNoSave, url);&lt;br/&gt;    }&lt;br/&gt;}&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;Call the function from the Body OnUnload Event.  &lt;br/&gt;&lt;span style=&#39;font-size:10pt&#39;&gt;&amp;lt;body onunload=&quot;javascript:checkChanges(&#39;../zExelon/ContractBasics.asp&#39;, &#39;Save&#39;)&quot;&amp;gt;&lt;/span&gt;&lt;br /&gt;			&lt;/p&gt;&lt;p&gt;Make sure you manage the &lt;strong&gt;isPostBack&lt;/strong&gt; variable.  Every time you do a Postback, you need to set it to true so the message does not fire off if you are doing a postback.&lt;br /&gt;&lt;/p&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://lodestarasp.blogspot.com/feeds/5956222569025960005/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lodestarasp.blogspot.com/2009/01/check-for-unsaved-data-and-display.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1630727970934494734/posts/default/5956222569025960005'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1630727970934494734/posts/default/5956222569025960005'/><link rel='alternate' type='text/html' href='http://lodestarasp.blogspot.com/2009/01/check-for-unsaved-data-and-display.html' title='Check for unsaved data and display a confirmation message if so'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/00521066624817772872</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1630727970934494734.post-5768787894874573261</id><published>2009-01-16T20:02:00.001-05:00</published><updated>2009-01-16T20:02:21.365-05:00</updated><title type='text'>Error Messages </title><content type='html'>&lt;span xmlns=&#39;&#39;&gt;&lt;p&gt;} catch (e) { &lt;strong&gt;ReportError(e)&lt;/strong&gt;; } &lt;br /&gt;&lt;/p&gt;&lt;p style=&#39;margin-left: 72pt&#39;&gt;– This displays an error message (with red font color and yellow background) wherever it is placed.  You can also call this function right after the transaction hyperlinks by inserting the following code: &lt;strong&gt;&amp;lt;%if (saveError) ReportError(saveError)%&amp;gt;&lt;/strong&gt;&lt;br /&gt;			&lt;/p&gt;&lt;p&gt;Error message for required field: &quot;Required field have missing values&quot;.  &lt;br/&gt;You can use the alert window to display this.  Required fields have an asterisk (*) beside it (example: * Start Time).&lt;br /&gt;&lt;/p&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://lodestarasp.blogspot.com/feeds/5768787894874573261/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lodestarasp.blogspot.com/2009/01/error-messages.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1630727970934494734/posts/default/5768787894874573261'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1630727970934494734/posts/default/5768787894874573261'/><link rel='alternate' type='text/html' href='http://lodestarasp.blogspot.com/2009/01/error-messages.html' title='Error Messages '/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/00521066624817772872</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1630727970934494734.post-2577389479542299242</id><published>2009-01-16T19:58:00.001-05:00</published><updated>2009-01-16T19:58:53.326-05:00</updated><title type='text'>Status Messages </title><content type='html'>&lt;span xmlns=&#39;&#39;&gt;&lt;p&gt;Call the function &lt;strong&gt;ReportStatus(s) &lt;/strong&gt;– this is just a simple formatted Response.Write function.&lt;br /&gt;&lt;/p&gt;&lt;p style=&#39;margin-left: 36pt&#39;&gt;&lt;span style=&#39;font-size:10pt&#39;&gt;function ReportStatus(s) {&lt;br/&gt;    Response.Write(&quot;&amp;lt;div class=StatusBox&amp;gt;&quot; + s + &quot;&amp;lt;/div&amp;gt;&quot;);&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&#39;margin-left: 36pt&#39;&gt;&lt;span style=&#39;font-size:10pt&#39;&gt;}&lt;/span&gt;&lt;br /&gt;			&lt;/p&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://lodestarasp.blogspot.com/feeds/2577389479542299242/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lodestarasp.blogspot.com/2009/01/status-messages.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1630727970934494734/posts/default/2577389479542299242'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1630727970934494734/posts/default/2577389479542299242'/><link rel='alternate' type='text/html' href='http://lodestarasp.blogspot.com/2009/01/status-messages.html' title='Status Messages '/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/00521066624817772872</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1630727970934494734.post-4855954508303721004</id><published>2009-01-16T18:56:00.001-05:00</published><updated>2009-01-16T18:56:48.981-05:00</updated><title type='text'>Comparing dates in client-side script</title><content type='html'>&lt;span xmlns=&#39;&#39;&gt;&lt;p&gt;&lt;br /&gt; &lt;/p&gt;&lt;p&gt;You need to convert them to a &lt;strong&gt;Date&lt;/strong&gt; object.  You might also need to convert it to &lt;strong&gt;IsoDate&lt;/strong&gt; format.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&#39;font-size:10pt&#39;&gt;var myCQAStart = new Date(Form1.tCQAStartDate.value);&lt;br/&gt;    var myCQAStop = new Date(Form1.tCQAStopDate.value);&lt;br/&gt;    var myCQAMin = new Date(&lt;strong&gt;IsoDate&lt;/strong&gt;(Form1.minStartTime.value));&lt;br/&gt;    var myCQAMax = new Date(&lt;strong&gt;IsoDate&lt;/strong&gt;(Form1.maxStopTime.value));&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&#39;font-size:10pt&#39;&gt;    if (myCQAStart &amp;lt; myCQAMin){&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&#39;font-size:10pt&#39;&gt;        alert(&quot;Start Date comes before than the earliest Start Time.&quot;);&lt;br/&gt;        return false;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&#39;font-size:10pt&#39;&gt;    }&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&#39;margin-left: 36pt&#39;&gt;&lt;span style=&#39;font-size:10pt&#39;&gt;if (myCQAStop &amp;gt; myCQAMax){&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&#39;font-size:10pt&#39;&gt;        alert(&quot;Stop Date comes after than the latest Stop Time.&quot;);&lt;br/&gt;        return false;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&#39;font-size:10pt&#39;&gt;    }&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://lodestarasp.blogspot.com/feeds/4855954508303721004/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lodestarasp.blogspot.com/2009/01/comparing-dates-in-client-side-script.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1630727970934494734/posts/default/4855954508303721004'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1630727970934494734/posts/default/4855954508303721004'/><link rel='alternate' type='text/html' href='http://lodestarasp.blogspot.com/2009/01/comparing-dates-in-client-side-script.html' title='Comparing dates in client-side script'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/00521066624817772872</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1630727970934494734.post-5582787414940586873</id><published>2009-01-16T18:55:00.001-05:00</published><updated>2009-01-16T18:55:00.743-05:00</updated><title type='text'>Comparing dates in the xsl file (in the SQL statement)</title><content type='html'>&lt;span xmlns=&#39;&#39;&gt;&lt;p&gt;Use the Oracle &lt;strong&gt;to_date&lt;/strong&gt; function.  If you are using an ISO date (if you called &lt;strong&gt;DateIso()&lt;/strong&gt; from &lt;strong&gt;ccs/common.js&lt;/strong&gt;), you must use the date format &#39;&lt;strong&gt;YYYY-MM-DD&quot;T&quot;HH24:MI:SS&#39;&lt;/strong&gt;&lt;br /&gt;			&lt;/p&gt;&lt;p style=&#39;margin-left: 36pt&#39;&gt;&lt;span style=&#39;font-size:10pt&#39;&gt;AND (CREATETIME = to_date(&#39;&amp;lt;xsl:value-of select=&quot;@CREATETIME&quot;/&amp;gt;&#39;,&#39;YYYY-MM-DD&quot;T&quot;HH24:MI:SS&#39;)) &lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://lodestarasp.blogspot.com/feeds/5582787414940586873/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lodestarasp.blogspot.com/2009/01/comparing-dates-in-xsl-file-in-sql.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1630727970934494734/posts/default/5582787414940586873'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1630727970934494734/posts/default/5582787414940586873'/><link rel='alternate' type='text/html' href='http://lodestarasp.blogspot.com/2009/01/comparing-dates-in-xsl-file-in-sql.html' title='Comparing dates in the xsl file (in the SQL statement)'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/00521066624817772872</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1630727970934494734.post-9096225076391890721</id><published>2009-01-16T18:54:00.001-05:00</published><updated>2009-01-16T18:54:05.763-05:00</updated><title type='text'>Getting the current date</title><content type='html'>&lt;span xmlns=&#39;&#39;&gt;&lt;p&gt;Use &lt;strong&gt;DateIso()&lt;/strong&gt;.  This is similar to &lt;strong&gt;Now()&lt;/strong&gt; in ASP.  Using DateIso() ensures that you are using the correct date format for Lodestar.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;To split the date use:&lt;br /&gt;&lt;/p&gt;&lt;p&gt;var dt_array=DateIso().split(&quot;T&quot;);&lt;br /&gt;&lt;/p&gt;&lt;p&gt;var newDate = dt_array[0]+&quot; &quot;+dt_array[1];&lt;br /&gt;&lt;/p&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://lodestarasp.blogspot.com/feeds/9096225076391890721/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lodestarasp.blogspot.com/2009/01/getting-current-date.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1630727970934494734/posts/default/9096225076391890721'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1630727970934494734/posts/default/9096225076391890721'/><link rel='alternate' type='text/html' href='http://lodestarasp.blogspot.com/2009/01/getting-current-date.html' title='Getting the current date'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/00521066624817772872</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1630727970934494734.post-4641676394971437050</id><published>2009-01-16T18:52:00.000-05:00</published><updated>2009-01-16T18:53:12.011-05:00</updated><title type='text'>Numeric text box</title><content type='html'>Set the class = “numeric” in your input field.</content><link rel='replies' type='application/atom+xml' href='http://lodestarasp.blogspot.com/feeds/4641676394971437050/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lodestarasp.blogspot.com/2009/01/numeric-text-box.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1630727970934494734/posts/default/4641676394971437050'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1630727970934494734/posts/default/4641676394971437050'/><link rel='alternate' type='text/html' href='http://lodestarasp.blogspot.com/2009/01/numeric-text-box.html' title='Numeric text box'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/00521066624817772872</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1630727970934494734.post-2234466044102484022</id><published>2009-01-16T18:21:00.001-05:00</published><updated>2009-01-16T18:21:00.815-05:00</updated><title type='text'>Looping through an XML object generated by LsdbCommand </title><content type='html'>&lt;span xmlns=&#39;&#39;&gt;&lt;p&gt;The xml object created by the function &lt;strong&gt;LsdbCommand&lt;/strong&gt; is actually an &lt;strong&gt;XMLDOM&lt;/strong&gt; object so you can use the XMLDOM commands to manipulate the object.  &lt;strong&gt;getElementsByTagName(&lt;em&gt;element&lt;/em&gt;)&lt;/strong&gt; instantiates your Element object from which you can extract the &lt;strong&gt;.length&lt;/strong&gt; (how many times to loop) and also as a repository of your values.  Loop through the XML using the &lt;strong&gt;.length&lt;/strong&gt; value then use the Element object to extract your data.  In the case below, .&lt;strong&gt;getAttribute(&lt;em&gt;attributename&lt;/em&gt;)&lt;/strong&gt; was used to pull the data.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;    &lt;span style=&#39;font-size:10pt&#39;&gt;&lt;strong&gt;&amp;lt;!--This is the command we use in Lodestar to extract data from a stored procedure in the XSL file--&amp;gt;&lt;br/&gt;&lt;/strong&gt;    xmlTable = LsdbCommand(&quot;LSDB.sp-get-contractitem&quot;,{&quot;UIDCONTRACT&quot;:PageParams1.UIDCONTRACT});&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&#39;margin-left: 36pt&#39;&gt;&lt;span style=&#39;font-size:10pt&#39;&gt;&lt;strong&gt;&amp;lt;!--Get a hold of the record Element in the XML so know how many times you&#39;re looping around it--&amp;gt;&lt;br/&gt;&lt;/strong&gt;xElement = xmlTable.getElementsByTagName(&quot;qrySel&quot;);&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&#39;font-size:10pt&#39;&gt;&lt;strong&gt;&amp;lt;!--Using the .length attribute, loop through the XML file --&amp;gt;&lt;/strong&gt;&lt;br /&gt;				&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&#39;font-size:10pt&#39;&gt;for (i = 0; i &amp;lt; xElement.length; i++){ &lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&#39;font-size:10pt&#39;&gt;    &lt;strong&gt;&amp;lt;!--Get the attribute value by using the .getAttribute function--&amp;gt;&lt;/strong&gt;&lt;br /&gt;				&lt;/span&gt;&lt;/p&gt;&lt;p style=&#39;margin-left: 36pt&#39;&gt;&lt;span style=&#39;font-size:10pt&#39;&gt; Response.Write(&quot;&amp;lt;br&amp;gt;UIDCONTRACTITEM: &quot; + xElement [i].getAttribute(&quot;UIDCONTRACTITEM&quot;));&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&#39;font-size:10pt&#39;&gt;  }&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://lodestarasp.blogspot.com/feeds/2234466044102484022/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lodestarasp.blogspot.com/2009/01/looping-through-xml-object-generated-by.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1630727970934494734/posts/default/2234466044102484022'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1630727970934494734/posts/default/2234466044102484022'/><link rel='alternate' type='text/html' href='http://lodestarasp.blogspot.com/2009/01/looping-through-xml-object-generated-by.html' title='Looping through an XML object generated by LsdbCommand '/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/00521066624817772872</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1630727970934494734.post-3106371194379523108</id><published>2009-01-16T18:19:00.001-05:00</published><updated>2009-01-16T18:19:21.664-05:00</updated><title type='text'>Selecting data from a single table without having to write a XSL stored procedure </title><content type='html'>&lt;span xmlns=&#39;&#39;&gt;&lt;p&gt;Use the &lt;strong&gt;MetaData&lt;/strong&gt; function.  Specify the table name, the parameter and set it to select a single node.  You can use the &lt;strong&gt;getAttribute&lt;/strong&gt; function to extract the value.&lt;span style=&#39;font-size:10pt&#39;&gt;&lt;br /&gt;				&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&#39;font-size:10pt&#39;&gt;    xmlTest = MetaData(&quot;LSCMCONTRACTITEM&quot;, {&quot;UIDCONTRACTITEM&quot;:&quot;124&quot;}, {&quot;LOOKUPS&quot;:&quot;NO&quot;}).selectSingleNode(&quot;//LSCMCONTRACTITEM&quot;);&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&#39;font-size:10pt&#39;&gt;    Response.Write(&quot;&amp;lt;br&amp;gt;UIDCONTRACT: &quot; + xmlTest.getAttribute(&quot;UIDCONTRACT&quot;))&lt;/span&gt;&lt;br /&gt;			&lt;/p&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://lodestarasp.blogspot.com/feeds/3106371194379523108/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lodestarasp.blogspot.com/2009/01/selecting-data-from-single-table.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1630727970934494734/posts/default/3106371194379523108'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1630727970934494734/posts/default/3106371194379523108'/><link rel='alternate' type='text/html' href='http://lodestarasp.blogspot.com/2009/01/selecting-data-from-single-table.html' title='Selecting data from a single table without having to write a XSL stored procedure '/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/00521066624817772872</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1630727970934494734.post-5939077391332894600</id><published>2009-01-16T18:18:00.001-05:00</published><updated>2009-01-16T18:18:27.892-05:00</updated><title type='text'>Getting data directly from the xml object </title><content type='html'>&lt;span xmlns=&#39;&#39;&gt;&lt;p&gt;You must select a single node to be able to do this.&lt;br /&gt;&lt;/p&gt;&lt;p style=&#39;margin-left: 36pt&#39;&gt;&lt;span style=&#39;font-size:10pt&#39;&gt;var xmlItems = LsdbCommand(&quot;LSDB.sp-get-contractlistitem&quot;, {&quot;UIDEXECONTRLISTITEM&quot;:PageParams1.Scenario[i]}).selectSingleNode(&quot;qrySel&quot;); &lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;Then you can get the data using the &lt;strong&gt;getAttribute&lt;/strong&gt; function by passing the column name.&lt;br /&gt;&lt;/p&gt;&lt;p style=&#39;margin-left: 36pt&#39;&gt;&lt;span style=&#39;font-size:10pt&#39;&gt;xmlItems.getAttribute(&quot;UIDCONTRACT&quot;) &lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://lodestarasp.blogspot.com/feeds/5939077391332894600/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lodestarasp.blogspot.com/2009/01/getting-data-directly-from-xml-object.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1630727970934494734/posts/default/5939077391332894600'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1630727970934494734/posts/default/5939077391332894600'/><link rel='alternate' type='text/html' href='http://lodestarasp.blogspot.com/2009/01/getting-data-directly-from-xml-object.html' title='Getting data directly from the xml object '/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/00521066624817772872</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1630727970934494734.post-8686332054810273176</id><published>2009-01-16T18:14:00.001-05:00</published><updated>2009-01-16T18:14:32.696-05:00</updated><title type='text'>Using the Sort control:</title><content type='html'>&lt;span xmlns=&#39;&#39;&gt;&lt;p&gt;    Attach &amp;lt;html xmlns:v=&quot;urn:schemas-microsoft-com:vml&quot;&amp;gt; in the &amp;lt;html&amp;gt; tag.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;    Attach &amp;lt;script src=&quot;../controls/MultiSorting.js&quot; language=&quot;jscript&quot;&amp;gt;&amp;lt;/script&amp;gt; to the ASP code.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;    Attach &amp;lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; href=&quot;../controls/MultiSorting.css&quot;&amp;gt; to the HTML code.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;    Attach the following controls:&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;lt;input type=hidden name=&quot;X_ORDER_BY&quot;&amp;gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;lt;img src=&quot;../controls/images/go_eng.gif&quot; onClick=&quot;ShowPlot(this)&quot; style=&quot;cursor: hand;&quot;/&amp;gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;    Attach &amp;lt;%=ProcessXsl(XmlFreeFile(&#39;../cm/SortData.xml&#39;), XmlFreeFile(&#39;../controls/MultiSorting.xslt&#39;), void 0, {&quot;urn:ls-proxy&quot; : Proxy1})%&amp;gt; at the bottom of the page.&lt;/p&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://lodestarasp.blogspot.com/feeds/8686332054810273176/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lodestarasp.blogspot.com/2009/01/using-sort-control.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1630727970934494734/posts/default/8686332054810273176'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1630727970934494734/posts/default/8686332054810273176'/><link rel='alternate' type='text/html' href='http://lodestarasp.blogspot.com/2009/01/using-sort-control.html' title='Using the Sort control:'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/00521066624817772872</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1630727970934494734.post-3394586473566106464</id><published>2009-01-16T18:00:00.001-05:00</published><updated>2009-01-16T18:04:02.917-05:00</updated><title type='text'>Using the dropdown date input control</title><content type='html'>Set the input css to  class=date&lt;br /&gt;Attach ../controls/lsi18n.css to the HTML code&lt;br /&gt;Attach &lt;%= i18nStyles() %&gt; to the HTML code</content><link rel='replies' type='application/atom+xml' href='http://lodestarasp.blogspot.com/feeds/3394586473566106464/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lodestarasp.blogspot.com/2009/01/using-dropdown-date-input-control.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1630727970934494734/posts/default/3394586473566106464'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1630727970934494734/posts/default/3394586473566106464'/><link rel='alternate' type='text/html' href='http://lodestarasp.blogspot.com/2009/01/using-dropdown-date-input-control.html' title='Using the dropdown date input control'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/00521066624817772872</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1630727970934494734.post-1582592916286567832</id><published>2009-01-16T17:59:00.001-05:00</published><updated>2009-01-16T17:59:33.487-05:00</updated><title type='text'>Get UserID</title><content type='html'>var Proxy1 = new Proxy(PageParams1.SessionId);&lt;br /&gt;var UserID = Proxy1.UserId();</content><link rel='replies' type='application/atom+xml' href='http://lodestarasp.blogspot.com/feeds/1582592916286567832/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lodestarasp.blogspot.com/2009/01/get-userid.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1630727970934494734/posts/default/1582592916286567832'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1630727970934494734/posts/default/1582592916286567832'/><link rel='alternate' type='text/html' href='http://lodestarasp.blogspot.com/2009/01/get-userid.html' title='Get UserID'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/00521066624817772872</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1630727970934494734.post-2861921712365760799</id><published>2009-01-16T17:46:00.000-05:00</published><updated>2009-01-16T17:48:57.365-05:00</updated><title type='text'>Stored Procedures</title><content type='html'>Cannot use &lt; (less than) or &gt; (greater than) in the SQL statement (for stored procedures) inside the XSL file(procedures.PROCS.xsl) .&lt;br /&gt;Solution:&lt;br /&gt;&lt;br /&gt;Use &amp;gt; and &amp;lt;</content><link rel='replies' type='application/atom+xml' href='http://lodestarasp.blogspot.com/feeds/2861921712365760799/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lodestarasp.blogspot.com/2009/01/stored-procedures.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1630727970934494734/posts/default/2861921712365760799'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1630727970934494734/posts/default/2861921712365760799'/><link rel='alternate' type='text/html' href='http://lodestarasp.blogspot.com/2009/01/stored-procedures.html' title='Stored Procedures'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/00521066624817772872</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>