{"id":2465,"date":"2014-12-22T23:10:13","date_gmt":"2014-12-22T23:10:13","guid":{"rendered":"https:\/\/alt2.minisoft.com\/support\/?p=2465"},"modified":"2016-12-19T04:59:08","modified_gmt":"2016-12-19T04:59:08","slug":"sybases-powerbuilder-5-0","status":"publish","type":"post","link":"https:\/\/c002.minisoft.com\/support\/sybases-powerbuilder-5-0\/","title":{"rendered":"Sybase&#8217;s PowerBuilder 5.0"},"content":{"rendered":"<h2 class=\"subheads\">Setting the Database Preferences<\/h2>\n<p>At this time, you must un-select the &#8216;Use Powersoft Repository&#8217; checkbox in the Database Preferences dialog. This capability will be available with catalogues in a future release.<\/p>\n<ol>\n<ol>\n<li>Select Database from the toolbar.<\/li>\n<\/ol>\n<\/ol>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-2466\" src=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2014\/12\/ODBC_p06.gif\" alt=\"ODBC_p06\" width=\"380\" height=\"75\" \/><\/p>\n<ol>\n<ol>\n<li value=\"2\">Uncheck the Use Powersoft Repository box.<\/li>\n<\/ol>\n<\/ol>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-2467\" src=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2014\/12\/ODBC_p01.gif\" alt=\"ODBC_p01\" width=\"380\" height=\"217\" \/><\/p>\n<hr size=\"1\" \/>\n<h2 class=\"subheads\">Creating a new library<\/h2>\n<p>1.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-2469\" src=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2014\/12\/ODBC_p07.gif\" alt=\"ODBC_p07\" width=\"380\" height=\"75\" \/><\/p>\n<p>2.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-2471\" src=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2014\/12\/ODBC_p08.gif\" alt=\"ODBC_p08\" width=\"380\" height=\"252\" \/><\/p>\n<p>3.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-2472\" src=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2014\/12\/ODBC_p09.gif\" alt=\"ODBC_p09\" width=\"380\" height=\"260\" \/><\/p>\n<p>4.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-2473\" src=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2014\/12\/ODBC_p10.gif\" alt=\"ODBC_p10\" width=\"344\" height=\"286\" \/><\/p>\n<p>5.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-2474\" src=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2014\/12\/ODBC_p11.gif\" alt=\"ODBC_p11\" width=\"380\" height=\"252\" \/><\/p>\n<p>&nbsp;<\/p>\n<hr size=\"1\" \/>\n<h2 class=\"subheads\">Creating a new project<\/h2>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-2475\" src=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2014\/12\/ODBC_p12.gif\" alt=\"ODBC_p12\" width=\"380\" height=\"74\" \/><\/p>\n<hr size=\"1\" \/>\n<p class=\"subheads\">To use your ODBC data source<\/p>\n<ol>\n<ol>\n<li>\u00a0Add a new Database profile that references your ODBC data source.<\/li>\n<\/ol>\n<\/ol>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-2476\" src=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2014\/12\/ODBC_p02.gif\" alt=\"ODBC_p02\" width=\"351\" height=\"201\" \/><\/p>\n<ol>\n<ol>\n<li value=\"2\">\u00a0Select the data source as your current Database Profile.<\/li>\n<\/ol>\n<\/ol>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-2477\" src=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2014\/12\/ODBC_p03.gif\" alt=\"ODBC_p03\" width=\"263\" height=\"209\" \/><\/p>\n<ol>\n<ol>\n<li value=\"3\">\u00a0Create a DataWindow.<\/li>\n<\/ol>\n<\/ol>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-2478\" src=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2014\/12\/ODBC_p04.gif\" alt=\"ODBC_p04\" width=\"380\" height=\"254\" \/><\/p>\n<ol>\n<ol>\n<li value=\"4\">\u00a0Select the fields you want to display.<\/li>\n<\/ol>\n<\/ol>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-2479\" src=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2014\/12\/ODBC_p05.gif\" alt=\"ODBC_p05\" width=\"380\" height=\"331\" \/><\/p>\n<ol>\n<li value=\"5\">\u00a0Place the DataWindow on your form and write a script attached to a button to fill it.<\/li>\n<\/ol>\n<blockquote><p>transaction abc<\/p>\n<p>abc=create transaction<\/p>\n<p>abc.dbms=&#8217;ODBC&#8217;<\/p>\n<p>abc.dbparm=&#8221;CONNECTSTRING=&#8217;DSN=MSDB&#8217;,<br \/>\nCONNECTOPTION=&#8217;SQL_DRIVER_CONNECT,SQL_DRIVER_<br \/>\nNOPROMPT'&#8221;<\/p>\n<p>connect using abc; dw_1.settransobject(abc)<br \/>\ndw_1.retrieve()<br \/>\nRunning this application should allow you to see your dataset.<\/p><\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>Setting the Database Preferences At this time, you must un-select the &#8216;Use Powersoft Repository&#8217; checkbox in the Database Preferences dialog. This capability will be available with catalogues in a future release. Select Database from the toolbar. Uncheck the Use Powersoft Repository box. Creating a new library 1. 2. 3. 4. 5. &nbsp; Creating a new [&hellip;]<\/p>\n","protected":false},"author":75,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[54,63],"tags":[],"_links":{"self":[{"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/posts\/2465"}],"collection":[{"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/users\/75"}],"replies":[{"embeddable":true,"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/comments?post=2465"}],"version-history":[{"count":5,"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/posts\/2465\/revisions"}],"predecessor-version":[{"id":2482,"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/posts\/2465\/revisions\/2482"}],"wp:attachment":[{"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/media?parent=2465"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/categories?post=2465"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/tags?post=2465"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}