GeneXus - Problema con web Form

 
Vista:

Problema con web Form

Publicado por leonardo (14 intervenciones) el 13/06/2006 15:07:01
hola que tal les comento brevemente mi problema, no se ma guardan los cambios en un web form despues de haber especificado y generado el codigo con vb y acces, solo agregue un boton al web form y no se me guarndan los cambios apesar que los guarde en diseño y en produccion, y volvi a especificar.. todo... pero no se que es...

espero puedan ayudarme, muchas gracias
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder

RE:Problema con web Form

Publicado por PabloF (275 intervenciones) el 13/06/2006 17:31:50
Probaste con COMMIT?

Commit Command
Scope
Objects: Procedures, Web Panels, Work Panels

Languages: .NET, C/SQL, Cobol, Java, RPG, Visual Basic, Visual Fox Pro

Interfaces: Win

Purpose
Forces a Commit command when included in a program.

Syntax
Commit

Description
GeneXus activates the Commitment Control for all Procedures and Transactions, unless the Commitment property has been disabled, and only generates a Commit at the end of the Procedure or Transaction program execution.

Locks are released when the Commit sentence is encountered.

When an object updates too many records, the lock limit (in the iSeries, for instance, is approximately 4.000 or 32.000 depending on OS version) may be exceeded. So, it is necessary to use more than one Commit command in the object, because it avoids reaching or exceeding the limit.



The Commit command can be specified anywhere in the program source of procedures. Doing this will force GeneXus to generate a Commit command. When a Commit command is included within a For Each sentence the Commit is executed just before the Endfor always (regardless of where it was included within the For Each sentence).

Example
Given the table:



Invoices:

InvNo*

InvDate

CliNo

InvAmount



Let us assume that a Commit will be performed, each time 10 invoices are deleted. This could be done as follows:



&i = 0

For each InvNo // Invoice

where InvDate >= &firstD

where InvDate <= &lastD

&i = &i + 1

delete

If &i = 10

commit

&i = 0

Endif

Endfor
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar