CodeCharge Studio
search Register Login  

Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> Español

 Como colocar aviso luego de grabar

Print topic Send  topic

Author Message
cleyan


Posts: 136
Posted: 08/30/2006, 3:33 PM

Estimados:

Me gustaria saber como hacer que luego de grabar se pueda colocar un aviso o etiqueta con un mensaje de aviso de grabado exitosamente (al estilo de gmail) pero si coloco codigo en afterupdate o afterinsert que modifique el valor de una etiqueta no me funciona, hay alguien que haya tenido la misma inquietud y lo haya solucionado?

De antemano


Gracias
_________________
**************************************************
Carlos Leyan B.
Temuco, Chile
www.leytec.net
View profile  Send private message
lvalverdeb

Posts: 299
Posted: 09/01/2006, 9:30 AM

Si usas php puedes usar la siguiente solución:

1) En el evento BeforeShow de la etiqueta agrega el siguiente código:

  
if (strlen(CCGetFromGet("mensaje"))) {  
     $Component->SetValue(CCGetFromGet("mensaje"));  
}  

2) En el evento AfterInsert y/o AfterUpdate del formulario agrega el siguiente código:

  
global $Redirect;  
$Redirect = $Redirect."&mensaje=Registro ha sido actualizado";  

3) Selecciona el Formulario y agrega el parámetro mensaje a la lista de parámetros en la propiedad "Remove Parameters". Esto es para evitar que el mensaje se siga mostrando cuando ejecutes otras acciones sobre el formulario.

Luis


_________________
lvalverdeb
CR, GMT-6
XAMPP/Ubuntu/CCS3.2/4
View profile  Send private message
cleyan


Posts: 136
Posted: 09/01/2006, 11:14 PM

Ok, gracias voy a probar hacre lo que dices, nuevamente muchas gracias
_________________
**************************************************
Carlos Leyan B.
Temuco, Chile
www.leytec.net
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.