Author Topic: Make filter option for SP query subject  (Read 485 times)

Offline stacybost

  • Full Member
  • ***
  • Posts: 5
  • Forum Citizenship: +0/-0
Make filter option for SP query subject
« on: 29 Aug 2006 01:34:49 pm »
Is there a way to make parameters passed to a stored procedure optional?

I have a sp query subject.  Inputs to the SP are period_id and week_id.  If a user selects a period but no week, the SP returns data for the period. 

If I have two prompt in CRN, one for period and one for week (not required), how can I make the SP Query Subject not require week_id?

Hope that questions makes sense...

Thanks,
Stacy

Offline stacybost

  • Full Member
  • ***
  • Posts: 5
  • Forum Citizenship: +0/-0
Re: Make filter option for SP query subject
« Reply #1 on: 30 Aug 2006 09:56:54 am »
FYI...

I've discovered that the answer is NO, filters passed to stored procedures are not optional.

An enhancement has been requested for this feature.