Where has my asp code gone?

  • Thread starter Thread starter Paul M
  • Start date Start date
P

Paul M

Hi
I cut and pasted some asp code onto a page before the head when I save and
close it then open it again the asp code has vanashed
Any ideas
Paul M
 
Hi
Please let me elaborate.
I cut the asp code from the top of the page that FrontPage generates to send
a form to a database. I then pasted to into a new page and saved it as
send.asp I then posted the form to send.asp which then sends it to the
database
When I save the page and open it the code has gone ?
Paul M
 
Why do you need to do this?

You can't have the form on one page and the asp code(to send the data) as a
separate asp page (unless you use a third-party script that does the same
thing as the FP wizard does) - the two are integrated in FP.

FP dumps any modifications to its own code (eg for its web bots or database
wizards). It will tell you that, when you save the page "You've modified a
Frontpage component, your change will not be saved..." kind of thing.

Cutting & Pasting as you've done is such a modification and FP won't accept
it. it will revert or "Undo" whatever you did to its code.

You should leave the code as it is FP generates it.

The reason probably is you missed some of the code that FP needs for that
function, or simply cutting/pasting to a new page is not something you can
do with the FP-generated components.
 
Back
Top