In order for this site to work correctly we need to store a small file (called a cookie) on your computer. Most every site in the world does this, however since the 25th of May 2011, by law we have to get your permission first. Please abandon the forum if you disagree.

Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.

AddCalcField

Xailer English public forum
Roberto
Mensajes: 177
Registrado: Mar Oct 16, 2007 11:53 pm

AddCalcField

Mensaje por Roberto »

Hi,
Can someone tell me what is wrong?
oDataSet:AddCalcField("Full", { |oField| oField:oDataSet:First + " " +
oField:oDataSet:Last }
// if oDataSet:first is "JONH" and oDataSet:last is "SMITH" then
oDataSet:full is "JOHN SMITH", OK.
oDataSet:Edit()
oDataSet:first := "JOE" // or oDataSet:first(dsOBJECT):varput("JOE") or any
other way that could update this field...
// the odataset:full does not change, its value continue "JONH SMITH"...
WHY????
oDataSet:update()
// now work...but I need this while the dataset is in Edit mode!!!!
:(
Any idea?
Responder