Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by Ajith2002

  1. Ajith2002

    Problem comparing a DateTime field with a DateTime parameter !!

    Hi Friends, How do we compare a DateTime field with a DateTime value selected from a Parameter field ? The field in the DB is of type String and is of the format - 2003-01-08 12:17:53.000 The DateTime parameter value is in the format - MM/DD/YYYY HH:MM:SS How do we format these dates...
  2. Ajith2002

    Selecting all values in a Parameter field

    Thanks guys. My problem is resolved. I changed the Record selection formula I posted before to this way - {Field1} <> &quot;&quot; and // since there are 70,000 records with blank Field1 value. if {?Parm1} = &quot;ALL&quot; then true else {Field1} = {?Parm1} and {Field2} = {?Parm2}...
  3. Ajith2002

    Selecting all values in a Parameter field

    Hey guys, I found out what's wrong. In fact, there are around 70,000 records with Field1 value = null. So when I select 'ALL' in the parm1 it's fetching all the records, which caused the delay. So I changed the formula like this - if {?Parm1} = &quot;ALL&quot; then true else {Field1} =...
  4. Ajith2002

    Selecting all values in a Parameter field

    Guys, It still didnt help me. ;-(( This is my updated Record Selection formula - if {?Parm1} = &quot;ALL&quot; then true else {Field1} = {?Parm1} and {Field2} = {?Parm2} and {Field3} = {?Parm3} and {Field4} startswith 'P' and {Field5} >={?StartDate} and {Field5} <= {?EndDate} How does...
  5. Ajith2002

    Selecting all values in a Parameter field

    Steve, I have got four parameter fields in my report, not just the state field. So my Record Selection formula look like - if {?Parm1} = &quot;ALL&quot; then true else {Field1} = {?Parm1} and if {?Parm2} = &quot;ALL&quot; then true else {Field2} = {?Parm2} and {Field3} = {?Parm3} and {Field4} =...
  6. Ajith2002

    Selecting all values in a Parameter field

    How do we get all the values in a parameter list, by selecting a value(say, '*' OR 'ALL') from a parameter list ? The parameter field is State, once when you select * or ALL, the report should take all the State values. Thanks in advance.
  7. Ajith2002

    How to add values to ListBox ?

    How can we add values to a ListBox(Not DropDown ListBox) thru Code ?
  8. Ajith2002

    Pasted code -- Pls tell me how to retrive hidden value in jsp variable

    Hi, I have a hidden field called &quot;hRank&quot;. And in &quot;selectChange&quot; function i am passing the index of drop down list as a parameter, which is stored in &quot;intSelectedValIndex&quot; and storing it in &quot;hRank&quot;, as shown in the function below. Please tell me how to...
  9. Ajith2002

    How to retrive hidden value in a JSP variable of the same page?

    Hi, I have a hidden field called &quot;hRank&quot;. And in &quot;selectChange&quot; function i am passing the index as a parameter, which is stored in &quot;intSelectedValIndex&quot; and storing it in &quot;hRank&quot;, as shown in the function below. Please tell me how to retrive that...
  10. Ajith2002

    How to retrive hidden value in a JSP variable of the same page?

    Hello Guys, In a jsp page, I have a hidden text box. I need to retrive that hidden value in a jsp variable. Can anybody pls tell me how to do that, without submitting the form (or either method =post). I tried using request.getParameter(&quot;variable name&quot;); But didnt worked out...
  11. Ajith2002

    Passing values from JavaScript to Java

    Hi folks, How do we pass a value from a JavaScript code to Java code, within the same JSP page ? I want to execute a Java code using a value I get from a JavaScript function(inside same JSP page). Thanks very much in advance.
  12. Ajith2002

    How to create Database from RPT ?

    I dont have much details. This question has been asked in one of the interview. I am wondering whether we could create a database using the RPTs provided by any chance.
  13. Ajith2002

    How to create Database from RPT ?

    How do we create a database from RPTs ? You'll be given a set of RPTs from which you need to create a database. What are the possible ways to do this ? Thanks very much.
  14. Ajith2002

    Problem with DateTime

    Hi Guys, I've got a datetime field called CloseDate in a table 'tableA'. DB is Oracle 8i. when you run the report, a parameter(End Date, of type DateTime) will be asked to select the End Date/Time. Then I'm checking whether the CloseDate is less than or equal to End Date(parameter). Everything...

Part and Inventory Search

Back
Top