PC Review


Reply
 
 
warway
Guest
Posts: n/a
 
      24th Feb 2004
I have an sp that inserts a record from one table to another based on a
parameter that works fine. How can I use a field on an MSAccess form to be
the parameter? I can get the sp to run from the form but only to prompt me
with the parameter required I want this to be the current record and to do
it without asking.

Thanks in advance for your help

Warway




 
Reply With Quote
 
 
 
 
MGFoster
Guest
Posts: n/a
 
      24th Feb 2004
warway wrote:

> I have an sp that inserts a record from one table to another based on a
> parameter that works fine. How can I use a field on an MSAccess form to be
> the parameter? I can get the sp to run from the form but only to prompt me
> with the parameter required I want this to be the current record and to do
> it without asking.


Add the parameters in an ADO command that runs the SP.

--
MGFoster:::mgf00 <at> earthlink <decimal-point> net
Oakland, CA (USA)

 
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
how to insert a where clause in Insert Into... statement? Microsoft Access Queries 9 10th Dec 2004 12:27 PM
Very simple INSERT INTO with a DateTime parameter -> "Syntax Error in INSERT INTO statement" loquak Microsoft ADO .NET 3 30th Nov 2004 08:41 PM
Insert cell/format/text/fontsize and auto insert into header? =?Utf-8?B?VW5mdXJsdGhlZmxhZw==?= Microsoft Excel Programming 2 3rd Nov 2004 06:39 PM
Insert | File > Attachmnet-Button Drop Down ;What is the difference between Insert and Insert As Attachmnet Oda Yujiro Microsoft Outlook 4 17th Jun 2004 01:53 AM
How to insert record into SQL 2k by Insert Statement Mullin Yu Microsoft C# .NET 2 25th Nov 2003 09:50 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:54 AM.