i want to populate a combo box standard by taking the data from a database using Centura SQLWindows/32, there is any functions for doing that?
Asked
Active
Viewed 395 times
0
-
Please don't forget to mark the answer accepted which helped most in solving the problem. See also [How does accepting an answer work?](https://meta.stackexchange.com/questions/5234/how-does-accepting-an-answer-work) – Chandralal Jan 23 '18 at 18:07
2 Answers
1
You can utilize SalListPopulate( ) function for the same.
bOk = SalListPopulate ( hWndList, hSql, strSelect )
Parameters
hWndList Window Handle. The handle (or name) of the list box or combo box to populate.
hSql Sql Handle. The handle of a SELECT statement.
strSelect String. The SELECT statement.

Chandralal
- 559
- 2
- 11
- 26