开发者

Assign the contents of a blob field to combobox items

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜