CodeCharge Studio
search Register Login  

Web Reporting

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

YesSoftware Forums -> Archive -> GotoCode Archive

 Tell A Friend Example Mod

Print topic Send  topic

Author Message
Frank S.
Posted: 02/22/2002, 4:09 AM

Hi all,
I'm trying to modify this example by adding a couple of fields to the db.
I've done this, but the insert into the db seems to write two entries, one
with the original fields with the date and another without a date but with
all of the other fields. Is there anywhere I can look to find out why this
would be writing two records?
Using PHP 4, no templates and MySQL on Linux.
Thanks,
Frank
Nicole
Posted: 02/22/2002, 5:11 AM

Frank,
check have you selected table for Record form on Default page? Initially in TellAFriend example no tables were selected as form source and insert code put in AfterInsert event. If you have selected a table two insert sql queries are built and executed. Look at AfterInsert event to find the second one.
FS
Posted: 02/23/2002, 9:38 AM

Thanks Nicole,
Now that I think about it that would be the problem. I guess I just need to modify the "After Insert" code to include the new fields rather than put them in a table.
Frank

   


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.