Quantcast
Channel: SCN : All Content - PowerBuilder Developer Center
Viewing all articles
Browse latest Browse all 2935

Powerbuilder 12.5 did not return the identity value in the datawindow after datawindow insert and update. My database mysql 5.6.

$
0
0

Hi There,

 

Powerbuilder 12.5 did not return the identity value in the datawindow after datawindow insert and update. My database  mysql 5.6.

 

I already did the following.

 

1. In my .INI file

DBParm=”ConnectString='DSN=MysqlTestdb;option=135176',OJSyntax='ANSI'”

 

2.  In my pbodb125.ini file I added the following.

 

[MySQL]

PBSyntax='MySQL_SYNTAX'

[MySQL_SYNTAX]

;GetIdentity='SELECT LAST_INSERT_ID()'

GetIdentity='Select @@identity'

 

3. Mysql ODBC Souce Configuration.

mysqlodbc1.jpg

 

 

mysqlodbc2.jpg


Viewing all articles
Browse latest Browse all 2935

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>