Connecting form to a database?

G

Guest

Dear Friends,

I am working in Frontpage 2002, where I created a website using one of the
default templates which is "Personal Web" , now there is a feedback form
there which inserts its results to a text file but I want it to insert its
results to a database file.

With the help of frontpage I created a database and made its connection with
this form and this form is an htm file, but frontpage is also prompting me to
change its extention from htm to asp, so I changed it but when I viewed it in
the browswer, it showed nothing but html or java scripts and not my original
form.

Now my question is whether the form should remain in htm format or not or if
its in htm format will it insert its results into a database file.

I am gonna host this website on a asp and frontpage extention enabled server.

How can I achieve also this ?
 
A

Andrew Murray

You have to view ASP pages on a web server; publlish the pages, and view the
site in your browser.
 
G

Guest

Thanks for your help.
the original page is written in html but frontpage is prompting me to change
its extention to asp. Is it ok if I just change its extention will it put the
records into the database file?
 
R

Ronx

You MUST change the extension to .asp, or all any users of the site will
see is the code.
If the database is correctly set up - FrontPage will do that for you -
records will be added to the database, but only when published to a
Windows server supporting .asp and Access.

--
Ron Symonds - Microsoft MVP (FrontPage)
Reply only to group - emails will be deleted unread.

http://www.rxs-enterprises.org/fp
 
A

Andrew Murray

The database wizards in FP use ASP so yes, it prompts you if you haven't
saved the pages as *.asp.
ASP = Active Server Pages which is a server side technology which runs the
code to make your dynamic pages work such as writing the form's data to an
Access database.
 
G

Guest

Thanks for your support.
I contacted my hosting company and they said that they don't support asp
pages and their servers are linux based.

How can I solve my problem in such a case?
 
S

Stefan B Rusynko

Then you can't use the Database Results Wizard and an Access DB
- ask you host for support in writing to a DB they support

--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
_____________________________________________


| Thanks for your support.
| I contacted my hosting company and they said that they don't support asp
| pages and their servers are linux based.
|
| How can I solve my problem in such a case?
|
| "Andrew Murray" wrote:
|
| > The database wizards in FP use ASP so yes, it prompts you if you haven't
| > saved the pages as *.asp.
| > ASP = Active Server Pages which is a server side technology which runs the
| > code to make your dynamic pages work such as writing the form's data to an
| > Access database.
| >
| >
| > | > > Thanks for your help.
| > > the original page is written in html but frontpage is prompting me to
| > > change
| > > its extention to asp. Is it ok if I just change its extention will it put
| > > the
| > > records into the database file?
| > >
| > > "Andrew Murray" wrote:
| > >
| > >> You have to view ASP pages on a web server; publlish the pages, and view
| > >> the
| > >> site in your browser.
| > >>
| > >> | > >> > Dear Friends,
| > >> >
| > >> > I am working in Frontpage 2002, where I created a website using one of
| > >> > the
| > >> > default templates which is "Personal Web" , now there is a feedback
| > >> > form
| > >> > there which inserts its results to a text file but I want it to insert
| > >> > its
| > >> > results to a database file.
| > >> >
| > >> > With the help of frontpage I created a database and made its connection
| > >> > with
| > >> > this form and this form is an htm file, but frontpage is also prompting
| > >> > me
| > >> > to
| > >> > change its extention from htm to asp, so I changed it but when I viewed
| > >> > it
| > >> > in
| > >> > the browswer, it showed nothing but html or java scripts and not my
| > >> > original
| > >> > form.
| > >> >
| > >> > Now my question is whether the form should remain in htm format or not
| > >> > or
| > >> > if
| > >> > its in htm format will it insert its results into a database file.
| > >> >
| > >> > I am gonna host this website on a asp and frontpage extention enabled
| > >> > server.
| > >> >
| > >> > How can I achieve also this ?
| > >>
| > >>
| > >>
| >
| >
| >
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top