I have a problem with reading VARCHAR data out of a MySql database over ODBC. The datatype of the field is VARCHAR(255). When I read the data and put it in a grid coloumn (data type: long string) everything is fine. But when I try to put the same data into a combobox (data type: long string) nothing is displayed in the combobox.
Does anybody has an idea if this is a bug?
Code: Select all
If NOT SqlPrepareAndExecute( hSql,
'SELECT TXT INTO :lsForComboBox FROM TEST_COMBO where id = :df1' )
If SqlFetchNext( hSql, nInd )
Call SalListAdd( cmbLongString, lsForComboBox )
Call SalListSetSelect( cmbLongString, 0 ), '', 0 )
I'll attach the TD v6 SP5 defect's test case; you need to set login params. on form's SAM_Create to test.
TD-16046 is currently 'resolved' as "Cannot reproduce" pending you providing us a test case + details that do fail for you. The test case attached does not fail for us.
thank you for your reply! I will create a test database on my webserver and send you a small program showing you the problem! But please give me a few days as I am very buisy in the moment!
As far as I can see the difference between your test case and the way I try to fill the combo box is that I would like to use the function "SalListPopulate" for that. And this is not working with combo boxes.
Who is online
Users browsing this forum: [Ccbot] and 0 guests