Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Datagrid Column filled with multiple variables 1

Status
Not open for further replies.

Genotix

Programmer
Dec 16, 2004
53
NL
Hi guy's,

Is it possible to fill one column with multiple variables?
I want the column to display three fields from the same database table in one column.

As for now I can only enter one Datafield in the Property pages.

The entire field isn't editable.

Linux IS userfriendly.
It's only very selective about who it's friends are.
 
You could create a recordset as the datasource for the grid where you concatenate fields as in
Code:
Select (fld1 & fld2 & fld3) As ThreeFields, ...

From tbl
The result will be a non-updatable recordset.
 
Great idea, stupid of me to didn't think of that!

It works like a charm!!
I used :
Code:
Select (fld1 & ' ' & fld2 & ' ' & fld3) As ThreeFields, ...

From tbl
So the fields were seperated from each other by a space.

Thanx a lot!

Linux IS userfriendly.
It's only very selective about who it's friends are.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top