Clive Moss
Guest
Posts: n/a
 
Re: Execute Query in Access from an ASP Form?
Posted: 07-04-2003, 09:52 PM
"JL" <design4online@REMOVETHISBIThotmail.com> wrote in message
news:l3YMa.503$PK2.151@newsfep1-gui.server.ntli.net...
> Hi,
>
> I have an Access database with a query that selects a set of records from
> one table (work categories) and inserts them (multiple rows) in to a
> timesheet table, along with the employee's name and selected week number
> (both of which are variables inputted by the user).
> i.e. each record from the employee's chosen work categories gets inserted
in
> to a new row in the timesheet table, with their name and chosen week
number
> inserted (these are the same for each row in this recordset instance).
>
> I want to execute this query from an intranet based ASP file, using two
text
> boxes and a submit button, but can't get it to work.
>
> The query works great from within Access (by double clicking), but I am
> having problems defining the code I need to pass the parameters and
execute
> the query from the ASP file.
>
> Has anyone got any ideas on what I can use here?
>
> Many thanks
>
> JL
>
>
The semi colon at the end of the statement could cause you some grief

cm


Reply With Quote
Clive Moss
Guest
Posts: n/a
 
Re: Execute Query in Access from an ASP Form?
Posted: 07-04-2003, 09:52 PM
"JL" <design4online@REMOVETHISBIThotmail.com> wrote in message
news:l3YMa.503$PK2.151@newsfep1-gui.server.ntli.net...
> Hi,
>
> I have an Access database with a query that selects a set of records from
> one table (work categories) and inserts them (multiple rows) in to a
> timesheet table, along with the employee's name and selected week number
> (both of which are variables inputted by the user).
> i.e. each record from the employee's chosen work categories gets inserted
in
> to a new row in the timesheet table, with their name and chosen week
number
> inserted (these are the same for each row in this recordset instance).
>
> I want to execute this query from an intranet based ASP file, using two
text
> boxes and a submit button, but can't get it to work.
>
> The query works great from within Access (by double clicking), but I am
> having problems defining the code I need to pass the parameters and
execute
> the query from the ASP file.
>
> Has anyone got any ideas on what I can use here?
>
> Many thanks
>
> JL
>
>
The semi colon at the end of the statement could cause you some grief

cm


Reply With Quote
 
LinkBack Thread Tools Search this Thread Display Modes
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Off
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Query of Queries? artists_envy Coldfusion Database Access 3 02-25-2005 03:31 PM
Viewing/Save Access Query Objects from CF mpalsf Coldfusion Database Access 2 02-16-2005 04:48 PM
Use PDf fill in form in Website and submitting form info. Alexandre_L_Eveille@adobeforums.com Adobe Acrobat Macintosh 0 08-03-2004 09:26 PM
SQL query problem navee Coldfusion Database Access 14 07-23-2003 03:52 PM
query problem tejun Coldfusion Database Access 10 07-11-2003 09:21 AM