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 insertar varios registros al mismo tiempo

Print topic Send  topic

Author Message
uncion7

Posts: 5
Posted: 03/08/2008, 2:31 PM

Hola, deseo saber como puedo hacer para insertar varios registros al mismo tiempo es decir:
1. Tengo un formulario con tres campos: tarea, fechafinal y frecuencia.
2. el campo frecuencia tiene varias opciones: no recurrente, diaria, semanal, mensual y bimensual.
3. cuando la frecuencia es: "no recurrente", el registro inserta la informacion normalmente, pero cuando la frecuencia es:"semanal" debo insertar los mismos datos (tarea, frecuencia y fechafinal ) aumentando la fecha final cada 7 dias.

Alguien me puede ayudar por favor.

Gracias.

View profile  Send private message
mveraa

Posts: 49
Posted: 05/15/2008, 12:55 PM

hola intentaste despues de afterinsert.

0.tomas el idmax del insert porsi quieres relacionarlo.
1.evaluas el valor de fecuencia y en funcion de eso haces los insert.

saludos.
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.