Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


How do I get cell/Column infor into a Tedit box?

[b][red]This message was edited by rtdvoip at 2003-9-10 10:6:21[/red][/b][hr]

Hiya fellas,

I have generated a query that retrives a customer id from the database.
When I select the cell with the desired id, I would like for it to populate the tedit box with the id.

I think that I can do this by using the event OnColEnter but I can not
get the syntax for the Tedit.datafield = dbgrid1.datasource or however I allow for this.



  • injektiloinjektilo Member Posts: 113
    not sure what you mean, but if you select a record in the TDBGrid and you use a TDBEdit with DataField set to ID you would not have to use any code. but i guess i just dont understand the question.
Sign In or Register to comment.