Results 1 to 2 of 2

Thread: Atualizar uma dbgrid

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Default Atualizar uma dbgrid

    Tenho uma dbview, nela tem um dbgrid e um Button chamando uma outra view para fazer um cadastro, quando retorno gostaria de atualizar a dbgrid. Alguém poderia ajudar???

  2. #2
    Join Date
    Feb 2009
    Location
    Brazil
    Posts
    5,447

    Default Re: Atualizar uma dbgrid

    é uma dbgrid mesmo, a antiga.. ou a nova cDbCjGrid (codejock) ?

    Se for a nova.. tem varios jeitos, tudo depende do que vc realmetne quer ?

    Se quiser atualizar a partir do 1ro registro da grid,, independente do registro altual que estava em foco..

    Send MoveToFirstRow

    Se quiser atualizar a grid, mas manter o registro atual na mesma linha (se possivel) use:
    Send RefreshDataFromSelectedRow

    abcs
    Samuel Pizarro

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •