CodeCharge Studio
search Register Login  

Web Reporting

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

YesSoftware Forums -> CodeCharge Studio -> ASP

 How to Truncate or delete all rows a table on opening of page

Print topic Send  topic

Author Message

Posts: 1
Posted: 12/15/2014, 8:25 AM

Can somebody help , I want to populate a table through insert query however I want that the table should truncate or delete all rows so that only new rows are inserted.
View profile  Send private message

Posts: 513
Posted: 12/16/2014, 10:09 PM

In something like the 'Before Show' or 'Before Submit' of the record, you can execute custom SQL and do that.

Check the manual for 'Execute Custom SQL' for some examples.

CCS 3/4/5 ASP Classic, VB.NET, PHP
Melbourne, Victoria, Australia
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

Internet Database

Visually create Web enabled database applications in minutes.

Home   |    Search   |    Members   |    Register   |    Login

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