-
March 31st, 2008, 01:51 AM
#1
Conditional Dataenvironment
i'm using dtaenvironment to create a report (datareport) if the field is null i insert this code into dataenvironment "isnull(fldname,0)" this works fine, my problem is how can i use " IF " statement in dataenvironment
thank you
cyrus
-
March 31st, 2008, 04:11 AM
#2
Re: Conditional Dataenvironment
Can you elaborate further on what you mean, please?
Or, provide a vague example so we can understand what you mean.
-
March 31st, 2008, 05:39 AM
#3
Re: Conditional Dataenvironment
Someone once gave me a hint here that if you want success in creating reports, create them in the folder that your application will be installing to on the FINAL computer. So if, say, you will be installing in c:\Program Files\Example1, then create that folder and move your program and the database into it.
Finaly, set your dataenvironment to read the database inside this folder.
All report problems will be history.
-
March 31st, 2008, 06:13 AM
#4
Re: Conditional Dataenvironment
Select A.*, Isnull(fldname,0), if(fldname=x,1,2) From Tblename
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|