codetoad.com
  ASP Shopping CartForum & BBS
  - all for $20 from CodeToad Plus!
  
  Home || ASP | ASP.Net | C++/C# | DHTML | HTML | Java | Javascript | Perl | VB | XML || CodeToad Plus! || Forums || RAM 
Search Site:
Search Forums:
  Providing time parameters to user when searching  Stewart at 21:38 on Sunday, June 17, 2007
 

I'm quite new to .net and am using v1.1 and IIS. I have built a parts stores search facility for my company and am including an area where parts that have been issued to a machine may be searched to see their usage(by partNo & machineNo). I would like to allow the user to also set a time limit to their search ie. search by 1 day, 1 week etc. eg -(where partNo = @partNo) & (machineNo = @machineNo) [u]&(timePeriod = @timePeriod)[/u] as seen within many results type pages but do not know how to go about it. I envisage the user selection to made from a drop down list but cannot see how each separate parameter can be included(date.now - 1, or date.Now - 7)??? or be passed to the sql. I'm sure there is a well worn method for achieving this but I have not been able to find any examples in the books that I own.


Thanks in advance for any help you can give me

stewart








CodeToad Experts

Can't find the answer?
Our Site experts are answering questions for free in the CodeToad forums
//








Recent Forum Threads
•  Date script issues
•  perl script help needed
•  onChange issue
•  perl remote execution
•  Chat application
•  How to send multiple perameters in SOAP request.
•  Java code for Insert picture on the table in spreadsheet
•  Re: Problem with concatenation
•  how to genrates the crystal report by sending a id at runtime


Recent Articles
ASP GetTempName
Decode and Encode UTF-8
ASP GetFile
ASP FolderExists
ASP FileExists
ASP OpenTextFile
ASP FilesystemObject
ASP CreateFolder
ASP CreateTextFile
Javascript Get Selected Text


© Copyright codetoad.com 2001-2007