CodeCharge Studio
search Register Login  

Web Reports

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

YesSoftware Forums -> CodeCharge Studio -> ASP

 Adding new redord to two tables from one asp form

Print topic Send  topic

Author Message
Gnats

Posts: 1
Posted: 02/11/2004, 2:39 AM

I have an Access diary database, there is a listings table and a date/category table, I want to be able to create a form that will allow me to enter information into the two tables.

Listings table has:
Name of event
Description

Category table has
Section (there are 4 different diarys in one database)
fromdate
todate

I am a real newbie to this and am banging my head against the wall trying to get it working. Any help would be greatly appreciated.

Thanks

Gnats

View profile  Send private message
ryan

Posts: 41
Posted: 02/11/2004, 9:32 PM

Gnats :

Are you using the latest CodeCharge Studio, this is fairly easy just insert on the first table then use the record form's after insert invent then create a DBconnection1.Execute(SQL) there.

that means your SQL is the INSERT statement. The same procedure goes with update if you insert to table A, does that mean you also insert to table B. So if u update on table A, then it is imperative that you also update table B.
_________________
(\__/)
(='.'=)
(")_(")
View profile  Send private message
ChipW
Posted: 02/15/2004, 12:11 PM

Create a query in Access that has the fields from both tables. More than one way to skin a cat. ;-) This has also been shown to increase performance in Access.
Navneet Kakkar
Posted: 02/22/2004, 6:28 AM

Dear Chip

Can you please explain how to.

I have created the query from two tables, but can't understand how insert
can work on a select query.
--
Thanks

luv

Navneet
aquananu@yahoo.com
9811153443
"ChipW" <ChipW@forum.codecharge> wrote in message
news:6402fd25c5c1e4@news.codecharge.com...
> Create a query in Access that has the fields from both tables. More than
one way to skin a cat. ;-) This has also been shown to increase performance
in Access.
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.593 / Virus Database: 376 - Release Date: 2/20/2004


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.