[progress Communities] [progress Openedge Abl] Forum Post: The Number Of Rows In My...

  • Thread starter Thread starter Daniel Ruiz
  • Start date Start date
Status
Not open for further replies.
D

Daniel Ruiz

Guest
Hello good day, to make my application using Telerik controls. I have problems when displaying records in my datagridview. If my first query returns 1 record, then my datagridview displays 1 row. I immediately made another query that returns me 3 records, but my datagridview displays only 1 row. The problem is I can only display the first number of rows obtained by my query to the database, no more than that. This is the code I use to link data table. METHOD PRIVATE VOID EnlazaTabla(): DEFINE VARIABLE httRegistro AS HANDLE NO-UNDO. DEFINE VARIABLE hDataSet AS HANDLE NO-UNDO. DEFINE VARIABLE hBuffttRegistro AS HANDLE NO-UNDO. DEFINE VARIABLE hRegistroQry AS HANDLE NO-UNDO. hDataSet = DATASET dsRegistro:HANDLE. httRegistro = TEMP-TABLE ttRegistro:HANDLE. hBuffttRegistro = httRegistro:DEFAULT-BUFFER-HANDLE. DEFINE DATA-SOURCE fuenteDatos FOR ttMedicionesSucursal. hBuffttRegistro:ATTACH-DATA-SOURCE(DATA-SOURCE fuenteDatos:HANDLE,?,?,?). hRegistroQry = hDataSet:TOP-NAV-QUERY(). hDataSet:FILL(). listaMediciones:DataSource = ?. listaMediciones:Update(). listaMediciones:Refresh(). bindingSource1 = ?. bindingSource1 = NEW Progress.Data.BindingSource(DATASET dsRegistro:HANDLE, "ttRegistro.Sucursal,ttRegistro.Fecha,ttRegistro.Medida, ttRegistro.Medicion, ttRegistro.HoraCaptura", ""). listaMediciones:DataSource = bindingSource1. listaMediciones:TabIndex = 1. END METHOD.

Continue reading...
 
Status
Not open for further replies.
Back
Top