PC Review


Reply
Thread Tools Rate Thread

Can I run an Insert Into and/or Delete queries (to a MSAccess database) from Frontpage code?

 
 
Alan
Guest
Posts: n/a
 
      11th Jul 2005
Dear all
Can I run an Insert Into and/or Delete queries (to a MSAccess database) from
Frontpage code?
I can run Select queries from code and can run Insert Into and Delete
functions using the Database Results Wizard but I want to be able to insert
rows into a table as each cycle of a loop (that is written in code)
executes.
Does anyone know a way to do this?

Thanks for any advice. Alan



 
Reply With Quote
 
 
 
 
Thomas A. Rowe
Guest
Posts: n/a
 
      11th Jul 2005
You would have to custom write the insert into script.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
==============================================
If you feel your current issue is a results of installing
a Service Pack or security update, please contact
Microsoft Product Support Services:
http://support.microsoft.com
If the problem can be shown to have been caused by a
security update, then there is usually no charge for the call.
==============================================

"Alan" <(E-Mail Removed)_NO_SPAM> wrote in message news:42d271b9$(E-Mail Removed)...
> Dear all
> Can I run an Insert Into and/or Delete queries (to a MSAccess database) from Frontpage code?
> I can run Select queries from code and can run Insert Into and Delete functions using the Database
> Results Wizard but I want to be able to insert rows into a table as each cycle of a loop (that is
> written in code) executes.
> Does anyone know a way to do this?
>
> Thanks for any advice. Alan
>
>
>



 
Reply With Quote
 
Kathleen Anderson [MVP - FrontPage]
Guest
Posts: n/a
 
      11th Jul 2005
If you are running FrontPage 2002 or 2003, you can use the FrontPage
Database INterface Wizard to do this.

--

~ Kathleen Anderson
Microsoft MVP - FrontPage
Spider Web Woman Designs
web: http://www.spiderwebwoman.com/resources/




"Alan" <(E-Mail Removed)_NO_SPAM> wrote in message
news:42d271b9$(E-Mail Removed)...
> Dear all
> Can I run an Insert Into and/or Delete queries (to a MSAccess database)
> from Frontpage code?
> I can run Select queries from code and can run Insert Into and Delete
> functions using the Database Results Wizard but I want to be able to
> insert rows into a table as each cycle of a loop (that is written in code)
> executes.
> Does anyone know a way to do this?
>
> Thanks for any advice. Alan
>
>
>



 
Reply With Quote
 
Alan
Guest
Posts: n/a
 
      12th Jul 2005
Dear Kathleen and Thomas

Thank you for your replies. For reasons which I don't understand I have now
got it to work using VB code. I noticed that when I wrote the VB code in
Frontpage, published it and then looked at it on Internet Explorer I got a
different result (ie it worked versus didn't work) if I initially just
refreshed the asp page, rather than call it up from a hyperlink from the
index.html file. Presumably refreshing does not call up the underlying code
from the server. Anyway it is now working and I thank you for your help.

Cheers...Alan


"Alan" <(E-Mail Removed)_NO_SPAM> wrote in message
news:42d271b9$(E-Mail Removed)...
> Dear all
> Can I run an Insert Into and/or Delete queries (to a MSAccess database)
> from Frontpage code?
> I can run Select queries from code and can run Insert Into and Delete
> functions using the Database Results Wizard but I want to be able to
> insert rows into a table as each cycle of a loop (that is written in code)
> executes.
> Does anyone know a way to do this?
>
> Thanks for any advice. Alan
>
>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Frontpage - Insert to ACCESS database sptan79@gmail.com Microsoft Frontpage 1 13th Oct 2007 09:25 AM
Code to delete all queries in database Robert Valentine Microsoft Access VBA Modules 4 28th Aug 2006 09:59 PM
How to have C# Web page query MSAccess Database and simultaneously populate MSAccess DB? Siegfried Heintze Microsoft ASP .NET 1 15th Apr 2006 12:41 PM
converting/migration of MSAccess 2000 database to MSAccess 2003 Janette Microsoft Access 1 9th Feb 2005 02:31 PM
Compacting an MSAccess Database with ADO.NET code (C#) Timothy Microsoft ADO .NET 1 2nd Jan 2004 01:13 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:02 AM.