Some help required - creating an election simulator

Hey there, i've only been coding java for the past month or so, and I've been going fine apart from this program i'm attempting to code (badly, I admit);
To sum it up:
*The program asks the user how many people are in a country.
*The program asks the user how many electorates there are.
*The program asks the user how many political parties are up for election.
After these inputs, the program does the following; (or in my mind, should)
*Program randomly assigns population to electorates
*Program randomly goes through each electorate asking if a population member will run for a political party. Only 1 person per party in an electorate.
*Program goes to a vote - population in each electorate votes randomly for running candidates.
Usually with some associated output each step.
I'm trying to use inheritance, and supposed to use polymorphism (of which i'm not sure what that is).
Here is what i've got:
public class Main extends InheritedMethods {
     public static void main(String args[]){
//user inputs.
          System.out.println("How many people live in the simulated country overall?:");
          numPeople = readScannerInt();
          System.out.println("the number is: "  +numPeople);+
+          System.out.println("How many electorates are in this country?:");+
+          elecNum = readScannerInt();+
+          System.out.println("the number is: "+  elecNum);
          System.out.println("How many political parties are campaigning?:");
          parties = readScannerInt();
          System.out.println("the number is: "  +parties);+
+          int[] record = electorateAssign();+
+          //This just outputs population data onto the screen so i can confirm it is working properly.+
+          System.out.println("Randomly determing electorate populations...");+
+          for (int z = 0 ; z < elecNum; z++){
               int y=z+1;
               System.out.print("Electorate "+y+": "  +record[z]+  " ");
               if (z % 5 == 4)
                    System.out.println();
          int[] people = peopleStorer(record);
          //print();
          System.out.println();
          System.out.println("Dividing populations political opinions...");
          System.out.println("Commencing Voting...");
          for (int k = 0 ; k < numPeople; k++){
               System.out.print(people[k]  +" ");+
+               if (k % 10 == 9)+
+                    System.out.println();+
+          }+
+     }+
+}+
+import java.util.Random;+
+import java.util.Scanner;+
+public class InheritedMethods {+
+     static int numPeople;+
+     static int elecNum;+
+     static int parties;+
+     static int[] candidates = new int[numPeople];+
+     public static int readScannerInt() {+
+          Scanner userInput = new Scanner(System.in);+
+          String num = userInput.next();+
+          int numReturn = Integer.parseInt(num);+
+          return numReturn;+
+     }+
+     public static int[] peopleStorer(int[] record){+
+          int [] people = new int [numPeople];+
+          int counter=0;+
+          int catcher=0;+
+          while( counter<elecNum){+
+               while (catcher<record[counter]){+
+                    people[catcher++]=counter;
               counter++;
          return people;
     public static int[] electorateAssign(){
          Random dice = new Random();
          int number;
          int[] elecPop=new int[elecNum];
          for(int counter=0; counter <numPeople; counter++){
               number=dice.nextInt(elecNum);
               elecPop[number];
          }I've got the first 4 steps down, the trouble i'm really having is taking my electorates array and doing anything at all with it.
I was messing with multi-dimensional arrays for a while, but i've since concluded these refuse to work in methods for me (i can never seem to return them to the main, so now i've been trying to use 1 dimensional arrays
I've tried a couple of times to make more methods that send my electorates array to a vote method (but admittedly i'm used to python and coding on java is like pulling finger nails for me) but i don't get very far.

Here ya go, this is how to return multidimensional Strings:
public class Junk {
  String[][] s = {{"this is 1,1", "this is 1,2"}, {"this is 2,1", "this is 2,2"}};
  Junk(){
  public String[][] myStuff(){
    return s;
  public static void main(String[] args) {
    Junk junk = new Junk();
    String[][]p = junk.myStuff();
    for(int i=0; i<p.length; i++){
      for(int j=0; j<p.length; j++){
System.out.print(p[i][j]);
System.out.print(" ");
System.out.println();

Similar Messages

  • Looking for some help in creating an ItemFilter for a Targeter

    Looking for some help in creating an ItemFilter for a Targeter
    Need a examples for creating itemfilter and TargeterFirst

    Hi David,
    We can integrate Syncfusion with LightSwitch application, if you want to customize column when create a report using syncfusion reportviewer, since I didn't try this third party
    extension before, I think you could consider getting help from
    syncfusion forum, more syncfusion experts can help you on this issue.
    Thanks for your understanding.
    Best regards,
    Angie
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Need some help in creating Search Help for standard screen/field

    I need some help in adding a search-help to a standard screen-field.
    Transaction Code - PP01,
    Plan Version - Current Plan (PLVAR = '01'),
    Object Type - Position ( OTYPE = 'S'),
    Click on Infotype Name - Object ( Infotype 1000) and Create.
    I need to add search help to fields Object Abbr (P1000-SHORT) / Object Name (P1000-STEXT).
    I want to create one custom table with fields, Position Abb, Position Name, Job. Position Abb should be Primary Key. And when object type is Position (S), I should be able to press F4 for Object Abb/Object Name fields and should return Position Abbr and Position Name.
    I specify again, I have to add a new search help to standard screen/field and not to enhance it.
    This is HR specific transaction. If someone has done similar thing with some other transation, please let me know.
    There is no existing search help for these fields. If sm1 ever tried or has an idea how to add new search help to a standard screen/field.
    It's urgent.
    Thanks in advace. Suitable answers will be rewarded

    Hi Pradeep,
    Please have a look into the below site which might be useful
    Enhancing a Standard Search Help
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/daeda0d7-0701-0010-8caa-
    edc983384237
    http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee93446011d189700000e8322d00/frameset.htm
    A search help exit is a function module for making the input help process described by the search help more flexible than possible with the standard version.
    This function module must have the same interface as function module F4IF_SHLP_EXIT_EXAMPLE. The search help exit may also have further optional parameters (in particular any EXPORTING parameters).
    A search help exit is called at certain timepoints in the input help process.
    Note: The source text and long documentation of the above-specified function module (including the long documentation about the parameters) contain information about using search help exits.
    Function modules are provided in the function library for operations that are frequently executed in search help exits. The names of these function modules begin with the prefix F4UT_. These function modules can either be used directly as search help exits or used within other search help exits. You can find precise instructions for use in the long documentation for the corresponding function module.
    During the input help process, a number of timepoints are defined that each define the beginning of an important operation of the input help process.
    If the input help process is defined with a search help having a search help exit, this search help exit is called at each of these timepoints. If required, the search help exit can also influence the process and even determine that the process should be continued at a different timepoint.
    timepoints
    The following timepoints are defined:
    1. SELONE
    Call before selecting an elementary search help. The possible elementary search helps are already in SHLP_TAB. This timepoint can be used in a search help exit of a collective search help to restrict the selection possibilities for the elementary search helps.
    Entries that are deleted from SHLP_TAB in this step are not offered in the elementary search help selection. If there is only one entry remaining in SHLP_TAB, the dialog box for selecting elementary search helps is skipped. You may not change the next timepoint.
    The timepoint is not accessed again if another elementary search help is to be selected during the dialog.
    2. PRESEL1
    After selecting an elementary search help. Table INTERFACE has not yet been copied to table SELOPT at this timepoint in the definition of the search help (type SHLP_DESCR_T). This means that you can still influence the attachment of the search help to the screen here. (Table INTERFACE contains the information about how the search help parameters are related to the screen fields).
    3. PRESEL
    Before sending the dialog box for restricting values. This timepoint is suitable for predefining the value restriction or for completely suppressing or copying the dialog.
    4. SELECT
    Before selecting the values. If you do not want the default selection, you should copy this timepoint with a search help exit. DISP should be set as the next timepoint.
    5. DISP
    Before displaying the hit list. This timepoint is suitable for restricting the values to be displayed, e.g. depending on authorizations.
    6. RETURN (usually as return value for the next timepoint)
    The RETURN timepoint should be returned as the next step if a single hit was selected in a search help exit.
    It can make sense to change the F4 flow at this timepoint if control of the process sequence of the Transaction should depend on the selected value (typical example: setting SET/GET parameters). However, you should note that the process will then depend on whether a value was entered manually or with an input help.
    7. RETTOP
    You only go to this timepoint if the input help is controlled by a collective search help. It directly follows the timepoint RETURN. The search help exit of the collective search help, however, is called at timepoint RETTOP.
    8. EXIT (only for return as next timepoint)
    The EXIT timepoint should be returned as the next step if the user had the opportunity to terminate the dialog within the search help exit.
    9. CREATE
    The CREATE timepoint is only accessed if the user selects the function "Create new values". This function is only available if field CUSTTAB of the control string CALLCONTROL was given a value not equal to SPACE earlier on.
    The name of the (customizing) table to be maintained is normally entered there. The next step returned after CREATE should be SELECT so that the newly entered value can be selected and then displayed.
    10. APP1, APP2, APP3
    If further pushbuttons are introduced in the hit list with function module F4UT_LIST_EXIT, these timepoints are introduced. They are accessed when the user presses the corresponding pushbutton.
    Note: If the F4 help is controlled by a collective search help, the search help exit of the collective search help is called at timepoints SELONE and RETTOP. (RETTOP only if the user selects a value.) At all other timepoints the search help exit of the selected elementary search help is called.
    If the F4 help is controlled by an elementary search help, timepoint RETTOP is not executed. The search help exit of the elementary search help is called at timepoint SELONE (at the
    F4IF_SHLP_EXIT_EXAMPLE
    This module has been created as an example for the interface and design of Search help exits in Search help.
    All the interface parameters defined here are mandatory for a function module to be used as a search help exit, because the calling program does not know which parameters are actually used internally.
    A search help exit is called repeatedly in connection with several
    events during the F4 process. The relevant step of the process is passed on in the CALLCONTROL step. If the module is intended to perform only a few modifications before the step, CALLCONTROL-STEP should remain unchanged.
    However, if the step is performed completely by the module, the following step must be returned in CALLCONTROL-STEP.
    The module must react with an immediate EXIT to all steps that it does not know or does not want to handle.
    Hope this info will help you.
    ***Reward points if found useful
    Regards,
    Naresh

  • Image - maps are not working in Firefox but it does work in IE. Some help required.

    Hey there,
    Last week i've been building a website for our company. However, there is still a problem with our banner/slider. I've uploaded some images and the slider is currently working. But the image maps ,using <map> & <area> taggs, are not functional in FF. They do work in IE so I suppose it should be working correctly.
    I've tried using Chrome & Safari but the problem keeps persisting.
    Some help would be nice (:
    Marnix.

    Doesn't work in Firefox, Chrome, and Safari? <br />
    Sounds like you're using non-compliant code.
    http://www.w3.org/TR/html5-author/the-map-element.html <br />
    http://www.w3.org/wiki/HTML/Elements/area
    You could try posting the URL to a test case at the Web Development / Standards Evangelism forum at MozillaZine, and see what they have to say. The support helpers over there are more knowledgeable about web page development issues with Firefox. <br />
    http://forums.mozillazine.org/viewforum.php?f=25 <br />
    You'll need to register and login to be able to post in that forum.

  • I need some help , for create some paper on air

    Hi everyone
    I need some help , i work in a static sequence from Tehran street (1 frame), i paint damages on this frame in Photoshop because i need war atmosphere, then i add some smoke and cloud with particular .
    but i think this sequence is not realistic yet
    now i want add some moving paper in air and on street
    do u have any solution for how can i make this paper and moving those
    Thanks a lot
    and pardon me for bad English
    Ali Molavi

    The best tool to add this kind of particle is After Effects.
    If you have the Creative Cloud then I recommend you download that.
    Slightly annoying voice over, but here is a youtube tutorial you can follow top make floating particals. You can adjust it to make it look exactly as you want.
    http://www.youtube.com/watch?v=dq2op6yqvFk&noredirect=1

  • Some help required with logic for a dynamic sql query

    i have below code but not sure how to resolve this problem - what i need is to be able to dynamically
    the problem:
    i have a rabbge of paratmeters coming in from a form and need to be able to create a dynamic query string to go into a prepared statement object.
    the problem i have is there are 2 fields year range and year.
    if year range is none i need to create the query string as such :
    where the value of year can be serached on exactly
    str.append("VOLUME_YEAR = ? ");the probelm is if the year range is 5 or year range is 10 i dont know how to maipulate the query string to be able to set the string such that i can then place the year value in the place holder in preparedStatement.setInt(1, year)
    how can i create the intial query string ie.- what are the possible things that i can do. - i'm thinking of things like putting some type of between or such type query statement - but not at all sure how the syntax would go - ie. how would i use the year value and how would i create this dynamic part of the query string so that the JDBC regonises it?
    thanks for any help.
    public String setVolumeYearQuerySt(String year, String yearRange, StringBuffer str){
              String volumeYearQueryString = null;
              Sring doAction= null;
              if (yearRange.equals("None")){str.append("VOLUME_YEAR = ? ");}
              else if(yearRange.equals("5 Years")){doAction = "Nothing";}
              else if (yearRange.equals("10 Years")){doAction = "Nothing";}
              return volumeYearQueryString;
              }

    Saish - thanks a lot for the code example.
    Although, i think its far too advanced for me to understand and try to manipulate it and fit my problem. I'm pretty new to programming as you can probably see from my simple if else type statements. But i'm going to give it a try and see how it goes.
    could you please be kind enough to demonstrate how i could use the above syntax to do the following. --
    i have a year being entered in form .  in the database there is a column year volume which contains year in single year value format and also in a year range  value format - thus as in below - how could i do this -
    eg.
    user can enter a value in the year field a single value or a range value - then he can select +/-5 or 10 yrs range on that value - the DB holds the values as single values and ranges as below -
    one suggested apporach is as follows if a single user is alloweed to enter only a single value in the filed and select a query range +/- 5 etc..
    volume year of �1926-1928� and the user enters �1927�, the query has to find all records where
    look for records that are �less than or equal to� 1927.  It then has to check to see if it contains a range.  For those that it finds containing a range, it has to work out what the �upper� year is and check to see if that is �greater than or equal� to 1927.  If it is, then that is a possible matchanother approach that is suggested is to have a drop down with all years from databse and user is only llowed to select value from drop down and following logic is suggested :
    Because volumes can be received as ranges (e.g. 1964-1966), some extra coding is required where the user asks for a Year Range (such as + or � 5).
    Using the Year selected from the dropdown list, split it into 2 values, a low year and a high year. For example, if �1965-1968� is selected from the year dropdown, split it into �1965� and �1968� for the low year and high year respectively. If �1964� is selected from the year dropdown, split it into �1964� and �1964�. Now take the Year Range that the user has entered into account. For example, if the user has entered 5, subtract 5 from the low year and add 5 to the high year. Using these values, include the following search criteria in the query to the database:-
    (<low year>     BETWEEN
                 left (VOLUME_YEAR, charindex ('-',VOLUME_YEAR + '-') - 1)
         AND     right (VOLUME_YEAR, charindex ('-',VOLUME_YEAR + '-') - 1))
    OR     (<high year>     BETWEEN
                 left (VOLUME_YEAR, charindex ('-',VOLUME_YEAR + '-') - 1)
         AND     right (VOLUME_YEAR, charindex ('-',VOLUME_YEAR + '-') - 1))regards - i think if i could solve the first approach that would be something good as its most user freindly
    thanks

  • Need some help in creating client proxy to call webservice

    Hi experts,
    I am new to ABAP so couldnt understand the SAP ABAP jargons.
    On of my colleague has written one search help exit function and i need to use that and have to write client proxy to establish connection to webservice.
    I never worked on proxy or webservice so, struggling to understand the concept and steps.
    I am following second part i.e Release 640 part of /people/thomas.jung3/blog/2004/11/17/bsp-a-developers-journal-part-xiv--consuming-webservices-with-abap weblog.
    I couldnt find "To get the process started, we turn to our old friend SE80. <b>From the Enterprise Services Tab, we are going to select Client Proxy and then hit create"</b>
    when i go to transaction se80 ObjectNavigator, i could see two dropdown lists after some tabs.
    in first list, I have selected, "Application Hierarchy", and in second I am selecting "Package".
    Not sure whether its correct or not.
    Once i do this i could see long list of <b>Object name and its description.</b>
    Now, what should i do ? where should i go for "Enterprise Services Tab" to create my proxy.
    Any help would be appreciated.
    Please send me PDF, having detailed steps to create client proxy.
    Thanks,
    Pranav

    Right click on the package and select Proxy object. In the Wizard select Service Consumer.
    then give the url of the WSDL file you want to access or path if u have a local file.
    then give the package for client proxy.
    then complete the wizard. the  client proxy will be create in that package.
    Next step will be creating a Logical Port using the transaction "lpconfig". Give the proxy name of the service interface created under client proxy. and set the configuration as follows.
    1. Make as a default port.
    2. in the URL, give the url of the webservice (.asmx)
    3. select "State Enabled" and "Message ID"
    and after creating a logical port,  set the proxy settings as in your webbrowser.
    (Http proxy server and port).
    then simply execute your webservice from SE80.

  • I need some help on creating a query

    This is my first crack at writing query's.  
    I am trying to create a query for a list on clients with a file name on the system. I found a lot of samples on the web, however i keep getting errors on all of them. 
    Here is on sample:
    select SMS_G_System_COMPUTER_SYSTEM.Name, 
    SMS_G_System_SoftwareFile.FilePath, SMS_G_System_SoftwareFile.CreationDate, 
    SMS_G_System_SoftwareFile.FileDescription, V_R_System.ResourceType, 
    V_R_System.ResourceId from V_R_System inner join SMS_G_System_COMPUTER_SYSTEM on 
    SMS_G_System_COMPUTER_SYSTEM.ResourceID = V_R_System.ResourceId inner join SMS_G_System_SoftwareFile on 
    SMS_G_System_SoftwareFile.ResourceID = V_R_System.ResourceId where SMS_G_System_SoftwareFile.FileName = "test1234.exe" 
    First i was getting an error:
    Invalid object name 'SMS_R_System' and i had to change to V_R_System instead of SMS_R_System. "Is it because
    SQL and WQL difference?????"
    Now i am getting Invalid object name 'SMS_G_System_COMPUTER_SYSTEM' "Here is where i am stuck"
    If possible i would like to explanation as well "maybe some good links", please keep in mind just getting started with query's.
    Thanks for the help.
    I am writing/testing query in sql management studio.
    If there is a better way or a tool please let me know.

    The application i am looking for does not show up in ADD/REM.
    I was asking what is the difference between V_R_System instead of SMS_R_System?
    And what should i use instead of SMS_G_System_COMPUTER_SYSTEM?
    Maybe you can share some links so i can read a little more?
    Thank you.

  • I need some help to create more space on my hard drive-what can I delete?  I have my external G-DRIVE connected as a back up, so i think I'm duplicating a lot of back up files, mostly photos through Lightroom on my Mac HD. Only 9GB left out of 297GB...

    Have never had to retrieve backed up files so I think I'm just chicken to delete files on my Mac.  Is everything on my back up if I need it?  Even photos that have been processed in Lightroom?  Could I delete all older photo folders from my Mac and still get them from external drive if I needed them down the road?  I have run a GrandPerspective scan and it appears most of my disk space is used for photo files and back-ups...probably have 30,000-40,000 photos.  Thanks!

    Look at getting Onyx, as you have alot of photo's, and so do I. Onyx will help clear somethings from you Mac, all you have to do is run Automation, and or Cleaning. Is that 30,000-40,000 Photo's Duplicates? if so, you might want to delete as many as the those duplicates as possible. i see you use Lightroom, are you useing that to import your images or are you useing something else like Iphoto, or just importing them to your mac. if you are using something else to import your photo's and then reimporting them, this might create duplicates of images. also sometimes when you delete images you dont want, they might not be acctually deleted. so clear you Trash, and run onyx to help clear these things up.
    I know there are a few different programs out there that will help clrear out duplicates of items, and help you reduce space.
    Duplicate-Annihilator Looks for images in Iphoto that are the same, and allows you to change them or delete them.
    http://www.macupdate.com/app/mac/18748/duplicate-annihilator
    TidyUp ($$) Will look for Music, Pictures Documents, or any duplicates.
    http://www.hyperbolicsoftware.com/TidyUp.html
    Hope This Helps you.

  • Looking for some help in creating dynamic rdlc report for Desktop Application

    Hello ,
     I currently have the syncfusion reportviewer running in my desktop application, now what I am looking to do is create a report where my users, can select and deselect what columns and Items they want to print out. Is there any way to do this ?
    Thanks
    David.

    Hi David,
    We can integrate Syncfusion with LightSwitch application, if you want to customize column when create a report using syncfusion reportviewer, since I didn't try this third party
    extension before, I think you could consider getting help from
    syncfusion forum, more syncfusion experts can help you on this issue.
    Thanks for your understanding.
    Best regards,
    Angie
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Some help required

    HELLO,
       1. WHAT IS OSS.
       2. EXPLAIN THE CONCEPT OF CTS.
    REGARDS
    BALEEQ

    Hi Baleeq,
    <u><b>
    CTS</b></u>
    The Change and Transport System (CTS) is a tool that helps you to organize development projects in the ABAP Workbench and in Customizing, and then transport the changes between the SAP Systems in your system landscape
    The Change and Transport System offers you the following roles:
    - Transport Administrator
    - Transport Operator
    Also go through these links to know more about the same..
    http://help.sap.com/saphelp_nw2004s/helpdata/en/3b/dfba3692dc635ce10000009b38f839/frameset.htm
    http://help.sap.com/saphelp_nw04s/helpdata/en/57/9a9838e914a20de10000009b38f8cf/content.htm
    <u>
    <b>OSS</b></u>
    If you meant "What is SAP OSS connection service?"
    The answer is,It is a secure network connection that connect SAP's customer network to SAP support network in Germany to use "R/3 Online Services" over the Internet.
    Go through this link to know more about the same..
    http://www.csloxinfo.com/corporateaccess/saposs_en.asp
    But if you wanna know what you mean by OSS Notes
    Then the answer is, SAP will not support customer modified objects. Having said that, often it is necessary to make such changes to make the system behave as required by the business. The only supported changes are those made when applying OSS notes.
    Also go through these links to know more about the same...
    http://www.sappoint.com/ossnotes.html
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/cs/user/view/cs_msg/6632
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/cs/user/view/cs_msg/6539
    I hope it helps...
    Regards,
    Abhy
    PN: Reward the helpful...
    Message was edited by: Abhy Thomas

  • Some help required with Clipping Masks

    Hi,
    I'm quite new to illustrator - I've made designs before but really just playing at it.
    Now, though, I have a design which I had "grunged" up by applying a texture and knocking out the sections of the design with it in Photoshop. However, I want to learn how to do that in illustrator and thought that clipping mask was the answer.
    I can get the clipping mask to work except it creates the opposite effect I am after...It masks the portions of the image I want to keep visible leaving those areas I want masked visible.
    In effect I need to inverse the mask but I don't know how to do it in illustrator.
    Hopefully, I've made it clear what I mean and I appriciate any advice.
    Ta
    Malc

    You can use the Transparency panel to make an opacity bask as well and inverse that.
    Or if you wish use the pathfinder panel to minus front. I think the second icon on top from the left.
    Read the help files about opacity masks, pathfinder and clipping mask
    and it might also work as a compound path Command 8 or Control 8.
    Read about compound paths

  • I need some help to create service product in crm 2007

    Hello everybody
    I 'm new to crm 2007.
    Now I met a problem.
    Can somebody give me some advice. Thanks.
    I want to write a programm to create service product.
    But I don't know  function modul  which I can use.

    Hi ,Garcia   
    Thanks for your reply.
    I have tried that method,but met a error in sap function modul.
    My crm's version is 2007.
    Is there any othor method or fm?

  • Need Some Help in creating chart description is long thanks for ur time.

    Hi, I was asked to create a chart for an existing report which is Average number of days open versus Profit Center.
    I need to calculate Average number of days open as a sum of {command.Days_Opened}/Record Count.
    Record Count = number of records with days open <> 0 in a group
    I created a running total name Evalution and put it in details with formulae
    whileprintingrecords;
    Numbervar i;
    if (command.days_open) <> 0 then
      i := i+1;
    else
    i
    In group headder i put @reset with the following syntax: whileprintingrecords; Numbervar i := 0;
    in Group footer again Display with formulae whileprintingrecords; Numbervar i;
    so i finally got avg. number of days open as Sum of {command.Days_Open}/@dispaly
    tested the formule and is working well.
    But the problem is this formulae doesnt work in chart. How can i resolve this problem

    Sandeep,
    Your question was posted in the "General" forum, however, it appears that you have a specific question centering around an application.  I would suggest that you close this entry and re-post your question in the applicable forum (for example, Crystal or Web Intelligence, etc, etc).
    Thanks,
    John

  • Some help required for my Zen

    My Zen (Sleek Photo) is constantly crashing, so a black screen. When it happens, none of the buttons are responsi've and I can only turn it off by pressing the reset button. After resetting, the same thing will happen again and again. Occasionally it will take 2 seconds to crash and it has taken up to 2 minutes, when I was hopeful that it had sorted itself out.
    Thanks?in advance for?any assistance.

    Just a quick bump, as I still can't get it working.
    To make a correction, it's not a Sleek Photo. It's a 6gb Zen, sorry.
    I managed to clean up, reboot and reinstall my firmwire but I'm still having the same problem. I can't get it to work consistently at all. If I charge it for 5 hours, I may get 2 minutes of playback, but then it's will crash again. I don't know what to do, honestly. I've tried the MP3 recover tool and that had no effect.
    Any help, guys?

Maybe you are looking for