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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Need help with a Grid

Status
Not open for further replies.
Dec 17, 2006
8
CA
I have an application with a MSFlexGrid.
In Grid(col1) there is a name.
In Grid(col2) there is .txt
How can I create a col3 which combines col1 with col2
Col3 should then read name.txt

I tried
Grid1(Col13)= Grid1(Col1) + Grid1(Col2)
After I replaced the + with & but nothing works.

What is wrong ?

Your help is apprciated

 
If there is an SQL statement for the grid you can change your fields for firstname and secondname to one field and edit the design of your grid.
Instead of two fields ([firstname]),([Secondname]) you say ([Firstname] & " " & [Secondname])
But of course you can't make changes to data unless you change the original database to one combined field.
 
How did you create the grid? Is it bound to a database? If not, then just add another column and use the textmatrix property to add the column value.

"I think we're all Bozos on this bus!" - Firesign Theatre [jester]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top