Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Data not transferring from ASP to database

Status
Not open for further replies.

jedel

Programmer
Jan 11, 2003
430
AU
Hi all,

At the moment I have two ASP pages with forms linked to two tables in my database via a dsn connection located on the server.

Initially I had some issues with getting the connection to work, but found a work aroud by replacing the Include page line with the code that DW places in the "Connections" folder it creates automatically.

This works online and I can see the pages appearing, which would indicate that they would be working.

The second form, created exactly the same way as the first, does not redirect but just refreshes the page and nop data is transferred into the database!!!

Something really screwy going on and I have no idea what it is.

Any ideas??

"The most overlooked advantage of owning a computer is that if they foul up there's no law against whacking them around a bit."
 
Can we see the second form? Did you remember to put a value for the form action in the second form so it would know where to post to? When you don't have a value the form assumes you want to post back to the same page and basically "Refreshes" itself.

-T

 
Tarwn, Don't worry about it, I replaced the form on the page and started again and it now works.

One day I'll be able to troubleshoot these pages....

Thanks for your response anyway

Cheers

Dean

"The most overlooked advantage of owning a computer is that if they foul up there's no law against whacking them around a bit."
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top