Unix Technical Forum

Passing date fields from form to Access ADP Views

This is a discussion on Passing date fields from form to Access ADP Views within the SQL Server forums, part of the Microsoft SQL Server category; --> I have a whole bunch of forms that have an unbound StartDate and an EndDate field that I have ...


Go Back   Unix Technical Forum > Database Server Software > Microsoft SQL Server > SQL Server

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-28-2008, 06:34 PM
Lauren Quantrell
 
Posts: n/a
Default Passing date fields from form to Access ADP Views

I have a whole bunch of forms that have an unbound StartDate and an
EndDate field that I have used in MSAccess MDB databases as parameters
in queries (ie tblEvent.StartDate > Forms!myFormName.StartDate.)
So, now I'm migrating this beast over to and ADP/SQL Server project
using Views and Procedures.
How do I pass the value in Forms!myFormName.StartDate to a Procedure
and get something that looks like:
If tblEvent.StartDate > Forms!myFormName.StartDate then ...
Any help is GREATLY appreciated. This is a major problem before I can
move ahead with this beast!
lq
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-28-2008, 06:50 PM
Jerry Boone
 
Posts: n/a
Default Re: Passing date fields from form to Access ADP Views

Send it in using the form's InputParameter property. Set the form's
recordsource to the stored procedure.

--
Jerry Boone
Analytical Technologies, Inc.
http://www.antech.biz


"Lauren Quantrell" <laurenquantrell@hotmail.com> wrote in message
news:47e5bd72.0310291336.dd6bfe2@posting.google.co m...
> I have a whole bunch of forms that have an unbound StartDate and an
> EndDate field that I have used in MSAccess MDB databases as parameters
> in queries (ie tblEvent.StartDate > Forms!myFormName.StartDate.)
> So, now I'm migrating this beast over to and ADP/SQL Server project
> using Views and Procedures.
> How do I pass the value in Forms!myFormName.StartDate to a Procedure
> and get something that looks like:
> If tblEvent.StartDate > Forms!myFormName.StartDate then ...
> Any help is GREATLY appreciated. This is a major problem before I can
> move ahead with this beast!
> lq
>



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 12:55 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com