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.

SQLite/BrowseMod: Problem with lAllowEdit

Xailer professional forum in English
Responder
Timm
Mensajes: 140
Registrado: Lun Jun 21, 2010 11:01 am

SQLite/BrowseMod: Problem with lAllowEdit

Mensaje por Timm »

Hi!

I use BrowseMod with lAllowEdit and lAutoSave.
Since the last Xailer update, fields with the data type VARCHAR and MEMOTEXT are no longer saved automatically.
Instead of VARCHAR I can use VARCHAR(255) for example, but I don't have a solution for MEMOTEXT.

Regards
Timm
Avatar de Usuario
ignacio
Site Admin
Mensajes: 9410
Registrado: Lun Abr 06, 2015 8:00 pm
Ubicación: Madrid, Spain
Contactar:

Re: SQLite/BrowseMod: Problem with lAllowEdit

Mensaje por ignacio »

Hello,

Please change this method and see if it works correctly now. TIA.

Regards,

Código: Seleccionar todo

//------------------------------------------------------------------------------
METHOD SetValue( xValue ) CLASS XDbBrwColMod

   IF ::IsDataField()
      IF ValType( xValue ) == ValType( ::oDataField:Value )
         ::oDataField:Value := xValue
      ENDIF
   ENDIF

RETURN xValue
Ignacio Ortiz de Zúñiga
[OZ Software]
https://www.ozs.es
--
[Equipo de Xailer / Xailer team]
https://www.xailer.com
Timm
Mensajes: 140
Registrado: Lun Jun 21, 2010 11:01 am

Re: SQLite/BrowseMod: Problem with lAllowEdit

Mensaje por Timm »

Hi Ignacio,

works, many thanks!

Regards, Timm
Responder