{"id":36,"date":"2010-10-03T23:47:55","date_gmt":"2010-10-03T21:47:55","guid":{"rendered":"http:\/\/www.iatelier-berlin.de\/wp\/?p=36"},"modified":"2010-10-04T00:15:31","modified_gmt":"2010-10-03T22:15:31","slug":"garbage-and-code-in-orange","status":"publish","type":"post","link":"https:\/\/iatelier-berlin.de\/wp\/?p=36","title":{"rendered":"Garbage and Code in Orange"},"content":{"rendered":"<p>We went to the huge recycling plant of BSR in Spandau: containers for wood, metal and electronic Schrott\/scrap. They gave for children a cardboard model of a garbage truck, so I spent a whole day making it (and even enforcing the wheels to endure heavy playing). <em>&#8220;So orange ist nur Berlin&#8221;.<\/em><br \/>\n<a href=\"https:\/\/iatelier-berlin.de\/wp\/wp-content\/uploads\/2010\/10\/multitalent.jpg\" rel=\"image_group\"><img loading=\"lazy\" class=\"aligncenter size-full wp-image-43\" title=\"multitalent\" src=\"https:\/\/iatelier-berlin.de\/wp\/wp-content\/uploads\/2010\/10\/multitalent.jpg\" alt=\"BSR model garbage-truck\" width=\"384\" height=\"200\" srcset=\"https:\/\/iatelier-berlin.de\/wp\/wp-content\/uploads\/2010\/10\/multitalent.jpg 384w, https:\/\/iatelier-berlin.de\/wp\/wp-content\/uploads\/2010\/10\/multitalent-300x156.jpg 300w, https:\/\/iatelier-berlin.de\/wp\/wp-content\/uploads\/2010\/10\/multitalent-150x78.jpg 150w\" sizes=\"(max-width: 384px) 100vw, 384px\" \/><\/a><\/p>\n<p>The garbage track is called M\u00fclltitalent (!! M\u00fcll = garbage) and indeed someone at BSR has a lot of wit to promote this awkward job as a respectable service &#8211; and join the usual city toy group of police, fire-brigade, ambulance, trains and site-builders.<\/p>\n<p>The rest of the day &#8211; as it was possible to squeeze out of usually busy family Saturday &#8211; remained for sorting out programming garbage.<\/p>\n<p>I have an issue\/problem\/bug that in dbQwikSite ASP generated pages fields Y\/N (Access db) have no populated check boxes. Everything is okay in the Project page of dbQwikSite, and in Delete webpage where True\/False is used as words, but wherever there is a checkbox like an icon that one is not populated: in db view, in edit, more or copy record.<\/p>\n<p>The buggy code:<\/p>\n<pre>CellValue = \"\" &amp; QSFormatNumber(Rs(4),0,-1,0,-1) &amp; \"\"\r\ncbchecked = QSCheckSelected(\"1\", CellValue,\"checked\")\r\nCellvalue = Cellvalue = \"&lt;input type=\"\"checkbox\"\" onclick=\"\"return false\"\" value=\"\"1\"\"\" &amp; cbchecked &amp; \"&gt;\"<\/pre>\n<div id=\"_mcePaste\">and the Orange clean code:<\/div>\n<pre>If Rs(4) = -1 Then\r\nCellvalue = \"&lt;input type=\"\"checkbox\"\" name=\"\"\" &amp; Fields(4) &amp; \"\"\" onclick=\"\"return false\"\" checked&gt;\"\r\nElse\r\nCellvalue = \"&lt;input type=\"\"checkbox\"\" name=\"\"\" &amp; Fields(4) &amp; \"\"\" onclick=\"\"return false\"\" &gt;\"\r\nEnd If<\/pre>\n<p>cbchecked (upper code-snippet) does nothing;<br \/>\nname (lower code-snippet) is unnecessary but I put it just because of syntax-exercise of a few layers deep quoting.<br \/>\nPay attention that Access takes &#8220;-1&#8221; as True!!<br \/>\n(useful link that gave me a hint: <a href=\"http:\/\/thedailyreviewer.com\/design\/view\/access-database-yn-help-10912044\" target=\"_blank\">http:\/\/thedailyreviewer.com\/design\/view\/access-database-yn-help-10912044<\/a> )<\/p>\n<p>Will see how this behaves in exploitation, but for the time being the code is orange=clean.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>We went to the huge recycling plant of BSR in Spandau: containers for wood, metal and electronic Schrott\/scrap. They gave for children a cardboard model of a garbage truck, so I spent a whole day making it (and even enforcing the wheels to endure heavy playing). &#8220;So orange ist nur Berlin&#8221;. The garbage track is called M\u00fclltitalent (!! M\u00fcll = garbage) and indeed someone at BSR has a lot of wit to promote this awkward job as a respectable service &#8211; and join the usual city toy group of police, fire-brigade, ambulance, trains and site-builders. The rest of the day &#8211; as it was possible to squeeze out of usually busy family Saturday &#8211; remained for sorting out programming garbage. I have an issue\/problem\/bug that in dbQwikSite ASP generated pages fields Y\/N (Access db) have no populated check boxes. Everything is okay in the Project page of dbQwikSite, and in &#8230;<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[13,11,4],"tags":[],"_links":{"self":[{"href":"https:\/\/iatelier-berlin.de\/wp\/index.php?rest_route=\/wp\/v2\/posts\/36"}],"collection":[{"href":"https:\/\/iatelier-berlin.de\/wp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/iatelier-berlin.de\/wp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/iatelier-berlin.de\/wp\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/iatelier-berlin.de\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=36"}],"version-history":[{"count":31,"href":"https:\/\/iatelier-berlin.de\/wp\/index.php?rest_route=\/wp\/v2\/posts\/36\/revisions"}],"predecessor-version":[{"id":69,"href":"https:\/\/iatelier-berlin.de\/wp\/index.php?rest_route=\/wp\/v2\/posts\/36\/revisions\/69"}],"wp:attachment":[{"href":"https:\/\/iatelier-berlin.de\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=36"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/iatelier-berlin.de\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=36"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/iatelier-berlin.de\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=36"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}