{"id":639,"date":"2006-08-01T19:21:05","date_gmt":"2006-08-01T11:21:05","guid":{"rendered":"http:\/\/foxpro.ntsl119.com\/scr\/?p=639"},"modified":"2007-10-08T23:12:28","modified_gmt":"2007-10-08T15:12:28","slug":"aindex","status":"publish","type":"post","link":"https:\/\/foxpro.ntsl119.com\/scr\/archives\/639","title":{"rendered":"aIndex"},"content":{"rendered":"<p>Old old code.  I&#8217;ll post the tweak later and the general overview of why it is used.<\/p>\n<p>It gets the index tags from a given table and stores them inside a combo box.<\/p>\n<p class=\"style1\">with thisform             <br \/>\n\ufffdselect &#038;cDATABASE   <br \/>\n\ufffdnTagCount = tagcount()   <br \/>\n\ufffdif nTagCount > 0    <br \/>\n\ufffd\ufffddimension aIndex(nTagCount)    <br \/>\n\ufffd\ufffdfor nCount = 1 to tagcount()   <br \/>\n\ufffd\ufffd\ufffdif !empty(tag(nCount))   <br \/>\n\ufffd\ufffd\ufffd\ufffdstore tag(nCount) to aIndex(nCount)   <br \/>\n\ufffd\ufffd\ufffdelse    <br \/>\n\ufffd\ufffd\ufffd\ufffdexit    <br \/>\n\ufffd\ufffd\ufffdendif    <br \/>\n\ufffd\ufffdendfor<\/p>\n<p>\ufffd\ufffd.cmbIndex.rowsourcetype = 5   <br \/>\n\ufffd\ufffd.cmbIndex.rowsource = &#8216;aIndex&#8217;   <br \/>\n\ufffd\ufffd.cmbIndex.value = aIndex(1)    <br \/>\n\ufffdendif        <br \/>\nendwith<\/p>\n<p>\nSomewhere above this code exists this line:<\/p>\n<p><span class=\"style1\">cDATABASE = &#8216;FILECOUR&#8217;<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Old old code. I&#8217;ll post the tweak later and the general overview of why it is used. It gets the index tags from a given table and stores them inside a combo box. with thisform \ufffdselect &#038;cDATABASE \ufffdnTagCount = tagcount() \ufffdif nTagCount > 0 \ufffd\ufffddimension aIndex(nTagCount) \ufffd\ufffdfor nCount = 1 to tagcount() \ufffd\ufffd\ufffdif !empty(tag(nCount)) \ufffd\ufffd\ufffd\ufffdstore [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,10],"tags":[],"class_list":["post-639","post","type-post","status-publish","format-standard","hentry","category-visual-foxpro","category-workblog"],"_links":{"self":[{"href":"https:\/\/foxpro.ntsl119.com\/scr\/wp-json\/wp\/v2\/posts\/639","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/foxpro.ntsl119.com\/scr\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/foxpro.ntsl119.com\/scr\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/foxpro.ntsl119.com\/scr\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/foxpro.ntsl119.com\/scr\/wp-json\/wp\/v2\/comments?post=639"}],"version-history":[{"count":0,"href":"https:\/\/foxpro.ntsl119.com\/scr\/wp-json\/wp\/v2\/posts\/639\/revisions"}],"wp:attachment":[{"href":"https:\/\/foxpro.ntsl119.com\/scr\/wp-json\/wp\/v2\/media?parent=639"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/foxpro.ntsl119.com\/scr\/wp-json\/wp\/v2\/categories?post=639"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/foxpro.ntsl119.com\/scr\/wp-json\/wp\/v2\/tags?post=639"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}