... se guardan todos los cambios o ninguno. Si se llama a SaveData () dentro de una transacción, este método usa puntos de restauración. - Nueva DATA lAutoAppend. Cuando se establece a .T., la navegación más allá del final añade una nueva fila. - Nuevo método Sum( fieldname ) --> Suma del campo ...
... is rolled back. Either all changes are saved or none. If :SaveData() is called inside a transaction, then this method uses savepoints. - New data lAutoAppend. When set to .t., navigation past the end of browse adds a new row. - New method Sum( fieldname ) --> sum of the field Returns zero if ...
... it loads the record of the parent. 1. using oRs:Rowset( cSql, {'param'}) to init the oRs, and adds child using oRs:AddChild('table') with (:oChild:lAutoAppend := .T. 2. oRs:Append() when user define new entry and oRs:SyncChild() to refresh xBrowse.. the datasource not refreshed here.. it displays ...
... will provide sample. Hi Mr. Rao, I added MariaDB parent-child based on "mariainv,prg" sample .. I reconstruct from array to oRs:oChild:lAutoAppend but when parent oRs are :requery with oRs:SyncChild() and refresh the xBrowse oRs:oChild, the display not refreshed().
... program or triggered by any event other than down key, when the table is Empty. 1 : After last column of last row is edited in FastEdit mode, if ::lAutoAppend is .T. (default) nil : Any other case. http://forums.fivetechsupport.com/viewtopic.php?f=3&t=35161&p=209757#p209757 - New Method ...
... program or triggered by any event other than down key, when the table is Empty. 1 : After last column of last row is edited in FastEdit mode, if ::lAutoAppend is .T. ( default) nil : Any other case. Typically, a programmer would like to insert a new row only if nKey != nil and is not already appending ...
... you don't put any data into the row, it is not appended to the database and not shown also into the browse. I've seen in in combination with : oRs:lAutoAppend := .t. and MariaDB and than the xbrowse. I though that Xbrowse does it on all database platforms (Mariadb, Sql and dbf) I hope i'm reading ...
... this complex code. What all required to have a fast edit browse with safe auto-append facility is : oRs := oCn:RowSet( cTable/cSql )oRs:lAutoAppend := .t.XBROWSER oRs FASTEDIT It is ready. We can turn oRs:lAutoAppend ON only when we create a browse with autoappend and turn ...
... nPage ) These datas and methods are self-explantory. It is also possible to alternate the usage of paging and ReadNext() methods. 2) New DATA lAutoAppend INIT .f. If set to true, XBrowse created after setting the value to true appends blank record when down arrow is pressed on the last row ...
... filas del portapapeles son añadidas a la matriz y el "xbrowse" se reconfigura con las nuevas columnas. - Si navegando una matriz y oBrw:lAutoAppend == .t. y la columna izquierda es seleccionada, entonces si el número de filas a pegar exceden el número de filas de la matriz, las filas ...
... array, all the rows of the clipboard data are appended the array and xbrowse is reconfitured for the new columns. - If browsing an array and oBrw:lAutoAppend == .t. and extreme left column is selected, then if the number of rows pasted exceed the rows of the array, the additional rows are appended ...
... contenga variables locales/estáticas. Ahora este método no lanza ningún error, aunque no la posición del registro no válido en tales casos. DATAS lAutoAppend y bPastEof: Cambio: En el modo FastEdit "edición rápida", después de editar la última columna de la última fila, una nueva fila ...
... containing local / static varialbes. Now this method does not raise any error, though does not reposition the invalid record in such cases. DATAS lAutoAppend and bPastEof: Change: In FastEdit mode, after editing the last column of last row, new row is appended only if lAutoAppend is TRUE and bPastEof ...
James, It seems that lAutoAppend should default to .f. to prevent breaking existing code. Antonio? I agree, even though looks like the class returns Nil after showing the message, so, perhaps just removing it would be sufficient. BTW, ...