开发者

Assign the contents of a blob field to combobox items

开发者 https://www.devze.com 2023-01-10 17:28 出处:网络
I have list of country names or other strings in a text blob field. When I read the fiel开发者_JS百科d, I get a string back with LfCr between the words or phrases. Is there an easy way to assign this

I have list of country names or other strings in a text blob field. When I read the fiel开发者_JS百科d, I get a string back with LfCr between the words or phrases. Is there an easy way to assign this string to the Items property of a TComboBox? I'm using TADOQuery on a FireBird 2.1 Database.

Regards, Pieter


If you've got LFCRs between the phrases, then just assign the string to the Items.Text property, which takes a string and splits it into individual items at the linebreaks.

0

精彩评论

暂无评论...
验证码 换一张
取 消