Skip to main content

Posts

Showing posts from 2015

PASSING SUMMARIZED VALUES FROM SUB-REPORT TO MAIN-REPORT IN CRYSTAL REPORTS

Dear All, this time what I am going to share with you is passing summarized variables from sub-reports to main-reports in crystal reports. Here, we have different ways to pass summarized fields from sub-report to main-report and vice-versa but what I am going to share with you is quite simple and easy as well.
Below I am describing the steps through which you can perform this task. Just create a new Crystal report and call it “mainpage.rpt”.Now add formula field and name it what you like. I am giving it name “mainTotal”Edit “mainTotal” formula field and write in it shared numbervar x; [note:  you can take any type like Boolean , etc.]Now, add a sub-report in main report and also create a formula fields.[Repeat step 2 and 3]Now switch to main report again.Right click on sub-report. You will see in menu option “Change Subreport Links. Click on it.Bring that “mainTotal” field in “fields to link”  and uncheck checkbox having “Select data in subrport based on field”.Press OK Button.
Hey All……

ENABLE ROOT USER IN LINUX

Root user is super user in linux operating system. In ubuntu, it is not enabled by default. To Enable "root" user in linux, follow below commands.
First Change the password of root by executing below command

sudo passwd root This will ask you enter password. After configuring the password, unlock root user by following command.

sudo passwd -u root
In case if above solution works for you then kindly leave a comment for ensuring the credibility of the solution.

Thanks.

Configuring Java Delopment Kit in LINUX

One of the important topic for beginners in linux operation system is the steps of configuring JDK (Java Development Kit). Below are the steps which helped me and I hope that they will do the same in your case also.

Execute below commands by replacing the statements in bold format. Run these commands after logging in super user.

update-alternatives --install /usr/bin/java java /home/zeeshan/Downloads/jdk1.8.0_60/bin/java 100

update-alternatives --install /usr/bin/javac javac /home/zeeshan/Downloads/jdk1.8.0_60/bin/javac 100


To Remove Configuration of JDK use following commands

 sudo update-alternatives --remove java home/zeeshan/Downloads/jdk1.8.0_60/bin/java

 sudo update-alternatives --remove javac home/zeeshan/Downloads/jdk1.8.0_60/bin/javac

In case if above solution help you then please leave a comment for maximizing credibility of defined solution.

Thanks.