PDA

Click to See Complete Forum and Search --> : Working with a dbgrid


Jan 5th, 2000, 10:26 PM
how can i do to return a value of a field selected in a dbgrid.

I do a query, then i show the result in a dbgrid, then the user can selected one fields by doublecliking on it, but how i take this value....

one problem, is my dbgrid has 8 fields, but after i work with only one fields..

Another question,how should i print the data in a dbgrid..without printing all the form.

Thanks a lot...

Clunietp
Jan 6th, 2000, 12:16 AM
Get current selected:
MsgBox DBGrid1.Columns(DBGrid1.Col).Text

I don't understand this question: one problem, is my dbgrid has 8 fields, but after i work with only one fields..