fetch a column of table to Tstrings

Please discuss general Delphi programming topics here.

fetch a column of table to Tstrings

Postby rk1983xx » April 8th, 2011, 12:07 am

[-(
is there any way to fetch a column of table to Tstrings without any "while" and other loop syntaxes :?:
rk1983xx
Member
Member
 
Posts: 2
Joined: April 7th, 2011, 10:28 pm

Re: fetch a column of table to Tstrings

Postby Kambiz » April 9th, 2011, 1:31 am

No, besides looping through the records, there is no other solution.
Kambiz
User avatar
Kambiz
Administrator
Administrator
 
Posts: 2429
Joined: March 7th, 2003, 7:10 pm

Re: fetch a column of table to Tstrings

Postby rk1983xx » April 9th, 2011, 1:59 am

maybe not related but :
even in other programming languages ?
rk1983xx
Member
Member
 
Posts: 2
Joined: April 7th, 2011, 10:28 pm

Re: fetch a column of table to Tstrings

Postby Kambiz » April 11th, 2011, 8:47 am

I have no idea.
But you can write a simple function to do the task for you.
Kambiz
User avatar
Kambiz
Administrator
Administrator
 
Posts: 2429
Joined: March 7th, 2003, 7:10 pm


Return to Delphi Programming

Who is online

Users browsing this forum: No registered users and 0 guests

cron