PDA

Click to See Complete Forum and Search --> : Getting Dbgrid's Column Index By Columns Caption


Dafly
Aug 7th, 1999, 04:37 AM
I am trying to figure out how to get a Dbgrids column index, only by knowing the columns caption, is their away to do this? if so can some one give me an example?

Thank you,
Jeremy

------------------
Dafly98@aol.com

Aaron Young
Aug 7th, 1999, 06:15 AM
iColumnIndex = DBGrid1.Columns("ColumnName").ColIndex

------------------
Aaron Young
Analyst Programmer
aarony@redwingsoftware.com
adyoung@win.bright.net