New stupid applet question

After frustrating myself to no end trying to make this simple thing I have tried a different approach. Here is my code...
import java.awt.*;
import javax.swing.JPanel;
import javax.swing.JLabel;
public class SAComp extends java.awt.Frame{
  // this will become an applet.
  // first I want to make it into a stand alone.
  JLabel completed;
  JLabel incomplete;
  int height = 75;
  int maxWidth = 400;
  public SAComp(){
    init();
  public static void main (String args[]){
    SAComp tmp = new SAComp();
  public void init(){
    initComponents();
    completed.setVisible(true);
    incomplete.setVisible(true);
    setBounds(100,100,400,400);
  private void initComponents(){
    // contains 2 elements.
    // Flow Layout...
    completed = new JLabel();
    incomplete = new JLabel();
    setBackground(java.awt.Color.black);
    setLayout(new java.awt.FlowLayout(java.awt.FlowLayout.CENTER, 0, 5));
    completed.setSize(100,height);
    incomplete.setSize(maxWidth - completed.getWidth(),height);   
    incomplete.setBackground(java.awt.Color.red);
    add(incomplete);
    completed.setBackground(java.awt.Color.green);
    add(completed);
    addWindowListener(new java.awt.event.WindowAdapter() {
      public void windowClosing(java.awt.event.WindowEvent evt) {
        exitForm(evt);
    pack();
    show();
  /** Exit the Application */
  private void exitForm(java.awt.event.WindowEvent evt) {
    System.exit(0);
}When I tried making the two components Labels they don't display. When I try making them panels they display as little squares regardless of setting the size.
I am trying to make a progress meter. The left side represents the completed items, the right represents the incompleted.
Can anyone help?
Thanks again

I apologize for the lack of knowlege on my part. I normally write db apps. This si a quick one off for a friend.
I'll look into progressBar. I hadn't heard of it.
As far as the labels vs panels I was simply trying to get 2 elements to display on the page such that they can be resized to represent a progress bar.
Oh, the multi init methods is a holdover from some other code. I was trying to write this as an applet but when I didn't work I switched it to a stand alone app for quicker testing. Sorry for the sloppy code. You know how it gets when something that should be simple turns into a mess and you thrash about trying different things.
Thanks for all of the input.

Similar Messages

  • I have an old itunes act with a lot of songs that i set up before i owned an iphone. now that i have an iphone i have a new act. my question is how do i get the songs from the old act onto my new iphone?

    I have an old itunes act with a lot of songs that i set up before i owned an iphone. now that i have an iphone i have a new act. my question is how do i get the songs from the old act onto my new iphone?

    Hello brjdunn,
    Thanks for using Apple Support Communities.
    You are able to change your Apple ID by following the instructions below.  That way you will still have access to all of your previous purchases:
    Change your Apple ID
    http://support.apple.com/kb/HT5621
    Take care,
    Alex H.

  • Presenter 8 -- need help with proper settings to allow quiz retake (with a NEW set of questions from a random pool)

    We are publishing a Presenter 8 quiz to an LMS in a SCORM format.  I am having trouble with the following:  the quiz is built with multiple question groups, and a limited number of questions are being selected from each group.  E.g. we have 80+ questions in total, and 25 are presented to a user on a given attempt.
    When a user fails the quiz and exits the quiz normally, we want them to study and try again.  I set the quiz settings to allow infinite attempts, and set the LMS settings to make sure the quiz is not presented in "review mode".  When I test this quiz by failing it the first time, when I reenter the quiz, I am taken to the last slide in the quiz (which is the last one I viewed), and I can retake the quiz by navigating back to the first question.
    Here's the problem:  I am presented with the SAME set of questions, rather than a NEW set of random questions.  This will facilitate cheating (all a user has to do is take the quiz once, review the answers, and then take it again to pass it).
    How do I insure that the user is presented with a NEW set of questions when I retake the quiz?
    I am open to upgrading to Adobe Presenter 10, but would rather not have to do so.  There must be some setting I'm missing.
    Scott Richardson

    If you move a mailbox from one server to another, Outlook will automatically repair the Outlook profile.  Have you tried this, instead of trying to force a profile update using a PRF?

  • New to applet on tomcat

    hi
    i m new to applets and i m confused whr to put my class files for appley either in jsp folder or webinf/classes folder.
    My applets is going to use sevral class do i have to put all in the same folder from whr my applet is starting.
    plz help
    i read the documentation of tomcat but it doesn't say whr to keep class files for applets.

    I've just started with applets as well. I found that you have to put your .jar or .class files in the same directory as your html page.

  • Applet question, how to download resource files from server

    hi,
    i am new at applet world.
    i have an applet that reads some resource, data and configuration files. so i need to download these files from server to client. i did some resarch and could not find how to download files from server in an applet application.
    how can i do this task?
    thank you for your answers.

    You may want to distinguish between 'resources' and data/configuration files.
    'Resources' are non-class files that are part of your application, i.e without them the application would simply not work, just like class files.
    Those are typically images, sounds or resource bundles (GUI elements translated to different languages) that nobody except you, the developer, would touch (when releasing an upgrade or a patch).
    Those should just go into the applet jar or additional jars named in the applet tag.
    Data/configuration files, that may be changed by others than the developers, should be made available through HTTP, just like the applet jar itself. The applet will have (read) access to them using java.net.URLConnection.

  • Old External to New MBP cable question (Time sensitive)

    I have a new MBP (purchased late january 2011). New external drives all connected properly and working. However, I need to access some old files for tax purposes (and that is why this is a time sensitive question.) These files were kept on a 60GB, small, portable drive: SmartDisk FireLite Model #FWFL60-N. This drive connected to my old MBP with a 4-pin firewire cable (wire has IEEE 1394 printed on it.) Obviously that cable is outdated for my new MBP. Question: Is there some type of wire (or conversion adaptor) I can purchase that will allow me to connect this old drive to the new computer? I never thought I'd need those old files -- but tax season has me scrambling for help or advice. Thanks!

    You need a 9-pin to 4-pin cable or adapter. For example this one from Macsales.
    [http://eshop.macsales.com/item/Newer%20Technology/1394B94036/|http://eshop.macs ales.com/item/Newer%20Technology/1394B94036>
    Similar are available from Amazon and other places. [Best Buy lists one (for a higher price)|http://www.bestbuy.com/site/Dynex%26%23153%3B-+6'+FireWire+9-Pin+to+4-PinCable/9539092.p?id=1218121950002&skuId=9539092&st=firewire&cp=1&lp=4]so if you are near a Best Buy, perhaps they'll have it in stock, if you need it sooner.

  • Warning: stupid user question ipad 3 (new)

    on ipad can reminders be "seen" in calendar view like they can on mac book air?
    thanks,

    No. In iOS, Reminders and Calendar are separate apps (and they will be in the upcoming new release of OS X, Mountain Lion, as well).
    As a new iPad owner, you might find the iPad User's Guide helpful:
    http://manuals.info.apple.com/en_US/ipad_user_guide.pdf
    Regards.

  • Re: Stupid Question from a new stupid user - accessing data connection

    Can anyone tell me how to get my 3G signal back up?  I have been trying to upload a few pictures to FB and it keeps failing, and I just noticed the 3G isn't on.  I have been only getting my emails when I am at home, but in front of a computer all day so hadnt notice my phone is getting.  I did check the CDMA/lte as suggested above (I have never messed with that) and it is on.  It has worked fine in the past.  Thanks
    <Branched to new discussion.>
    Message was edited by: Verizon Moderator

    Connie1954 wrote:
    I did check the CDMA/lte as suggested above (I have never messed with that) and it is on.  It has worked fine in the past.  Thanks
    Connie you did Good   Listening an Not messing with that Setting!  An as suggested Above i think a reset would help you Out.. Good luck with your Razr An thanks again for Reading an Paying a Attention to Our Post.. b33

  • Stupid Question from a new stupid user - accessing data connection

    Just converted over to a RAZR this week.  First smartphone.  It's smarter than I am.  Anyway, I can't seem to get the phone to hook up to my data connection.  I can't find anything in the manuals or searching.  Any help? 

    Looking on the Map you Got Excellent Coverage in Carlisle i will put a Link on here so you can put your Mouse on an Left click to see the Map in your Area an it also shows the Store that's not to far from ya..
    Just Click left click on the on the Link an it will take you to your Coverage area then to get back to here click you back Arrow on your Computer..
    Put your Zip Code in the map Search when you get on the map Site an it will bring up your City 17013 then tap 4G then Refresh
    http://www.verizonwireless.com/b2c/CoverageLocatorController?requesttype=NEWREQUEST?p_url=coverage_map_demo&=CDinaBox&cm_ite=Roaming

  • IMovie and iDVD, Stupid Upgrade Questions, Sorry Must Ask

    Okay, the deal is I have a PowerMac G4 Version 2.1 with a Combo Drive. I am upgrading to Mac OSX 3.0 so I can do certain things in iMovie and acquire a better browser. (My constraints on the iMovie project about which I've been inquiring are that at least 40 people have been waiting for copies of it for about a month and wondering why I don't come through with it--I sent a lengthy explanation to the guy who'll be duplicating it in case anyone asks. That's one reason I'm in such a hurry I have to ask urgent questions at forums and newsgroups and don't take the time to read every word ever written on every one of these systems and their various applications, abilities, and uses.)
    I started out thinking I was about one step from having a completed project and the more I learn, the more grim the situation looks. Yet I've done ALL THIS WORK already to create beautiful titles and elaborately-edited outtakes. I HATE to ditch it all if any faint hope flickers into sight!
    My Mac came with the following:
    iMovie 3.0.3 -- which seems to be working fine, only problem is, due to deficiencies in other equipment, I'm having trouble getting my movie to DVD or into any other form where it can be played anywhere outside the Mac!
    iDVD 2.1 -- My feeble brain, inadequate as it may be, has so far gathered the information that to go to DVD, a project can't be played in iMovie and sent straight to a DVD burner (can it?) There has to be some intermediary step. (Right?) People have argued the various merits of iDVD vs. Toast to accomplish this step. I hadn't opened my copy of iDVD because I am in no way near the point of being ready to make a DVD--I have not yet finished editing the project in iMovie. I made the hideous error of ASSUMING that since this came installed in my Mac, it would work fine when needed, just as iMovie did. When I tried to open it just to see what version I had, it wouldn't open and told me this:
    System Requirements
    iDVD 2 requires a PowerMac G4 computer with 256 Megs of RAM, a built-in DVD-R Superdrive and Mac OS 10.1.3 or later.
    Stupid redundant bonus question #1: WHY would this come installed on a Mac which lacks the hardware to use it? (iMovie could still be used to edit, and then copy projects--if I had a digital video camera--which I don't. The only other way we've figured is to send it back through the Canopus ADVC110 converter I used to get the video in there, and play it out to a VCR--a cumbersome process I've been assured will result in crummy quality.)
    Okay, here are the REAL questions:
    1. I don't suppose there's any way the Canopus could be connected to the DVD burner and the information sent to a DVD that way? Just asking.
    2. Obviously the upgrade isn't going to fix things to make iDVD work, as I'm already using Mac OSX 10.2.8, so I would assume its discontent stems from not having the Superdrive--at least, it was complaining something about inadequate hardware and I think that's what it meant. Will connecting a DVD burner via FireWire convince iDVD to work (either automatically or after some sort of tweaking), or am I stuck replacing the drive? I bought a DVD burner the minute I realized my drive was a Combo Drive and not a Superdrive (which is the first time I stuck a blank DVD in it and nothing happened) before learning details about this intermediary step and that there is more than one way to accomplish it.
    3. Is it even worth replacing the Combo Drive with a Superdrive or is it more worth buying a whole new Mac? If I am FORCED to buy a new Mac, what should I do with the old one? (Not only am I ethically opposed to tossing a perfectly good piece of electronic equipment into the ravine, I might get fined for littering. Can a good home be found for it? For that matter it would be a pain as I've saved all sorts of stuff to the Hard Drive which would have to be transferred to the new one before I could get rid of the old one. So can I keep the old one...PLEASE?)
    4. After making the system upgrade, will I be able to bypass iDVD entirely by using Toast, or does Toast also have all sorts of requirements my hardware does not possess so I'll still be SOL, stuck replacing drives or even the whole Mac, or going directly to crummy-quality VHS as there is NO OTHER WAY OUT?
    5. After making the system upgrade, would I be ready for more advanced versions of iMovie and iDVD? Are any upgrades free, or does every improvement cost? Do I get them all at the Apple site, order some of them from some supplier or other the way I did with the Mac OSX upgrade, or what?
    Thanks for helping to clear up my massive confusion!!!

    Wow, thanks. It's good to know iDVD is still an option, even if I don't buy the Superdrive (is that even possible, to get the Combo Drive taken out of my current Mac and a Superdrive put in? There's a question still unanswered.)
    (I think this is good to know--because part of my reasoning in asking the question was to eliminate one option or the other, and now I'm ending up with options of options, but hold on for Part 2 as I do have some questions concerning the capabilities of iDVD and Toast.)
    Partly answering one of my own questions (although I'd appreciate confirmation from someone who actually knows,) if these Toast 7 requirements mean what I think they do, I don't see anywhere that it says the computer MUST have a Superdrive and CAN'T use an external DVD burner!
    Toast 7 Titanium
    Requirements:
    * PowerPC G4 processor or faster (G5 recommended for viewing DivX files on your Mac)
    * PowerPC G3 processor and Mac OS 10.2 users, see Toast 6 Titanium or Popcorn
    * Mac OS X v10.3.9 or later
    * 300 MB of free disk space to install
    * Up to 15 GB of temporary free disk space during usage
    * QuickTime 7 or later
    * CD or DVD burner and recordable media
    If this is true (that I can use an external DVD burner) I like Toast already! My Quicktime Player is only version 6.5.2--is it going to be difficult, expensive, or both, to upgrade that? If it is or the other System Requirements are not met I can just go with Toast 6.
    As far as those requirements, I promise you I don't understand a word of it but here is what my System Profiler says my Mac has. Maybe someone can make sense of it and help me decide which version of Toast to get or, if not, what to do:
    System Profile
    Software Overview:
    | |
    | System version : Mac OS X 10.2.8 (6R73)
    (As I said, I'm upgrading to 10.3.0 soon, and obviously if I want Toast 7 gotta figure out the best way to go to 10.3.9 or higher.)
    | Boot volume : Hard Drive |
    | Kernel version : Darwin Kernel Version 6.8: Wed Sep 10 15:20:55 PDT 2003; root:xnu/xnu-344.49.obj~2/RELEASE_PPC |
    Hardware Overview:
    | |
    | Machine speed : 867 MHz |
    | Bus speed : 133 MHz |
    | Number of processors : 2 |
    | L2 cache size : 256K (times 2) |
    | L3 cache size : 1MB (times 2) |
    | Machine model : Power Mac G4 (version = 2.1) |
    | Boot ROM info : 4.4.6f2
    Memory Overview:
    Location Type Size
    DIMM0/J21 DDR SDRAM 256 MB
    DIMM1/J22 DDR SDRAM 512 MB
    DIMM2/J23 empty
    DIMM3/J20 empty
    Network Overview:
    Built-in:
    | |
    | Flags : 0x8051<Up,PpoinToPoint,Running,Multicast> |
    | Ethernet address : 00.00.00.00.00.00 |
    | IP : 67.0.142.95--> 67.0.128.6 |
    | Subnet Mask : 255.0.0.0 |
    | |
    Devices and Volumes
    PCI:
    SLOT-1(AGP):
    | |
    | Card Type : NVDA,GeForce4MX |
    | Card Name : NVDA,Parent |
    | Card Model : GeForce4 MX |
    | Vendor ID : 10de |
    | Device ID : 172 |
    | ROM# : 1121 |
    | Revision : a5 |
    | |
    USB Information:
    USB Bus 0:
    Apple internal modem:
    | |
    | Product ID : 33282 ($8202) |
    | Vendor : HCF USB V.90 Data/Fax Modem |
    | Device Speed : Full |
    | Power (mA) : 500
    FireWire Information:
    No FireWire devices found.:
    (Unsure why it says this as the Canopus Converter is a FireWire device and it's connected, turned on, and has been working.)
    Bus:
    CD-RW/DVD-ROM:
    | |
    | Disc Burning : Fully supported.
    (Obviously this means CDs only, not DVDs.)
    Hard Drive:
    | |
    | Disk Size : 57.26 GB (1K = 1024) 62 GB (1K = 1000) |
    | Unit Number : 0 |
    | ATA Device Type : ata |
    | Device Serial : VNC303A3L6AAHA |
    | Device Revision : VA3BA52A |
    | Device Model : IBM-IC35L060AVVA07-0 |
    | |
    Hard Drive:
    | |
    | Volume Size : 57.26 GB (1K = 1024) 62 GB (1K = 1000) |
    | Ejectable : No |
    | Writable : Yes
    One thing which may really sway me in favor of Toast is, will it make possible burning 2-hour DVDs? Supposedly iDVD will not enable anything longer than 90 minutes, and when I get to the other big project for which I really want to use the Canopus ADVC 110 converter, that is, converting my home movies from either VHS or 8mm video camera tape to DVD--well, ALL of my tapes are two hours long, because that's the way they come!! I don't see being limited to making 90-minute DVDs as anything but another GIANT PAIN of which I'm already amply supplied! So if Toast will fix this dilemma I'm ALL FOR IT!
    As always, thanks for help and advice.

  • Stupid security question answers.

    I have read the "Rescue email and reset Apple ID security questions" article so many times and also added new rescue emails to my account, but I still can't change the security question answers. I have money on my account that just sits there. I have tried a few months ago and since then i still can't do anything but download free stuff. I have recieved no email about reseting anything and would like to get a better answer then the stupid apple one.

    A rescue email address is not the same thing as an alternate email address - they are different settings/addresses, and a rescue email address can only be added by answering 2 of your security questions. If you didnt already have a rescue email address set up on your account then see if the instructions on this user tip helps younger the questions reset : https://discussions.apple.com/docs/DOC-4551

  • Stupid terminal question

    Hi,
    I have a stupid question, are terminals bi-directional? That is, can a terminal
    do input as well as output? How do I distinguish? If a sub vi has a numeric
    INDICATOR wired to a terminal, that makes it an input, but if it is a numeric
    control wired to a terminal it is then an output? I need to get data that
    was set in a main panel into a sub vi in the diagram, as I said in my last
    post, but I cannot seem to do it. Any help would be most appreciated. Thanks
    very much
    JMH

    JMH wrote:
    > Hi,
    >
    > I have a stupid question, are terminals bi-directional? That is, can a terminal
    > do input as well as output? How do I distinguish? If a sub vi has a numeric
    > INDICATOR wired to a terminal, that makes it an input, but if it is a numeric
    > control wired to a terminal it is then an output? I need to get data that
    > was set in a main panel into a sub vi in the diagram, as I said in my last
    > post, but I cannot seem to do it. Any help would be most appreciated. Thanks
    > very much
    >
    > JMH
    See my post to your previous question.
    This input, output, control , indicator, business is confusing for new users.
    A terminal (on the connector pane) will be can be *Either* an input or an
    output (but not both at the same time). This is determined by what you
    wire to it.
    Now here is the tricky part. When you do this on SubVis the terminals
    *APPEAR* to be the opposite of what you wire to them. When we talk
    about these it is best to refer to the controls / indicators, as sources and
    sinks.
    One is the source of data , the other is the sink of the data. The role that the
    control or indicator takes depends on where you look at it in the data flow chain.
    Here is a simple example.
    VIMain has Sub1 and Sub2 on its diagram.
    Sub1 has a control#1, wired to indicator#1. Control#1 is on the left terminal
    and indicator#1 is on the right terminal. Sub2 looks exaclty the same, except
    the items are named Control#2 and Indicator#2.
    I drop these on VImain and wire from the right terminal of Sub1 to the left
    terminal of Sub2.
    I set the value of control#1 , and run VIMain. Control#1 sources the value and
    Indicator#1 sinks it.
    Since this is tied to Sub2, Indicator#1 immediately *Sources* the value,
    Control#2, sinks it.
    Control#2 *Sources* the value and Indicator#2 sinks the value and all Vis stop.
    If you always wire Controls to the left hand terminals and Indicators to the Right
    hand terminals
    it makes it much easier. Also turning on the help and passing the cursor over a
    subVI will show
    you what these terminals are tied to. If the wire goes to the left this is a
    control and is the SubVIs *INPUT*
    if the wire goes to the right it is tied to an Indicator and is the SubVIs
    *OUTPUT*.
    Hope this makes it a little more clear.
    Kevin Kent

  • Help - Applet Question ???

    Hi, I thought I post it yesterday, but I could not find it.
    I write a simple applet as follow:
    public class demoapplet extends Applet {
    private StringBuffer buf = new StringBuffer(1000);
    public void init() { }
    public void start() {
    //display start info
    disp("start");
    buff = processXML();
    sendHTTP(buff);
    //display start info
    disp("end");
    public void disp(string st) {
    Graphics g;
    g.drawString(st,10,60);
    public stringbuffer processXML() { ...}
    public void sendHTTP(stringbuffer buf) {... }
    My question:
    1. How to init Graphics object?
    If I use paint method, I can not pass string variable.
    2. How to send stringbuffer to another application
    via HTTP?
    3. Any problem I put my processXML and sendHTTP in start method? It only be called once when user load html page.
    Many thanks

    Hey Hi! david...
    first of all make your questions a bit more clear,
    about getting the graphics object you can get it by
    Graphics g=getGraphics();
    in the Applet.
    Also about getting the string in the paint method of the Applet. you can declare a string variable in the class and it would be accessible in the paint method.
    I first of all suggest you to get your basics right ..
    regards
    vikram

  • Programming new shutdown applet on Cinnamon (systemd related)

    Hello everyone,
    I have installed Cinnarch, and I wanted to use the shutdown applet but its code doesn't work if you are using systemd. So I planned to program the new code to be compatible with systemd, but I don't know how to do it. The code that doesn't work is the following:
    $ dbus-send --system --print-reply --system --dest=org.freedesktop.ConsoleKit /org/freedesktop/ConsoleKit/Manager org.freedesktop.ConsoleKit.Manager.Stop
    So, what would be the code for shutdown with systemd.
    Thanks in advance.

    I am afraid there may be differences between Cinnarch and Arch in this regards.  As such there are no guarantees an advice from Arch users would be of help.  Even more importantly, we cannot run run risk that an advice that is relevant to Cinnarch would not be applicable, or worse, wrong when it comes to Arch Linux users and the members of these forums.
    That is why we do not provide support for other operating systems
    Please ask this question on the Cinnarch forums.

  • New Calculated field question. Complicated I think.

    I have managed to create this table from a MySQL database: http://ppbm5.com/DB-PPBM5.php
    The field 'Total' is a calculated field using this SQL query:
    $query_Recordset1  = 'SELECT *, `Disk I/O`+`MPEG2-DVD`+`H264-BR`+IFNULL(`MPE On`,`MPE  Off`) As Total, `CPU`*`Cores` As Phys_Cores FROM `Personal_data` WHERE 1  ORDER BY (`Disk I/O`+`MPEG2-DVD`+`H264-BR`+IFNULL(`MPE On`,`MPE Off`)),  `Date & Time` ASC';
    So far, so good, but as you may have  noticed, there is a next field called 'Rel. Perf.' which only contains  blanks. And that is where my problems start.
    The table is sorted by 'Total' and the first record shows these figures and field names that are relevant for my question:
    Fields: 'Total'  'Disk I/O'  'MPEG2-DVD'   'H.264-BR'   'MPE On'   'MPE Off'
    Values:  131,        67,              21,                  37,              6,              64
    In addition, I use four 'weight' figures, let's say these are 0.27 , 0.30 ,  0.20 and 0.23 denoted as W1, W2, W3, W4.
    First step is to calculate four temp values, using a formula like this resulting in T1, T2, T3 and T4:
    T1 = W1 x  Total /Disk I/O; T2 =  W2 x Total/MPEG2-DVD ; T3 = W3 x Total/H.264-BR ; T4 = W4 x Total/(IFNULL(MPE On, MPE Off)
    Note that this only applies to the top record and here the SUM(T1, T2, T3, T4) results in 131, equal to the Total.
    The result of 100 x SUM(T1, T2, T3, T4)/ Total = 100 should be the 'Rel.Perf.' result for the top record.
    Now  is gets difficult. Let me call the records R1, R2, R3, ..., Rx. Now, in  the previous step we have established that the figure 100 should into  R1.
    For R2 the result of the 'Rel.Perf.' is 100 x SUM(T1 x Disk  I/O(2), T2 x MPEG2-DVD(2), T3 x (H.264-BR(2), T4 x (IFNULL(MPE on, MPE  Off)))/ Total(2)
    For R3 the result of the 'Rel.Perf.' is 100 x  SUM(T1 x Disk I/O(3), T2 x MPEG2-DVD(3), T3 x (H.264-BR(3), T4 x  (IFNULL(MPE on, MPE Off)))/ Total(3)
    etcetera for all the rest of the records in the table.
    A  complicating factor is that the reference point of the top machine  should remain fixed at 100, but when doing queries, the top machine may  not be in the query results, but all the query results for the Rel.Perf.  should be derived from these scores. Life would be infinitely easier if  one would be certain that the top machine is fixed, but that is not the  case.
    Sorry to make this such a long and complicated post, but  for those who have struggled through this long message, if you have any  suggestions on how to make this work, I would appreciate it.
    Thanks in advance.
    Harm, while non is intended.
    PS. I have been trying to generate a SQL query, using the following code:
    $query_Recordset1 = 'SELECT *, FORMAT(`Disk I/O`+`MPEG2-DVD`+`H264-BR`+IFNULL(`MPE On`,`MPE Off`),0) As Total, FORMAT((54.661*`Disk I/O`+161.25*`MPEG2-DVD`+71.66666*`H264-BR`+645*IFNULL(`MPE On`,`MPE Off`))/129,1) As RPI,`CPU`*`Cores` As Phys_Cores FROM `Personal_data` WHERE 1 ORDER BY 54.661*`Disk I/O`+161.25*`MPEG2-DVD`+71.66666*`H264-BR`+645*IFNULL(`MPE On`,`MPE Off`), `Disk I/O`+`MPEG2-DVD`+`H264-BR`+IFNULL(`MPE On`,`MPE Off`) ASC';
    For static work it is OK, but not when a new top performer submits his data.

    Hi William,
    Per my understanding that you want to count the number of the value in the field wait which is smaller then 15, right?
    I have tested on my local environment and that you can add the calculated field (Count) using the expression as below:
    =IIF(Fields!wait.Value<15,1,0)
    Insert an outside group row and then get the total count by using below expression:
    =SUM(Fields!Count.Value)
    Preview you will get the result like below:
    If your problem stil exists, please try to provide some sample data and the exprect count result you want.
    Any problem, please feel free to ask.
    Regards
    Vicky Liu
    Vicky Liu
    TechNet Community Support

Maybe you are looking for

  • Missing "Photoshop" option in the Drop-down Menu Toolbar

    So today, I hear about "Syncing" my settings in Photoshop CC. In asking how to do that, I am told to go to the "Photoshop" option of the Dropdown Menu Toolbar. I don't have such an option -- my choices are File, Edit, Image, Layer, Type, Select, Filt

  • Cache.db in home folder, should this be here?

    I just did a restore from my time machine back up, and now there is a Cache.db file in my home folder. Can I just delete it?  Or should I just make it hidden?

  • Default outgoing email address

    I have several email addresses and would like to link a specific address for individual contacts. Is there a way to set a default outgoing email address for specific contacts?

  • Can I use 1333GHZ memory in a machine that uses 1066GHZ memory

    Can I use 1333GHZ memory in a machine that uses 1066GHZ memory

  • ORDER BY FIELD, Query of Queries

    Hi, is ther any substitution for this query in CF Query of Queries? SELECT * FROM table1 ORDER BY FIELD(col_1, 'apple', 'orange', 'banana') Query of Queries do not support FIELD but I need a query ordered in a specific way and i would rather not add