Display value depend on parameters 
Author Message
 Display value depend on parameters

Dear All:

I am using Vb6 +Crystal Report.
My question is can we do sth which can swithching the display of one forumla
according to parameter value?

I would like to do following :
if param = 0 then
    using Database Value
else if param <>  0 then
    using param value at display.

Thanks for reading and help.

Best Wishes
From Bman

Tue, 10 May 2005 11:29:18 GMT  
 Display value depend on parameters

>Subject: Display value depend on parameters

>Date: 11/21/02 9:29 PM Central Standard Time

>Dear All:

>I am using Vb6 +Crystal Report.
>My question is can we do sth which can swithching the display of one forumla
>according to parameter value?

>I would like to do following :
>if param = 0 then
>    using Database Value
>else if param <>  0 then
>    using param value at display.

>Thanks for reading and help.

>Best Wishes
>From Bman

IF {?parameter} = 0 THEN {table.field} else {?parameter}
This will only work if the parameter and field are the same data type (both
numeric in this example).

Tue, 10 May 2005 23:28:53 GMT  
 [ 2 post ] 

 Relevant Pages 

1. Form displays recordset depending of a value

2. Displaying text/input field depending on checkbox value

3. Parameters display Value and Description

4. Swithing Display from Parameters to Database Value.

5. Define a form whose size vary depending on the local display settings

6. Displaying an image depending on the time of day

7. Making a control invisible depending on calculated value in Access'97

8. Calling a procedure depending on a form value

9. REQ: Show picture in column B, depending value in column A

10. ActiveProject is giving me 2 different values depending on computer

11. Droplist population depending on previous droplist value

12. Combobox or Listbox: separting key values from display values


Powered by phpBB® Forum Software