CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> Archive -> GotoCode Archive

 insert records on diferent tables

Print topic Send  topic

Author Message
Helder Meneses
Posted: 02/20/2002, 5:57 AM

hi there,


i have two tables, one "requisicoes" and the other "eventos" and when i insert the first record on the eventos form i would like to change the field status on table requisicoes to "changed"....how can i do this...please help, its urgent...


thank you...

CodeCharge? great product...
Alex Alexapolsky
Posted: 02/20/2002, 6:07 AM

If you will to retieve id of newly inserted record in After Insert event.
The way you retieve it depends on your database type.
Then in the same event you will need to execute update sql statement :
(asp)
cn.execute(sql)
(php)
$db->query($sSQL)

   


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.