Baffled

hi
here's a segment of code i'm having a problem with :
import java.io.*;
public class Reader_O {
  public static int reader() throws IOException{
    BufferedReader d = new BufferedReader(new DataInputStream(System.in)); 
    String input;
    while((input = d.readLine()) != null){
    ...i'm getting an error that constructor BufferedReader(java.io.DataInputStream)is not found in class java.io.BufferedReader.
It seems obvious that there should be no constructor of that nature in the class; but there is!?!
Why am i getting this error.
Thanks

duh!.....
This may work better....
BufferedReader d = new BufferedReader(new InputStreamReader(System.in));

Similar Messages

  • Links Pallet Missing. Adobe Help Line baffled.

    A day killed on the Adobe Help Line and no hope in sight. The Links Pallet is AWOL and Adobe tech support can't find it.
    Originally the problem was an error when trying to export a 275 page book to idml format as something was going wrong with the minor panic of losing months worth of work. It kept crashing InDesign CS5 on Win-7 64 Pro.
    In three very long calls over the period of the day, creating new ID's, wiping out all sorts of stuff, including a reinstall of just ID, the Adobe help line finally had us permanently deregister the Suite, remove the whole suite, clean everything with a piece of code they recommended, and reinstall.  It was a clean install. Adobe Creative Suite 5 Master Collection on two DVDs, selected to install every option that had a check box - take a lunch break while it does its thing. Then updated to the latest code for InDesign (7.0.4) and Photoshop (all three check boxes) since those are the only two we generally use.  We went through all the drills such as trashing to preferences, and so on. All the ID extensions are checked as well. When all was said and done, the file still crashed the system, suggesting the problem was a corrupt file. Time to go to plan B...
    We managed to find an older version idml copy that could be updated using draft printouts, and patched our way back to sanity only to discover that none of the images were linked, and when we went to fix this using the link pallet, it was not there. No link panel, not on the /window drop down, not anywhere. We finally relinked the images by using the Package "Repair All". However, one image was RGB, and when we right clicked to edit in orginal (Photoshop), there was no such option anymore. The tech support guy at Adobe was baffled (politely).
    Somehow an awful lot of features related to images have vanished in this futile attempt to fix another problem. We are now worse off than we were this morning.
    We figure there is some sort of switch somewhere, that Adobe tech should know, but their help line seems to be staffed by people whose solution is to delete everything and start over. When that failed to work, they said they will call back, but by the time we rang them back they were closed.
    Has anyone either had this happen, or know what might be causing it? Links is an important feature, and without it, we might as well go back to CS-4...
    Hmmm, good thought, let's try it.  Just tried it before hitting Post Message, saving the file as IDML, but before it would open, the old ID-CS4 crashed with an error "Failed to open plugin resources: PARAGRAPH COMPOSER.RPLN" argh! (Don't let this one distract the question... all we want to know is how to find the Links Pallet on ID-CS5 v 7.0.4)

    lewenz wrote:
    We are writing this saga in hopes someone in management at Adobe may actually read it and make some changes to their company. While they may think they save money farming their support out to a call centre in India, they have chosen the wrong centre, or their quality control is bad. While their hourly costs may be lower than running support out of their home office, we suggest Adobe is paying more because the call centre takes so much time, and creates so many new problems. In fact, we do wonder if the reason the call centre people are so polite and constantly repeating and apologising is not cultural, but so they can keep the meter running longer. Memo to Adobe: You are being ripped off. Even if you don't care about your customers, your too-smart cost-cutters are losing you money. Better to provide high-quality tech support that knows what is wrong and finds the solution in minutes than wasting hours and days as happens now.
    It turns out that the support rep at Adobe gave us bad information and was about to propose more bad answers had we not become stroppy and demanded to speak to someone more competent. The support technician's next step was for us to:
    Load ID CS5 on another windows PC
    If the software worked on that PC either call Microsoft (yeah right) or
    Delete and reinstall Windows 7 Pro
    They did not volunteer any more than step 1, but having lost patience with their erroneous advice in the prior round, we pressed for what they would recommend next, since in fact the CS5 products had been working fine on the main desktop until they started telling us to start deleting and reinstalling things. On a complex multi-application computer, deleting and reinstalling Windows is not a simple matter, it usually results in downtime of three days and invariably important programs are reset, losing customisation that has been done over time. Our team concluded that rather than do this, if there was no other solution, we would trash CS5 and either go back to CS4 or purchase an Apple desktop solely to handle InDesign. Therefore, instead of continuing down this line of blind nonsense, we demanded to speak to someone who spoke better English, had a better phone connection and knew more than to tell us to keep damaging our systems.
    Finally, we got a call back from a more informed 1st tier support rep who goes by the nickname Sonny. For some reason the connection was far better, and we could understand every word of his much better English. It turns out that the Adobe support rep had walked us through the delete and recovery procedure and omitted a key step. This was only learned by pressing Sonny hard, until he realised the missing step. The prior rep walked us through the following support process and only told us to call back after we had begun step 5.
    Deactivate the CS5 Master Collection,
    Download and Unzip Creative Suite Cleaner Tool
    Create a new User ID with Administrator Level authority and sign on to it
    Close all programs and run the Cleaner Tool
    Reinstall CS5
    Download the updates (which is a problem when one is on a 10gb cap broadband plan)
    Of course, this did not fix the problem we had called about (manuscript kept crashing ID), but additionally the Links Pallet was completely missing as was the Edit Original right click function which made managing images in a manuscript impossible.
    When we reviewed this with Sonny, he finally identified the missing step. Before Step 4, running the Cleaner Tool, run the Microsoft Control Panel Uninstall Program to remove all the programs. Then run the cleaner tool to find files that Microsoft missed. Finally, after Step 4, add an additional step of manually looking at the files using File Manager to make sure all files were cleaned out and gone. When all this is done, go to Step 5 reboot and reinstall.
    Well the reboot took about 15 minutes as all sorts of orphan files came up, but when all was reinstalled, the InDesign functioned as it was supposed to function. The links pallet and edit orginal image was back where they belonged.
    The only thing we discovered is that when we went to email, eleven years worth of emails had vanished. We are now in correspondence with the email support team (thankfully, we use a commercial product, not a free one) to see if these can be recovered. It appears the Cleaner cleaned out more than Adobe. Oops, sorry about that. Argh!
    So what have we learned?
    The original problem appears to have been a corrupted file. Since this was a 275 page manuscript, it was not something that could easily be given up. We called Adobe hoping to figure out why the application program was crashing. This was never answered. It would crash when we ran spell check and it would crash when we tried to export it to an IDML file. This is a deficiency in the Adobe product that it allows this. Adobe never addressed this, or identified this.
    It was only when we started doing our own trouble shooting while waiting for Adobe to call back after they trashed the delete and restore application, that we realised we were being supported by ignorant technicians who appear to have little understanding of their products, very poor communications technology (it's hard to understand them due to a low quality line and in some cases a strong Indian accent), and whose "solutions" were to remove and reinstall their products. In this solution approach, the support technicians don't always get the steps right, with the outcome that the "solution" does not work.
    At this point, we realised we were in worse shape than when we made the original call. So we searched our files to find the most recent IDML backup that did work, imported it and then took pdf printouts to re-enter all the changes to the manuscript since that backup was made. We hope we located all the differences between the two drafts. This of course is a manual process and what we sought to avoid by calling Adobe in the first place, but we realised that the Adobe support was going to take more time than clerical re-work. Thus we ended up with a repaired manuscript - no thanks to Adobe, and a newly defective application program where their next "solution: was to trash the operating system.
    At no time did the technician ask the key questions to review what they might have done or not done that could have caused the problem. In other words, Adobe does not run a technical support line, but a trash and rebuild line. They waste hours of their own call centre time, not to mention the client time, creating further problems, call centre hours that we presume Adobe must pay for.
    That we must listen very carefully to what the technician says back, since over 50% of the time, they do not understand. When the record is read back, it is wrong (they wrote down that ID crashed on opening... never true).
    That it is not impolite to ask them to stop wasting time with very long apologies as the opening of every sentence.
    That it is essential that you have the customer identity information in the right order, so they do not spend 10 minutes verifying who you are.
    That it is not impolite to tell them to stop filling the air with nonsense and either answer the questions or get someone who can.
    That it is not inappropriate to threaten to document the call and file a formal complaint with Adobe.
    So for anyone who uses Adobe Help:
    Demand someone who can speak clear English on a clear phone connection. Write down their name and location so they can be tracked.
    Write down every step they propose and ask what is the next step if it fails to achieve the desired outcome.
    Demand that each step be written down in their documentation as well.
    Demand to know every custom file such as preferences and language dictionaries and their location. Make copies outside of Adobe so the cleaner file does not delete them. A folder on the desktop is the safest.
    When it becomes clear the technician does not have a clue what they are doing, demand to speak to their boss.
    Document every step here on this forum, so when they ask how they did, refer them to the public record.
    Thanks to Peter Spier and Jongware for their attempts at solutions. Turned out it was a corrupt file that would have been a disaster had we not made backups and a defective Adobe technical support system that threated to trash our whole operation.
    Bravo for persisting, insisting, asserting, relying on your own intelligence as you realized you were being not only ill-served, but wrongly-served and unforgivably-destructively-served. Sorry to hear how your own civility kept you from acting protectively sooner.
    I agree about escalating cases to the highest-level support manager ASAP as you discover incompetent support. I've written about this in a few posts that you can find with this Google search link: InDesign knowhow pro escalate support. I usually offer "I don't mean to be rude, but if you're not expert with this issue..." or I substitute "...aren't able to read the case notes and have expertise," and similar phrases, THEN I PRESS FOR ESCALATION, EVEN IF I NEED TO BE RUDE TO GET IT.
    However, with the increasing complexity of the stuff we use, and, as in your example, it takes a few days to rebuild a system, don't be lulled by the concurrent increased confidence you get from smarter hardware and software. I suggest cloning working systems for backups in disasters like you're reporting. Don't overwrite stored clone backups with unproven current systems that may have unbeknownst to you just gone bad. Consider virtual software like VMware Fusion or Parallels, even if you're committed to Windows; you can install one or more virtual Windows systems on a real Windows system, make snapshots and revert to them if needed. I think these are more robust than Windows Restore Points, because snapshots track everything done on the virtual drive, whereas restore points only undo the Registry, IIRC, so corrupted user files remain corrupt, lost files remain lost.
    IOW, practice safe computing.
    I heard of a business professional who sued his doctor for time lost when he was kept waiting for an extremely long period with no explanation, offer to reschedule, etc. (IOW, he got "airline treatment.") Whether he collected isn't the point so much as the recognition of the concept, and the corresponding smart pro-customer-service steps taken across many industries and companies. Whether defensive or pro-active, better customer service is better for everyone in chain of relationships.
    HTH
    Regards,
    Peter
    Peter Gold
    KnowHow ProServices

  • I put a case on my iPod touch 5 and now there is no sound coming from the speaker.  The head phones work though.  I called Apple Support and the 2 people I spoke with seemed baffled.  Has this happened to anyone and how do I resolve this?

    I put a Griffin case on my daughter's iPod Touch 5 and now there is no sound coming from the speaker.  There is sound when we use the headphones.  Is there a mute function that I may have switched on and if so how do I turn it off?
    It was a gift bought by her Godparents in January and I live in the islands so I can't just drive it back to the store to have them look @ it!
    Called Apple Support and spoke to 2 people who seemed baffled and who could only suggest I reset the device.  Who h has not helped.
    HELP!!!!!!!

    - Try cleaning out/blowing out the headphone jack. Try inserting/removing the plug a dozen times or so.
    Try the following to rule out a software problem
    - Reset the iPod. Nothing will be lost
    Reset iPod touch: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Reset all settings
    Go to Settings > General > Reset and tap Reset All Settings.
    All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
    - Restore from backup
    - Restore to factory settings/new iPod.
    - Make an appointment at the Genius Bar of an Apple store. Seems you have a bad headphone jack.
    Apple Retail Store - Genius Bar
    Apple will exchange your iPod for a refurbished one for this price. They do not fix yours.
    Apple - iPod Repair price                  
    A third-party place like the following will replace the jack for less. Google for more.
    iPhone Repair, Service & Parts: iPod Touch, iPad, MacBook Pro Screens
    Replace the jack yourself
    iPod Touch Repair – iFixit

  • My photos will not sync to my Apple TV (1st generation), ipad, iphone, or itouch. They used to be there but upon recent syncs with all devices they have all gone. I am totally baffled as I have not changed settings?

    My photos will not sync to my Apple TV (1st generation), ipad, iphone, or itouch. They used to be there but upon recent syncs with all devices they have all gone. I am totally baffled as I have not changed settings?

    I had the same thing happen to me.  It's a bug in iPhoto 9.4.2.
    The first time you run iPhoto after upgrading to iPhoto 9.4.2, it "updates the iPhoto library".  This sometimes tickles a bug where iTunes can see all your iPhoto albums, but iTunes thinks they are empty.  Since iTunes thinks all your albums are empty, it dutifully deletes any photos from your synced iOS devices.
    It's easy to tell if this is the problem you are seeing.  Open iTunes and go to the photos sync panel for one of your iOS devices.  If you have multiple albums checked, but iTunes shows a total of 0 photos, then you have the problem.
    I spent an hour with an Apple Genius.  he couldn't find any mention of this problem in their internal support system.  His recomendation was to reinstall the operating the system.  I suspect that this won't solve it.
    The only solution I have found is to restore iPhoto 9.4.1 and the corresponding iPhoto library from your backups.
    I would refrain from upgrading to iPhoto 9.4.2 until Apple has a fix for this issue.

  • Why can't I get actions to work? BAFFLED

    Hi, I'm a graphic designer, really not up to speed in the web world. I made myself an idiosyncratic little website using edge animate, learning from the built it lessons (I would appreciate any feedback concerning as I'm stumbling around here, if anyone can be bothered )
    I wanted to add an email link to the end of it, also, some kind of 'skip to the end' feature that appears from the beginning, and eventually a link to a portfolio site. But I can't get ANY actions to work.
    However, when I make a new file, I can do all these things. I can draw a rectangle, and make it clickable so that it jumps to the end, or opens an external site. It does this as expected, when I 'preview in browser'. But my main animation that I've spent hours mucking around with, does nothing. Mouse clicks do absolutely nothing...
    So, I'm baffled, and any help would be appreciated greatly.
    Here's my site, its a simple html thing with the edge animation embedded. I'd never offer these services for a client, but I thought I might be able to cobble something together for myself. As I said, any feedback would be welcome, as I'm stumbling around a bit. Ok a lot.
    www.antenna.net.nz
    thank you!
    Simon Gregory

    Thanks!
    I'll past the code below, but actually it think this eror relates to a symbol I created when I was trying to get an email link working, and I forgot to delete it. Though it didn't work, I'm not sure it has much to do with WHY I couldn't get actions to work in the first place, as nothing else I tried, very simple things like a link to an external webpage worked either. Yet they did when I attempted it with a new animate project. Not sure.
    the whole project is here as a zipped file.
    http://www.antenna.net.nz/animatebafflement/published.zip
    and here is that code as mentioned. And thanks for your help!
    (function($,Edge,compId){var Composition=Edge.Composition,Symbol=Edge.Symbol;
    //Edge symbol: 'stage'
          Symbol.bindElementAction(compId, symbolName, "${_arrow}", "click", function(sym, e) {
             // insert code for mouse click here
             sym.stop();
    (function(symbolName){     
    })("stage");
       //Edge symbol end:'stage'
       //=========================================================
       //Edge symbol: 'Symbol_1'
       (function(symbolName) {  
          Symbol.bindElementAction(compId, symbolName, "${_email}", "click", function(sym, e) {
             // insert code for mouse click here
             var emailer = window.open("mailto:[email protected]?subject=Are you my designer?");// sym.$("name") resolves an Edge Animate element name to a DOM
          //Edge binding end
       })("Symbol_1");
       //Edge symbol end:'Symbol_1'
    })(jQuery, AdobeEdge, "EDGE-20179367");

  • My computer has been spontaneously restarting itself.  This last time I wasn't even at the keyboard, I was across the room.  I don't know what to make of it, completely baffled.

    My computer has been spontaneously restarting itself.  This last time I wasn't even at the keyboard, I was across the room.  I don't know what to make of it, completely baffled.  I'd love some help on this, and if it could come in layman's terms I'd love it even more.

    Hi ...
    Try Troubleshooting the MagSafe adapter
    If the Mac freezes, it may be a preference setting.
    Check System Preferences > Energy Saver
    See if Restart automatically if the computer freezes is selected. If it is, deselect that box.

  • Connecting kurzweil sp88 to GB I want to connect my Kurzweil sp88 to GB. The Kurzweil has a baffling array of buttons and possible MIDI channels. It also has the old style MIDI plug ins. I've got the MIDI out connected to my MacBook Pro via USB adapter.

    I have my Kurzweil connected to my MacBook Pro via an adapter (old style MIDI from Kurzweil to USB adapter connecting to Mac). The Kurzweil has a baffling array of buttons and possible MIDI channels. Can anyone please tell me which of the channels I should use? Also, should I leave the MIDI In cable out of the Kurzweil? Thanks for as detailed an answer as possible. If you like you can respond directly to me at [email protected]

    First of all I do not own this keyboard. But a quick look at the manual (found on the internet) says that when first powered up the SP88 is in Internal Sounds mode. Meaning you hear the sounds selected when playing the keyboard. It also stated that the default Midi Transmit Channel is Midi Channel #1.
    Looks like you would need to go to the SP88 Keyboard's MIDI SETUP and simply select LOCAL OFF. Now the keyboard should be ready to transmit Midi Out only and no internal sounds should be heard.
    Next you may or may not need to do this but you might need to go into the Utilities Folder found in your Applications Folder on your Mac and double click AUDIO MIDI SETUP the keyboard Icon. Figure #1 below.
    Next you need to make a physical connection from the Midi Out of the SP88 to the Midi In on your Midi Interface. Figure #3 below. You may need to Click on Add Device first. Figure #2 below.
    In the examples shown below I have a Yamaha Electronic Drum Kit that is Midi Out only... not USB out. I had to plug a Midi cable from the Midi Out Port on the back of my Drum Module to the Midi In Port on the back of my Motu 828 Audio Inferface which is connected to my Mac. Next I created the Audio Interface and Drum Module "Devices" as mentioned above.
    I then double clicked on the Drum Module and made my Midi Out Selections. Figure #4 Below. And once it was setup and the icons closed I used my mouse to draw a virtual cable connection from the Drum Module Out to the Audio Interface In. Figure #3 below. This is how I got my Midi Devices to talk to one another.
    Once you have made your setup as I have outlined create a MIDI Instrument Track in Garageband, select an instrument for example a Piano then Record Enable that track in Garageband and see if you now hear what you are playing. In this example the SP88 is a Midi Controller only and you will only hear sounds selected in Garageband which is what you want.
    Keep in midi your setup may be different than mine. You can keep your SP88 Keyboard on the default Midi Channel #1. That would be a good place to start. Garageband receives Midi on all channels.

  • Baffling Problem with Acrobat Javascript

    I'm hoping someone can help me. I've tried for hours and hours to find what the trouble is but just can't find a solution.
    The following code works, however, this is the baffling part. I need to edit / update the code but the problem occurs when I make ANY changes to the code - even indenting a line. You will notice that the code is not indented and poorly formatted - that's because when I had the code indented, I repeatedly got a "SyntaxError: missing } in compound statement"
    I am completely baffled as to why sometimes I get the SyntaxError and sometimes not. I swear there are instances where the code worked one time and then another time causes a SyntaxError.
    Tried using Adobe Javascript Debugger, tried running code through jslint.com, tried creating a new PDF file and placing this code in that file - still getting SyntaxError if I change or indent the code. The only thing I haven't tried yet is trying it out on the Windows version.
    I'm using Acrobat Pro 10.1.3 (Creative cloud) on a Mac OS X Lion 10.7.4
    Any help would be really appreciated!
    var trackErrors = 0;
    var errorMessage = 'Please complete all of the required fields';
    if (this.getField('1A').value.length === 0) { errorMessage += ' A Wall Height '; trackErrors++; }
    if (this.getField('1B').value.length === 0) { if (trackErrors === 1) { errorMessage += ', B Wall Length '; } else { errorMessage += ' B: Wall Length '; trackErrors++; } }
    if (this.getField('1C').value.length === 0) { if (trackErrors === 1) { errorMessage += ', C Spacing '; } else { errorMessage += ' C: Spacing '; trackErrors++; } }
    if (this.getField('1-4-radio').value === 'Off') { if (trackErrors === 1) { errorMessage += ' and Material Type - Fabric or Laminate.'; } else { errorMessage += ' Mat type'; trackErrors++; } }
    if (trackErrors === 0) {
    var x, y, v, z, kits = '';
    var flag = 0;
    this.getField('1D').value = this.getField('1B').value / 2;
    this.getField('1E').value = this.getField('1D').value / this.getField('1C').value;
    this.getField('1F').value = Math.floor(this.getField('1E').value);
    this.getField('1G').value = this.getField('1F').value + (this.getField('1F').value - 1);
    this.getField('1H').value = this.getField('1A').value * this.getField('1G').value;
    var materialType = this.getField('1-4-radio').value;
    switch (materialType)
    case 'F':
    x = this.getField('1H').value / 32;
    y = Math.ceil(x);
    this.getField('bw-kits-required').value = y + " Kit Required";
    break;
    case 'L':
    x = this.getField('1H').value / 128;
    y = this.getField('1H').value / 32;
    if (flag === 0) {
    if (x === Math.round(x)) { kits += x + ' kit '; flag++; }
    if (y === Math.round(y)) { kits += y + ' kit '; flag++; }
    v = Math.floor(x);
    x -= v;
    if (v > 0) { if (x < 0.75) { kits += v + ' kit'; v = Math.ceil((x * 128) / 32); kits += ' and ' + v + ' kit'; } else if (x >= 0.75) { kits += (v + 1) + ' kit '; } } else { kits += Math.ceil(y) + ' kit'; }
    this.getField('bw-kits-required').value = kits;
    break;
    } else { app.alert(errorMessage); }

    I don't get the same thing in Acrobat 9 on Windows XP. It would be interesting to see what happens if you copy what you posted here on the forum and use it.
    I would suggest changing code like:
    if (this.getField('1A').value.length === 0)
    To something like this:
    if (this.getField('1A').valueAsString.length === 0)
    If you use the value property and the field value is numeric (or "true" or "false"), it won't have a length property because the type of the value isn't "string", so it will be undefined. Since the special value of undefined is not equal to zero the code works, but it's a bit misleading. It could be further refined to just:
    if (!getField('1A').valueAsString)

  • Baffling - Safari Rolling Up My External Drives While Loading Page

    Does anyone have any idea why when I try to open up a web page with Safari, before it will load Safari seems to be rolling up my external hard drives from their sleep mode and won't load the page until they are active and spinning? This is quite baffling to me as I'm not trying to save anything or would require anything off these drives to look at a web page. Has done it on multiple pages - Facebook, Twitter, others. This is new since I upgraded to Lion. I have 1Password installed as an extention, and that's about it. It's really slowing down my surfing (wait, does anyone call it surfing anymore?).
    For what possible reason would it do this?

    For what possible reason would it do this?
    This is the way computers work. This is not new since you upgraded to Lion, u just may have not noticed it before, and harddrives spinning is a good thing and normal. U might have other problems however. Anyway, I won't go into it here, but you can google how harddrives work and interact with apps on google.

  • Baffled by LOOKUP( )

    Hello.
    I’m somewhat baffled (and stymied) by something that is occurring when I use LOOKUP( ).
    I have a dense table, essentially a tuple of indexing numbers (consecutive, but non-exhaustive) and the consequent observation, like so:
    INDEX
    VALUE
    1
    10
    2
    11
    4
    13
    6
    16
    7
    11
    11
    14
    12
    11
    13
    11
    Now, I have another table which has the same INDEX values, but this time exhaustively numbered (as below) and wish to use a LOOKUP (or whatever) call to put the relevant VALUE into the column AND LEAVE A BLANK if no match for the index is found. Bafflingly currently for the entries that have no correspondence in the first table I am getting the closest previous value repeated.
    What I want:
    EXHAUSTIVE_INDEX
    VALUE
    1
    10
    2
    11
    3
    4
    13
    5
    6
    16
    7
    11
    8
    9
    10
    11
    14
    12
    11
    13
    11
    What I get (likely because I have erred when formulating the request to the machine):
    EXHAUSTIVE_INDEX
    VALUE
    1
    10
    2
    11
    3
    11
    4
    13
    5
    13
    6
    16
    7
    11
    8
    11
    9
    11
    10
    11
    11
    14
    12
    11
    13
    11
    As you can see the VALUE column is fully populated, and where there are no direct matches, the previous value is repeated. The formula I have used is
    =LOOKUP($A2,SPARSE_DATA_TABLE::$A$2:$A$500,SPARSE_DATA_TABLE::$B$2:$B$500)
    Can anybody explain what I have done wrong and how I should go about doing it correctly? Thanks.

    Hi qubex,
    What you are experiencing is that LOOKUP() will settle for a close match. With VLOOKUP() you can specify an exact match.
    B2 =VLOOKUP(A2,sparce data table::A$2:B$9,2,FALSE)
    You might want to use IFERROR() once you have debugged.
    Some people prefer INDEX and MATCH to do the same job.
    B2 =INDEX(sparce data table::A$2:B$9,MATCH(A2,A,0)−1,2)
    quinn

  • Baffled by date query

    It's been awhile since I've done any CF and I'm baffled by the results I'm getting. I want to select all the records where the date is greater than or equal to today. This is with CF8 and an Access database. There are records for 9/25 thru 9/30. I can't get the record for today to show.
    <cfset dateToday = createODBCDate(Now()) />
    <cfoutput>DateToday: #DateFormat(dateToday,'yyyy-mm-dd')#</cfoutput><br />
    <br />
    <cfquery datasource="survey" name="test">
              SELECT *
              FROM Images
              WHERE StartDate >= <cfqueryparam value="#DateToday#" cfsqltype="cf_sql_timestamp" />
    </cfquery>
    <cfoutput query="test">
    #startdate#<br />
    </cfoutput>
    DateToday: 2013-09-26
    Results:
      2013-09-27 00:00:00.0
      2013-09-29 00:00:00.0
      2013-09-28 00:00:00.0
      2013-09-30 00:00:00.0
    Furthermore, if I eliminate the GT sign and have "StartDate =" today, there are no results.

    Now() includes a time component.  If you want records from earlier today, you have to create a date variable with no time element.   CreateDate, Year(), Month() and Day() will come in handy.

  • Baffled by Finder

    I recently switched from PC and my iMac is great but I'm baffled by trying to create a folder inside another folder and by moving files between folders. I can't understand why this is not easy and straightforward. And I can't find a Help doc that explains it. Please help.

    I imagine you are trying to create a new folder in List View. The focus of List View is the folder name in the title of the window. It doesn't change when you select another folder. You must open the folder to change the focus. When you create a new folder, it creates it in the window that has focus.
    For what you want, use icon view or column view.
    To move files/folders to another, just drag them into the folder and let go. With Spring-loaded Folders turned on in Finder Prefs, you can hover over a folder (or sidebar Place) and it will Spring Open so you can navigate to the particular folder. If you set the delay too long, it is annoying. If you set it too short, it's really annoying.

  • Baffled by what I need

    I have to admit, I'm baffled by all this. Nowhere in the explanations of Airport Express or any Airport products for that matter does it actually tell me what these things do or what exactly I need to get them to do it. There's a plain English deficit here.
    I've just moved house and I'm going to connect my iMac to the internet via the Airport Extreme card I'm about to buy.
    Ultimately I want to be able to use a second Mac in another part of the house, hence the wireless stuff. But for now, all I really want to do is to be able to stream music to my hi-fi via an Airport Express.
    So here's the question:
    Do I have to have an Airport Extreme base station (or similar object from a different manufacturer) PLUS an Airport Express?
    My impression, and since it's so badly explained in Apple's literature, it's only an impression, is that I need a wireless router for the internet and an Express for the hi-fi. But I'm not sure. Can I get JUST an express and use that as a wireless router?
    Oh I'm confused. What's the answer please?
    Androo
    iMac G4 20inch   Mac OS X (10.3.9)   1GB RAM

    Right. Nice and simple. Thanks.
    So it's a wireless router in effect. But what if I
    get another computer? Would that single Express still
    be all I needed? Could two computers use it as a
    router at the same time?
    All of the AirPort base stations are combination routers and wireless access points.
    Why would anyone get an Airport Extreme base station
    when the Express does the job and connects to your
    hi-fi?
    The AirPort Extreme has an additional ethernet port which allows for the creation of an ethernet backbone. Additionally, some flavors of the AEBS have an internal modem for the unfortunate people who still use dial-up. The DHCP server in the AEBS can handle 253 simultaneous connections, while the AX only allows 49. For many home users, the AX is a good way to go, but some will need the additional features of the AEBS more than they will need the ability to stream iTunes.
    Thanks.
    androo
    iMac G4 20inch  
    Mac OS X (10.3.9)  

  • Baffled by a strange bug - please help!!!

    Hi all,
    I am baffled by a bug in a program I am working on that I just
    can't understand. Here is the code that causes a SIGSEGV crash:
    268      int k = wfall_pixbuf.rowstride;
    269      pix[0] = pix[ -k ];
    270      pix[0] = pix[ -wfall_pixbuf.rowstride ];
    Output of gdb:
    Program received signal SIGSEGV, Segmentation fault.
    0x00000000004152b2 in Display_Waterfall () at display.c:270
    270          pix[0] = pix[ -wfall_pixbuf.rowstride];
    wfall_pixbuf is a struct that encapsulates a GdkPixbuf together
    with some variables that hold the values of some properties like
    rowstride above.
    I added lines 268 and 269 in despair and the program
    works well if I comment out line 270, which does (I think)
    the same job as 269. I can't see how wfall_pixbuf.rowstride
    can change value from line 268 to 270???
    Please help!!!

    danielsoft wrote:
    hello,
    I think it's a type issue: what type is wfall_pixbuf.rowstride ?
    in the case
    int k = wfall_pixbuf.rowstride;
    pix[0] = pix[ -k ];
    you are making a negative value out of type "int" - precisely signed int
    when wfall_pixbuf.rowstride is unsigned, the result is undefined...
    what does
    pix[0] = pix[ -(int)wfall_pixbuf.rowstride ];
    do? should work the same as lines 268 and 269
    Ahh, thank you very much! rowstride is of type guint, which is
    a GTK2 type definition, essentially I think it boils down to
    unsigned int. So that was the issue :-)
    I am surprised that I didn't make a mistake of this sort till now
    but its never too late.... ;-)

  • Baffled by HUI on dm24/LE8.02

    Totally baffled by the HUI emulation function on the Tascam DM24/LE8.02.
    This was working for weeks on end, then all of a sudden I cannot get the HUI to work.
    I have control surface transport functions, which is separate from the hui, it uses mmc open.
    But the HUI emulate is stuck on the X (no function). I have not changed any settings.All settings seem ok . I trashed all preferences related to this function, still no go. I used the HUI to control volume ,pan, mutes, rec on LE tracks. Any ideas.

    Issue was a short in my midi/audio cables!!!!.Hui function began working again when I repositioned my workstation.
    Can't figure out how the transport function was working, while this short or bad connection existed. HUI working again. Lesson learned, when all else fails check your cables

  • Database Link.  Problem in Forms. Baffled!

    Hoping someone can help.
    I'm working on a system that has a form on it with a problem. Although there is a currently compiled and working version of this form available, I cannot get it to compile.
    The situation is this.
    There are 2 databases, MINX a 9i database, and PROD an APPS 11i database.
    On the database PROD exists a view called MTL_ITEM_CATEGORIES_V.
    SELECT is granted on this to the APPSINQ user.
    On the database MINX exists a public synonym MTL_ITEM_CATEGORIES_V, which points at the view MTL_ITEM_CATEGORIES_V on the PROD database by way of a public database link, also called PROD. The database link uses the APPSINQ user on the PROD database.
    (once the set_org_context, and nls_language have been set)
    From SQL on the MINX database, I can select from the public synonym, MTL_ITEM_CATEGORIES_V, and rows are successfully returned from the MTL_ITEM_CATEGORIES_V view on the PROD database. This is all ok and good.
    However, in the main form, is a trigger which does a select from the public synonym and this will not compile.
    I get the error : identifier 'CATEGORY_SET_ID' must be declared.
    It's like it can't see the category_set_id column in the view. However, if I create a new block, and base it on the public synonym, the category_set_id column is there for me to choose. Meaning that forms CAN see the column.
    Am baffled! Anyone ??

    Hi
    I´ve got some problems with synonyms and dblinks in forms too. Try creating a local view based on the remote view usign the dblink (do not use the public synonym) and try to compile again.
    I think in some cases the compiler gets lost trying to follow synonyms and links. a forms bug maybe?

Maybe you are looking for