Need help with adding an SQL LOB target for BizTalk Services

The goal is to create a SQL LOB to connect to an Azure SQL database. However, the connection parameters are not getting accepted, and the error, "A network-related
or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes
Provider, error: 40 - Could not open a connection to SQL Server)", is encountered.
Both the SQL Azure and the database firewall rules have been set to allow the local system IP... No go...
Could you please suggest what to provide in the connection parameters.
Thanks and warm regards,
Chandrasekhar G

Thank you for your response, Fanny.
Yes, I've been doing that already...
Server names tried:xxxxxxxx.database.windows.net and
xxxxxxxx.database.windows.net,1433
Catalog: database_name
Similarly with the username; tried user, user@servername
and user@full-qualified-server-name.
Also tried turning on the firewall rules at the db level...
Enabled port 1433, too, from my local computer on the outbound, as a Microsoft link suggested.
Even tried setting the Encrypt property to True.
I tried telneting on port 1433 from an Azure VM and it works. But not from my local system, though there are no restrictions on this corporate network. Just ports 80 and 1433...
I think that the Azure SQL database does not allow port 1433 for IPs, outside of the Azure network. Trying to figure out how to enable that to allow my IP on this specific 1433 port...
Thanks and warm regards,
Chandrasekhar G

Similar Messages

  • Need help with adding emoji to my hubby's phone don't see it when I click on the keyboard tab

    I need help with adding emoji to my hubby's iPhone when I go to settings then the keyboard tab it's not there

    I did that bad it's not there and doesn't give me to option to click on it

  • I need help with shooting in my flash game for University

    Hi there
    Ive tried to make my tank in my game shoot, all the code that is there works but when i push space to shoot which is my shooting key it does not shoot I really need help with this and I would appriciate anyone that could help
    listed below should be the correct code
    //checking if the space bar is pressed and shooting is allowed
    if(evt.keyCode == 32 && shootAllow){
        //making it so the user can't shoot for a bit
        shootAllow = false;
        //declaring a variable to be a new Bullet
        var newBullet:Bullet = new Bullet();
        //changing the bullet's coordinates
        newBullet.y = tank_mc.y + tank_mc.width/2 - newBullet.width/2;
        newBullet.x = tank_mc.x;
        //then we add the bullet to stage
        addChild(newBullet);
    listed below is my entire code
    import flash.display.MovieClip;
        //declare varibles to create mines
    //how much time before allowed to shoot again
    var cTime:int = 0;
    //the time it has to reach in order to be allowed to shoot (in frames)
    var cLimit:int = 12;
    //whether or not the user is allowed to shoot
    var shootAllow:Boolean = true;
    var minesInGame:uint;
    var mineMaker:Timer;
    var cursor:MovieClip;
    var index:int=0;
    var tankMine_mc:MovieClip;
    var antiTankmine_mc:MovieClip;
    var maxHP:int = 100;
    var currentHP:int = maxHP;
    var percentHP:Number = currentHP / maxHP;
    function initialiseMine():void
        minesInGame = 15;
        //create a timer fires every second
        mineMaker = new Timer(6000, minesInGame);
        //tell timer to listen for Timer event
        mineMaker.addEventListener(TimerEvent.TIMER, createMine);
        //start the timer
        mineMaker.start();
    function createMine(event:TimerEvent):void
    //var tankMine_mc:MovieClip;
    //create a new instance of tankMine
    tankMine_mc = new Mine();
    //set the x and y axis
    tankMine_mc.y = 513;
    tankMine_mc.x = 1080;
    // adds mines to stage
    addChild(tankMine_mc);
    tankMine_mc.addEventListener(Event.ENTER_FRAME, moveHorizontal);
    function moveHorizontal(evt:Event):void{
        evt.target.x -= Math.random()*5;
        if (evt.target.x >= stage.stageWidth)
            evt.target.removeEventListener(Event.ENTER_FRAME, moveHorizontal);
            removeChild(DisplayObject(evt.target));
    initialiseMine();
        //declare varibles to create mines
    var atmInGame:uint;
    var atmMaker:Timer;
    function initialiseAtm():void
        atmInGame = 15;
        //create a timer fires every second
        atmMaker = new Timer(8000, minesInGame);
        //tell timer to listen for Timer event
        atmMaker.addEventListener(TimerEvent.TIMER, createAtm);
        //start the timer
        atmMaker.start();
    function createAtm(event:TimerEvent):void
    //var antiTankmine_mc
    //create a new instance of tankMine
    antiTankmine_mc = new Atm();
    //set the x and y axis
    antiTankmine_mc.y = 473;
    antiTankmine_mc.x = 1080;
    // adds mines to stage
    addChild(antiTankmine_mc);
    antiTankmine_mc.addEventListener(Event.ENTER_FRAME, moveHorizontal);
    function moveHorizontal_2(evt:Event):void{
        evt.target.x -= Math.random()*10;
        if (evt.target.x >= stage.stageWidth)
            evt.target.removeEventListener(Event.ENTER_FRAME, moveHorizontal);
            removeChild(DisplayObject(evt.target));
    initialiseAtm();
    function moveForward():void{
        bg_mc.x -=10;
    function moveBackward():void{
        bg_mc.x +=10;
    var tank_mc:Tank;
    // create a new Tank and put it into the variable
    // tank_mc
    tank_mc= new Tank;
    // set the location ( x and y) of tank_mc
    tank_mc.x=0;
    tank_mc.y=375;
    // show the tank_mc on the stage.
    addChild(tank_mc);
    stage.addEventListener(KeyboardEvent.KEY_DOWN, onMovementKeys);
    //creates the movement
    function onMovementKeys(evt:KeyboardEvent):void
        //makes the tank move by 10 pixels right
        if (evt.keyCode==Keyboard.D)
        tank_mc.x+=5;
    //makes the tank move by 10 pixels left
    if (evt.keyCode==Keyboard.A)
    tank_mc.x-=5
    //checking if the space bar is pressed and shooting is allowed
    if(evt.keyCode == 32 && shootAllow){
        //making it so the user can't shoot for a bit
        shootAllow = false;
        //declaring a variable to be a new Bullet
        var newBullet:Bullet = new Bullet();
        //changing the bullet's coordinates
        newBullet.y = tank_mc.y + tank_mc.width/2 - newBullet.width/2;
        newBullet.x = tank_mc.x;
        //then we add the bullet to stage
        addChild(newBullet);
    if (tank_mc.hitTestObject(antiTankmine_mc))
            //tank_mc.gotoAndPlay("hit");
            currentHP -= 10;
            // remove anti tank mine
            removeChild(antiTankmine_mc);
    if (tank_mc.hitTestObject(tankMine_mc))
            //tank_mc.gotoAndPlay("hit");
            currentHP -= 10;
            // remove anti tank mine
            removeChild(tankMine_mc);
        //var maxHP:int = 100;
    //var currentHP:int = maxHP;
    //var percentHP:Number = currentHP / maxHP;
        //Incrementing the cTime
    //checking if cTime has reached the limit yet
    if(cTime < cLimit){
        cTime ++;
    } else {
        //if it has, then allow the user to shoot
        shootAllow = true;
        //and reset cTime
        cTime = 0;
    function updateHealthBar():void
        percentHP = currentHP / maxHP;
        healthBar.barColor.scaleX = percentHP;
        if(currentHP <= 0)
            currentHP = 0;
            trace("Game Over");
        updateHealthBar();

    USe the trace function to analyze what happens and what fails to happen in the code you showed.  trace the conditional values to see if they are set up to allow a shot when you press the key

  • Need help with a customized interactive web application for  apparel

    Help!!!!
    Hi I am a web designer at beginners stage with web
    devlopment. I am seeking guidance on how to develop a customized
    interactive web application so that the end user can change color
    and patterns of apparel on vector images such as teamsports
    uniforms and tshirts. Once the design is customized to their liking
    they can save it with all of the spec information in a file to
    there desktop or to a database to send to the manufacturer.
    Also looking for a possible way to use a CMS so I can upload
    templates of the garment easily for the end user to customize
    online. Can this be done and if so how? This is an example the kind
    of application I am looking for:
    http://www.dynamicteamsports.com/elite/placeorder.jsp
    I am in desperate need of some brilliant developer to help
    with this.
    Thanks in advance for anyone who is willing to assist or give
    me guidance,
    Danka
    "Reap what you sew"

    some parts of that are doable using non-advanced skills, but
    will be difficult and unwieldly if there are more than a few
    colors/patterns.
    saving the image to the server is a bit more advanced and
    you're going to need some server-side scripting like php, perl, asp
    etc. in addition to some flash programming ability.

  • Need help with buying graphics card and ram for MSI 865PE NEO 2-V

    Hi,
    I want to buy 1GB of ram for motherboard MSI 865PE NEO 2-V I need help with finding correct parts.
    I also want to buy 512Mb or 1GB graphics card.
    as i said before i need help with finding correct ones so they match motherboard, I would appreciate if any one would post link to cheap and fitting parts.
    I found graphics card allready, i just need to know if it will fit.
    the card is
    NVIDIA GeForce 7600 GS (512 MB) AGP Graphics Card
    Thanks for help.

    here you can see test reports for your mobo:
    http://www.msi.com/product/mb/865PE-Neo2-V.html#?div=TestReport

  • I need help with re installing my apple account for itunes.

    Had problems with my itune account, so I uninstalled and now need help with re-installing the program with the songs I have already purchased.

    Your iTunes account is something at the iTunes Store online.  It is not possible to uninstall it.  Do you mean the iTunes application?  Even if you delete the application and restore it, it should not have deleted your iTunes library (essentially the contents of the iTunes folder in Music) on your computer unless you did a separate steep and specifically deleted that too.  You need to tell us what it was you deleted.

  • Need Help with Formula using SQL maybe

    I need help!  I work with Crystal reports XI and usually manage just fine with the Formula editor but his one I think will require some SQL and I am not good at that.
    We are running SQL 2000 I think (Enterprise Manager 8.0)  Our sales people schedule activities and enter notes for customer accounts.  Each is stored in a separate table.  I need to find activities that are scheduled 240 days into the future and show the most recent note that goes with the account for which that activity is scheduled.
    The two tables, Activities and History, share the an accountID field in common that links them to the correct customer account.   I want to look at dates in the Startdate.Activities field more than 240 days in the future and show the most recent note from the History table where the accountid's match. I figure my query will contain a join on AccountID.Activities and AccountID.History used with Max(completedate.History) but I do not understand how to word it.
    I would like to perform all this in crystal if possible.  I humbly request your help.
    Membery

    You SQL would look something like this...
    SELECT
    a.AccountID,
    a.BlahBlahBlah, -- Any other fields you want from the Activities table
    h.LastComment
    FROM Activities AS a
    LEFT OUTER JOIN History AS h ON a.AccountID = h.AccountID
    WHERE (a.ActivityDate BETWEEN GetDate() AND DateAdd(dd, 240, GetDate()))
    AND h.HistoryID IN (
         SELECT MAX(HistoryID)
         FROM History
         GROUP BY AccountID)
    This method assumes that the History table has a HistoryID that increments up automatically each time a new comment is added... So a comment made today would always have a higher HistoryID that one made yesterday.
    If I'm wrong and there is no HistoryID or the HistoryID doesn't increment in a chronological fashion, it can still be done but the code is a bit more complex.
    HTH,
    Jason

  • Need help with min max sql

    hi all, forgot i had a user name and password and haven't needed help for quite a bit since i didn't do sql for a while but now i'm back at reporting again...
    Here is a sample table as i remember it:
    Item     Date     Time     Time Frame     Duration     Duration Frame
    A     20100926     0     5     500     10
    A     20100926     600     10     500     30
    A     20100926     1500     12     100     30
    B     20100926     1800     28     200     40
    B     20100926     2200     6     150     70
    B     20100926     2600     15     600     60
    B     20100926     3600     30     200     70
    Results Set (expected):                         
    Item     Date     Time     Total Duration          
    A     20100926     0     1600:20     --basically max (time+duration) - min(time+duration)     
    B     20100926     1800     2000:00
    Sorry, but. I didnt put my sql statement as I wasn't planning on posting and left it at work, but, i've been looking on internet and people say to use min/max function and i've attenpted it with it works with just this table (without grouping). But as soon as i group it the values seem to mess up.
    Last i remembered it gave me:
    Item     Date     Time     Total Duration          
    A     20100926     0     1600:30     --basically max(time+duration) - min(time+duration)     
    B     20100926     1800     2000:70
    I think it's looking at max duration which is 30&70 and hence it retrurns those values in the result set. Is it because of the max function hence it's returning this value? any help is appreciated. thanks
    Edited by: stanleyho on Sep 30, 2010 4:44 PM

    Okay, here we go again, repost, hopefully okay this time:
    Hi Madhu, okay, just got to work: I am using TOAD and working in Oracle 10g. Here is my table structure and the query i use to try and get what I am looking for:
    There is one extra table but that is only used to link these two tables listed below so i didn't bother posting it.
    TABLE: TX_RECON_INSTANCE_VIEW
    ColumnName ColID DataType Null
    CHANNEL_CODE 3 VARCHAR2 (4 Char) N
    DURATION 8 NUMBER (10) N
    DURATION_FRAME 9 NUMBER (2) N
    REAL_TIME 6 NUMBER (10) N
    REAL_TIME_FRAME 7 NUMBER (2) N
    ITEM_ID 4 NUMBER Y
    TX_DATE 2 CHAR (8 Byte) N
    TX_ID 1 NUMBER (9) N
    TX_TYPE 13 VARCHAR2 (4 Char) N
    TABLE: TX_SCHEDULE
    ColumnName ColID PK Null DataType
    TX_TYPE 22 N VARCHAR2 (4 Char)
    TX_ID 1 1 N NUMBER (9)
    TX_DATE 2 N CHAR (8 Byte)
    SCHEDULE_TIME_FRAME 9 N NUMBER (2)
    SCHEDULE_TIME 8 N NUMBER (10)
    REAL_TIME 10 N NUMBER (10)
    DURATION_FRAME 13 N NUMBER (2)
    DURATION 12 N NUMBER (10)________________________________________
    And the data and results:
    TX_ID TX_DATE REAL_TIME REAL_TIME_FRAME DURATION DURATION_FRAME ITEM_ID AS RUN TIME AS RUN DURATION SCHEDULED TIME SCHEDULED DURATION SCHEDULE_TIME SCHEDULE_TIME_FRAME DURATION_1 DURATION_FRAME_1
    1651000 20100710 0 0 545 20 1234 00:00:00:00 00:09:05:20 00:00:00:00 00:09:05:20 0 0 545 20
    1752223 20100710 667 12 281 7 1234 00:11:07:12 00:04:41:07 00:11:07:10 00:04:41:07 667 10 281 7
    1846501 20100710 1071 13 335 9 1234 00:17:51:13 00:05:35:09 00:17:50:09 00:05:35:09 1070 9 335 9
    2001102 20100710 1525 6 249 14 1234 00:25:25:06 00:04:09:14 00:25:22:08 00:04:09:14 1522 8 249 14
    3246669 20100710 1800 0 586 2 1235 00:30:00:00 00:09:46:02 00:30:00:00 00:09:46:02 1800 0 586 2
    4456822 20100710 2492 16 276 5 1235 00:41:32:16 00:04:36:05 00:41:32:16 00:04:36:05 2492 16 276 5
    1253168 20100710 2890 15 222 17 1235 00:48:10:15 00:03:42:17 00:48:10:15 00:03:42:17 2890 15 222 17
    1112456 20100710 3277 18 297 0 1235 00:54:37:18 00:04:57:00 00:54:35:10 00:04:57:00 3275 10 297 0
    Grouped results set:
    TX_DATE ITEM_ID AS RUN TIME AS RUN DURATION SCHEDULED TIME SCHEDULED DURATION
    20100710 1234 00:00:00:00 00:29:34:20 00:00:00:00 00:29:31:20
    20100710 1235 00:30:00:00 00:29:34:17 00:30:00:00 00:29:32:17
    --> SCHEDULED DURATION "00:29:31:20" is not correct as it should be (00:25:22:08+00:04:09:14)-(00:00:00:00)=00:29:31:22
    --> see expected results below
    Expected results:
    TX_DATE ITEM_ID AS RUN TIME AS RUN DURATION SCHEDULED TIME SCHEDULED DURATION
    20100710 1234 00:00:00:00 00:29:34:20 00:00:00:00 00:29:31:22
    20100710 1235 00:30:00:00 00:29:34:18 00:30:00:00 00:29:34:10________________________________________
    And the query I am using:
    SELECT --TXR.TX_ID,
    TXR.TX_DATE, TXR.ITEM_ID,
    TO_CHAR(TRUNC((MIN(TXR.REAL_TIME) KEEP (DENSE_RANK FIRST ORDER BY TXR.REAL_TIME) )/3600),'FM00')||':'||TO_CHAR(TRUNC(MOD(MIN(TXR.REAL_TIME) KEEP (DENSE_RANK FIRST ORDER BY TXR.REAL_TIME) ,3600)/60),'FM00')||':'||TO_CHAR(MOD(MIN(TXR.REAL_TIME) KEEP (DENSE_RANK FIRST ORDER BY TXR.REAL_TIME) ,60),'FM00')||':'||TO_CHAR(MOD(MIN(TXR.REAL_TIME_FRAME) KEEP (DENSE_RANK FIRST ORDER BY TXR.REAL_TIME) ,60),'FM00') "AS RUN TIME",
    to_char(trunc((MAX(TXR.REAL_TIME+TXR.DURATION)-MIN(TXR.REAL_TIME))/3600),'FM00')||':'||to_char(trunc(mod(MAX(TXR.REAL_TIME+TXR.DURATION)-MIN(TXR.REAL_TIME),3600)/60),'FM00')||':'||to_char(mod(MAX(TXR.REAL_TIME+TXR.DURATION)-MIN(TXR.REAL_TIME),60),'FM00')||':'||to_char(mod(MAX(TXR.REAL_TIME_FRAME+TXR.DURATION_FRAME)-MIN(TXR.REAL_TIME),60),'FM00') "AS RUN DURATION",
    TO_CHAR(TRUNC((MIN(TXS.SCHEDULE_TIME) KEEP (DENSE_RANK FIRST ORDER BY TXR.REAL_TIME) )/3600),'FM00')||':'||TO_CHAR(TRUNC(MOD(MIN(TXS.SCHEDULE_TIME) KEEP (DENSE_RANK FIRST ORDER BY TXR.REAL_TIME) ,3600)/60),'FM00')||':'||TO_CHAR(MOD(MIN(TXS.SCHEDULE_TIME) KEEP (DENSE_RANK FIRST ORDER BY TXR.REAL_TIME) ,60),'FM00')||':'||TO_CHAR(MOD(MIN(TXS.SCHEDULE_TIME_FRAME) KEEP (DENSE_RANK FIRST ORDER BY TXR.REAL_TIME) ,60),'FM00') "SCHEDULED TIME",
    to_char(trunc((MAX(TXS.SCHEDULE_TIME+TXS.DURATION)-MIN(TXS.SCHEDULE_TIME))/3600),'FM00')||':'||to_char(trunc(mod(MAX(TXS.SCHEDULE_TIME+TXS.DURATION)-MIN(TXS.SCHEDULE_TIME),3600)/60),'FM00')||':'||to_char(mod(MAX(TXS.SCHEDULE_TIME+TXS.DURATION)-MIN(TXS.SCHEDULE_TIME),60),'FM00')||':'||to_char(mod(MAX(TXS.DURATION_FRAME),60),'FM00') "SCHEDULED DURATION"
    FROM TX_RECON_INSTANCE_VIEW TXR, TX_SCHEDULE TXS, TX_SCHEDULE_RECON TXREC
    WHERE TXR.TX_DATE=20100926 AND TXR.TX_TYPE='P'
    AND TXR.TX_ID=TXREC.RECON_TX_ID(+)
    AND TXREC.BASE_TX_ID=TXS.TX_ID(+)
    GROUP BY TXR.TX_DATE, TXR.ITEM_ID
    ORDER BY TXR.TX_DATE, TXR.ITEM_ID, MAX(TXR.REAL_TIME)--does this work for everyone now? let me know...thanks                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Need help with adding shadows to a shape (gradient mesh?...blur tool?)

    Hello. I'm an Illustrator novice, as you will be able to tell from my question. I'm somewhat familiar with the gradient mesh tool as well as the raster effects that Illustrator CS3 offers, but I can't figure out how to use them to do what I have to do.
    Here's my situation. I'm creating a logo design. It is a musical note with a flame coming off of it. I want to add the appearance of the shape having shadows (yellow for the light areas, and red for the shadowed areas).
    I can't get the gradient mesh tool to work because I'm assuming the shape is too complex. I understand that I could probably just create a bunch of different gradient mesh areas and just try to mesh them together, but is this necessary? ...and is chopping my shape into mulitple sections really the best method ? (it sure doesn't seem like the logical solution).
    Then I tried using Illustrators blur effects. I'm concerned to even use them for a logo design, because the "blur" effect is raster, and with a logo; it's probably not wise to use anything raster, correct? Anyway...i can't get it to work. I created a shape using the pen tool to replicate the shape of the shadow. When i blur it, the blur is visable outside the original logo shape. I don't know how to make it stop at the path edge. Does anyone know how?
    If anyone can please help me here, I would be more than grateful. I realize these questions probably stupid ones, but I just can't seem to figure out how to do this, despite reading tutorials and watching numerous youtube videos on the gradient mesh tool; I can't seem to figure out how to adapt it to my situation.
    Here is the image I created in Photoshop. I am trying to duplicate it in Illustrator CS3.
    [URL=http://img515.imageshack.us/my.php?image=surefiremusicnote.jpg][IMG]http://img515.ima geshack.us/img515/9348/surefiremusicnote.jpg[/IMG][/URL]

    Thanks Steve and Jet. I've spent the lasts 2 hours calling around to different print shops in hope that I can maybe trade labor for insight into their printing process. Problem is there seems to be a lack of 4 color offset printing companies who also offer spot colors. I really wish I had the money to take a class, but when I do, I will. I just contacted a few freelance designers who seem to have a lot of print work in their portfolios. Maybe they can teach me a thing or two, and in return I can drop them a few bucks or help them with something.
    Jet, you've got me very concerned here. What do you mean by "It's not just a matter of selecting colors; it's also a matter of selecting the number of inks necessary to render them in the various reproduction methods in which the mark will be used"? Are you just stating the importance in using swatch books (Pantone)?
    You mention the importance of a design being rendered in different forms (apparel, signs, promotional items..). So how should I go about doing this? Lets say a client wants a "mark" printed on all of the things you stated. Is it my duty to find out what printer they will be using before I submit design files to them? Is it the job of the designer to contact the print shop and get their profiles for different prints (glossy paper prints, matte paper prints, t-shirt printing, vehicle graphic printing)? This is all very time consuming, so should there not be extra charges when dealing with setting up different print settings for particular print jobs?
    I've read the blogs of some successful logo designers. David Airey for example just submits his logo design to his client in eps form I believe (plus any requests). Should he be submitting a separate file for each intended use, or is this the job of the client and printer to work out?
    You've got me extremely worried that I am going to really deal someone a bad hand here. As far as I know, this hasn't happened yet; but I'm glad you have me concerned. The sad part is that I do have a 2 year degree in graphic design and I didn't learn one thing about printing and it's association with color. The little I have learned is from the internet. I've checked out Amazon(dot)com for a good book on learning about color and print, but there seems to be a lack of recently written books (with reviews) regarding the subject. Can you recommend any?
    I started doing freelance work because people would ask me to design a t-shirt for them, or a flyer for their small business. So I did. Now I have more people requesting my services. It's hard to turn down the money, especially in these times. But at the same time, I don't want to cause major headaches for anyone either. Until recently, I had no idea the complexity of the design to print process. Just 3 days ago, I purchased a monitor calibration device and my first set of Pantone guides. They should arrive shortly. I know, don't laugh.
    My lack of knowledge regarding this whole thing has really got me questioning what I am doing. I figured all i really needed to know in Illustrator was to use the pen tool, since my use of Illustrator has been strictly for shaping logos.
    There are just so many questions I have, and all can't be answered through a google search. I really don't like wasting your time with my ignorance, but I do appreciate your assistance. It takes some time for my little brain to absorb all of this, but I have been reading all I can from the endless tutorials and forum discussions available on the web. The problem I've found is that alongside the large amount of great info on the web, there is seemingly an equal amount of contradictory or partially inaccurate info as well. which only confuses me more. For example, most people say to design in cmyk for print (300dpi higher or vector). A rep from Pantone told me to create my designs using Pantones color swatch groups. Why would I want to start in Pantone? Don't all of their colors cost extra money (spot colors require a new printer plate and ink to be set up). Starting in cmyk seems like a more logical approach. Is he just trying to sell me Pantone?
    Sorry for my redundant question regarding the concern for non-single colored paths not being able to join. You obviously answered my question with your example.
    For your time, I would like to show my appreciation. If you wouldn't' mind leaving your paypal address, I can send ya a couple/few bucks. Books are great, but they can't answer all questions. Forums like this one are really very helpful and a great learning tool. I do realize I have to continue educating myself as much as possible. I'm not going to give up, that's for sure.
    So, do you work for Adobe, or are you a graphic designer? Do you have a website with tutorials or a book I can buy lol?
    It would be great to be able to see a walkthrough in the design process of a successful designer and the proper methods of designing for different forms of print.

  • Need help with adding images option

    I was using the add images option a few weeks ago just fine.. using my tablet and uploading the images via usb. then all of the sudden it stopped working.
    please help with this issue.
    Danny

    A few questions. What result are you experiencing? Did PS Touch crash? Have you tried to force quit-and restart PS Touch? -Guido

  • I need help with adding fire to an existing picture in elements 8

    I'm a painting contractor and I'm trying to create a new picture for my buisness cards and tee shirts. What I want to do is put flames coming from a brush and work pot that I'm holding in my hands. I've looked everywhere on line, but I can't find exactly what I want. I'm hoping that someone in this forum will be able to help me. Thanks.

    Okay, I have been playing with for a few days. Warning, this is going to be loooong. I do this differently in Photoshop but couldn't get it to work with the elements workset as it doesn't have the curves tool that Photoshop has so I had to find an alternate method to pump up the flames. Luckily, I ran into a video that used a method other than curves to get me on track. I assumed you want realistic flames...so I was pushing for how real could I make flames using paint and blend mode operations.
    Edit: I should let you know that you can try to extract flames from other photos and composite them into your photo. First, need a good fire image. It works best if you can find a fire with a black background. Screen blend mode will drop out black. Try working with two copies of the image. Turn off the topmost copy of the flames. Leave the bottom flames in Normal blend mode. Mask or erase the outer edges of the flames with a soft brush so that only the interior of the flames are visible. Now, turn on the topmost version of the flames. Leave the topmost version of the intact...don't mask or erase anything. Change this topmost flame layer's blend mode to screen blend mode. If you see any problems with your flames, you can erase or mask any defects. You can duplicate the screen layer to brighten the effect. Use opacity to control the volume. This would be the easiest solution but you'll have to find some flames that trip your fancy. I haven't tried this out yet so can't say how much better or worse it would be than using a good set of flame brushes along with some blend mode tricks.
    Below shows how close I can get using paint. I only used options available in PSE. I used layer masks that if you had PSE 9 would be native. Since you have PSE 8, you'll need to either download an install an add on that adds the basic layer mask function or use clipping masking.
    Below is a link to a freeware set that includes layer masks. Install instructions are on that site.
    http://www.cavesofice.org/~grant/Challenge/Tools/Files.html
    If you want to go the clipping mask route, have a look at this tutorial:
    http://www.photokaboom.com/photography/learn/Photoshop_Elements/layers/layer_groups_clippi ng_masks/1_layer_groups_clipping_masks.htm
    Before and After the effect.
    I would have posted sooner but had to find a workable solution to making the flames look realistic in Elements as I can’t use the curves tool as it isn’t native to Elements.
    With the help of this YouTube video I came up with something…
    http://www.youtube.com/watch?v=cOIBkWvHOqk&feature=related
    I based this tutorial on the hue/sat numbers, blend modes, and blurs.
    First, I downloaded a flame brush set. This set in specific:
    http://luexo.deviantart.com/art/Scorching-Flames-Brushpack-92945924
    The above set is really nicely done and  has large high resolution brushes.
    One thing I do not agree with in the video is the color used. White is hard to change in the Hue/Saturation dialog. Instead I use 50% gray as my paint color. This is easy to set…either use the 50% color swatch or open the Color Picker and set H to 0, S to 0, and B to 50...hex number is 808080.
    Things to keep in mind include fire is gaseous, bright and the way it burns…it one direction, fire reflects and there is probably going to be some smoke.
    In my example, I am going to set a  lunch cake. Nice 4th of July theme. J
    Let’s start my scorching the item that will be burned. In this case the lunch cake will be scorched.
    Scorch the item…preparing to light it up.
    1. Duplicate image and put image into Linear burn blend mode; opacity 100%. Add layer mask or erase everything but the item to be scorched…the lunch cake.
    2. Duplicate layer you just made in step #1. Change the blend mode to Multiply 100%. Desaturate this layer.  Image Adjustments<Hue/Saturation…move Master Saturation slider to  -100. Take burn tool set to Range: Midtones; Exposure 35%; air brush on…and scorch the item. Make it kind of smudgy. You don’t want an even coat. Make it darker as you get closer to the flames.
    Note: Here I’ve jumped ahead. I already know where my flames are going to be. Either visualize where you want your flames or jump ahead and laid down the basic paint and transform into the correct position. Turn off flame layer (s) when done. So step #3 if you do any repair work isn’t affected.
    3. If you feel you need to do any clone repairs, create a composite image ctrl + shift + alt + e if on PC…cmd + shift + opt + e if on a Mac. Do the clone work on a blank layer over this. With clone tool selected, check the box in the options bar that says something like “All Layers”, “Use All Layers”, “Sample All Layers”…the box says one of those things beside it. I can’t recall which and not sure if it’s consistent between all versions of Elements.  Anyway, Leave layer in Normal blend mode 100% and likewise leave tool in Normal blend mode…opacity to taste. Fix any defects on this layer. You can do the same thing with the healing brush if you need to do any healing. I find it best to heal to a separate layer and not mix and match the healing tool and  clone stamp on the same layer.
    4. Turn off or trash the Clone Stamp comp layer when finished with step #3.
    Let’s Build a Fire…
    5. Create a blank layer in the layers palette….Normal blend mode; 100% opacity.  Make white your foreground color chip.  Grab the paint brush tool…normal blend mode; 100% opacity. Paint one flame on your layer. I have used the 1220 sized flame near the bottom of the brush set I linked earlier. Use the transform command …Ctrl + t (PC) or Cmd + t (Mac)…to size and position the flame. I used  also slightly warped the flame using transform warp. Since you don’t have that in Elements…slightly warp the flame in the liquefy dialog.
    Note: The above flame is pretty much backlighting…you are done with it.
    6. Change the color foreground color chip in your layers palette to 50% gray. Use the same brush tip you used in step #5. Size and position it so it closely matches the white flame in Step #5. Go to liquefy dialog and slightly warp it.
    Note: The goal is for the flames in step #5 and step #6 to be very similar but not exact.
    7.. Duplicate the 50% gray flame you made in step #6 twice. Turn off the top 50% gray flame for now.
    Fire is Bright...
    8. Now that video comes in that I linked.
    (1) Blur the 50% gray flame with Gaussian blur. I used 6 pixels. Go to menu and click Enhance or is it Adjustments<Hue/Saturation…check the box that says “colorize”; change master sliders to Hue 42; Saturation 100; Lightness 0.
    (2)Duplicate the flame you made above…step  (1). Go to the menu bar and click Enhance or is it Adjustment<Hue/Saturation…change master sliders to Hue -43; saturation 0; Lightness 0. Change this layers blend mode to Color Dodge blend mode and merge down…Ctrl + e on PC; cmd + e on Mac.
    Note: This layer will now say Normal blend mode; 100%.
    (3)I duplicated the merged layer I now have from step (2). I changed the blend mode of this layer to Screen and set the opacity to 100%.
    (4) I made a duplicate of the layer I have made in step (2)…the one that now says it’s in Normal blend mode; 100%… then blurred it with Gaussian blur. I used 46 pixels. I moved this layer down in my layers palette so that it rests beneath my other two colored flame layers. The white flame layer is directly below it. Leave this layer in Normal blend mode; 100% opacity.
    9. Go back to 50% gray flame you made in step #6...visibility eye should be off. You should have two of these gray layers if not duplicate one so that you do have tow 50% gray flame layers. (These were not blurred.)  These two layers need to be on the top of the stack. If they are not, move them up so that they are the top two layers. Turn on the visibility of the bottom 50% gray layer. Change the layer’s blend mode to Screen blend mode; opacity 100%. Grab the burn tool. Burn some of the flame base and randomly in the flame of the 50% gray.  Press and hold in the alt key (PC) or the opt key (Mac) and dodge the tops of the flames and do some random dodge work.
    10. Turn on the visibility for the top 50% gray layer. Leave this one alone…no dodge + burn. Set this layer to Screen blend mode; opacity 96%.
    11. Add layer masks to white and color flame layers…not the gray ones. Paint away any unattractive color spill. Bright orange edges…bright white distractions where flame edges don’t align.
    12. Make a composite layer of all layers up to date. Set this layer’s blend mode to multiply; opacity 47%. Add a layer mask and mask out everything but the flames. Tip: You can select the flames by ctrl + shift clicking on each flame layer thumbnail…the shift lets you add to a selection. On the Mac, cmd + shift click the layer thumbnails.
    Flames Reflect…
    13. Make a copy of one of your blurred color flames. Transform it so it rest over item that it should reflect on. In this case I have added a blurred flame onto my son’s eye. The flame is in Overlay blend mode; 33% opacity.
    14 Several steps Eye enhancements to my son’s eye…omitted because it’s off topic
    15. I used a gradient map with a fire like black/red/yellow/white gradient map set to Softlight blend mode; 17% to give my image a hint of a color cast. I masked it so only some skin, hair, and car areas have this slight color cast.
    Where there’s fire there is going to be some smoke...
    16. To make my smoke, I made a separate large document my photo size. I set my color chips to the default b/w. (Shortcut is D.) I went to menu bar and clicked Filter<Render<Clouds. Next I went back to my menu bar and clicked Filter<Render<Difference Clouds. I used Ctrl + f to repeat the Difference Cloud filter until I was happy with the effect…looking for swirled black lines…kind of like lightning. (If on a Mac, use Cmd + f to repeat a filter. I then used the transform command to enlarge the pattern I made. Be sure to scale it so that height and width both are enlarged equally. Next, go to the men bar and select<All ; Edit<Crop. You want to do to get rid of the excess. I think I transformed my patter to something like 200% which makes the file really big. You can do it on your image file but because of file size the transform will take a really long time. When happy copy/paste or drag/drop this pattern into your photo file.
    17. Now blur pattern really good using Gaussian blur. Now, add a layer mask to your pattern layer. Click the layer mask in the layers palette to target it and run the the clouds and difference clouds on the mask just as you do on the pattern layer. Just those filters…no blur.
    Basic smoke pattern final
    18. Duplicate this layer w mask twice. You should have three smoke copies. Turn off all but the bottom pattern copy. Use the paint brush and paint black in mask to hide the smoke everywhere but where you want to keep it. Set this layer’s blend mode to Multiply blend mode; opacity 15%.
    View of the inside one of the smoke layer masks
    19. Turn on the visibility of the next smoke pattern. Again use a black paint to paint where you don’t want paint. (Make this variable as you want the smoke to be varying opacity.)  Layer blend mode Multiply; opacity 15%.
    20. Turn on the visibility of the next smoke pattern…top one in stack. Again use black to paint where you don’t want the smoke. Set this layer’s blend mode to Multiply blend mode; opacity 1%.
    Fire is Gaseous...
    21. Make a composite of all layers by pressing ctrl + shift + alt + e if on PC. Use Cmd + shift + opt + e if on a Mac. Blur your composite image. I used 3 pixels. Set the blend mode to Normal; opacity 64%. Add a layer mask and fill it with black paint to hide the blur effect. Use the paint brush with white paint in the layer mask to blur any sharp edges and base of flames. Remember flame is gaseous.
    Above shows my layers for completed image. Notice the comp for clone layer is off. I did not need it after I did the clone to a blank layer to add some scorched cake around my son's fingers.

  • Need help with adding a Key flex field to a seeded OAF page

    We have a seeded OAF page on which we already have Account Key Flex Field.
    Properties of this flex field are:
    The ApplShortName - SQLGL
    Name - GL#
    Type - Key
    As per the client requirement, in the KFF screen, we have disabled the seeded structure for Accounting Flexfield and created a custom structure.
    Our custom structure for the KFF is displayed correctly on the OAF page.
    But now the requirement is to add a new KFF on the OAF page which is duplicate of the existing KFF, along with the existing KFF field; the structure and segments are same. Only difference being the display name of the existing KFF field is Account; the new one needs to be Tax structure.
    Using personalization we added a new flex item and added the properties same as the existing KFF.
    ApplShortName - SQLGL
    Name - GL#
    Type - Key
    But the page is giving following error:
    The data that defines the flexfield on this field may be inconsistent. Inform your system administrator that the function: KeyFlexfieldDefinitionFactory.getStructureNumber could not find the structure definition for the flexfield specified by Application = SQLGL, Code = GL# and Structure number =
    We tried options like compiling the flexfield definition, but the error persists.
    Any help in this regard is highly appreciated.
    Regards,
    Kiranmayi.

    Hi,
    Please check whether your key flex structure is frozen or not. If now please freeze it and re compile and try.
    This may helps too
    error while developing KFF in oaf
    Thanks
    Bharat
    Edited by: Bharat on May 10, 2013 4:51 AM

  • Need help with adding formatted text and images to Crystal Report?

    Here's my scenario:
    I have a customer statement that's generated as a crystal report and that has a placeholder for advertisement. The advertisement is mixture of formatted text and images. Until now we only had one advertisement that was always used on the report. The new requirement is that we would have a pool of hundreds of advertisements and would need to display one specific advertisement on the customer statement based on various marketing criteria. They key is that the advertisement content will be determined programmatically and cannot be hardcoded into the report. I'm using Crystal2008 with .net SDK.
    Here are the solutions I thought of, but I'm still rather lost and would appreciate your help/opinion.
    1) Pass HTML or RTF to the report
    Not really sure if this is possible and how to get it done. Also how would I pass in images? Would display formatting be reliable when exporting to PDF?
    2) Create each add as a subreport and append it programatically
    I actually have this working, but I only know how to append a new section to the end of the report and then load the subreport to the section. I have no other controll of the placement. Is there a way to dynamically load a subreport to a predefined section in the main report? How about adding a dummy subreport in the main report as a placeholder and then replacing it with a different subreport? How could I do this?
    3) Pass an Image to the report
    I would create each advertisement as an image and then would somehow add the image to the report. How would I load the image and control the placement? Could I somehow define a placeholder for the image in the main report-maybe a dummy image to be replaced?
    Thank you.

    Hello Pavel,
    I would got the third way.
    You can use dynamic images in your report.
    Just by changing the URL to the image the image can be changed.
    Please see the [Crystal Manual|http://help.sap.com/businessobject/product_guides/cr2008/en/xir3_cr_usergde_en.pdf] and search for images.
    or directly here
    [Setting a Dynamic Graphic Location Path on an Image Object|https://boc.sdn.sap.com/node/506]
    [Dynamic image and HTTP://|https://boc.sdn.sap.com/node/3646]
    [codesample for .NET|https://boc.sdn.sap.com/node/6000]
    Please also use
    [Crystal Reports 2008 SDK Documentation and Sample Code|https://boc.sdn.sap.com/developer/library/CR2008SDK]
    [Crystal Reports 2008 .NET SDK Tutorial Samples|https://boc.sdn.sap.com/node/6203]
    Hope this helps
    Falk

  • Need help with adding buttons.

    I thought I could do this without help but I was wrong. I had to add buttons to my program and before it ran fine with the first four buttons I added but know there are many errors and I believe I messed up the whole thing now. Any advice would be greatly appreciated. Here is my code:
    import java.util.*;
    import java.text.*;
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.JFrame.*;
    import java.io.*;
    import java.awt.font.*;
    import java.awt.geom.*;
    import javax.imageio.*;
    import java.awt.image.*;
    public class DVDInventory6
    public static void main(String[] args)
           Scanner input = new Scanner( System.in );
           int j;
          DVD_Genre [] inventory = new DVD_Genre[5]; // Size of the array
          // create DVD object
          inventory [ 0 ] = new DVD_Genre( "Rocky", "Action/Drama", 01, 15, 9.95 );
          inventory [ 1 ] = new DVD_Genre( "RockyII", "Action/Drama", 02, 13, 14.95 );
          inventory [ 2 ] = new DVD_Genre( "Matrix", "Action/Sci-Fi", 03, 23, 14.95 );
          inventory [ 3 ] = new DVD_Genre( "MatrixII", "Action/Sci-Fi", 04, 17, 19.95 );
          inventory [ 4 ] = new DVD_Genre( "Bambi", "Family", 05, 33, 12.95 );
          // Print out a screen title
          System.out.println();
          System.out.printf("Welcome to DVD Inventory:\n\n");
       GUI gui = new GUI();
          for(j=0; j<5; ++j)
               gui.add(inventory[j]);   
         double total = 0;
         for ( j=0; j<inventory.length; j++ )
             total += inventory[j].getvalueofdvds ();
    } // end for
             gui.setTotal(total);
       gui.display();
    public static void sortDVD(DVD[] inventory)
         //DVD_Genre temp[] =  new DVD_Genre[1];
          int i, j;
          for (i=1; i <inventory.length; i++)
             for (j=0; j < inventory.length-i; j++)
                if (inventory[j].getdvdName().compareTo(inventory[j+1].getdvdName())>0)
                   // exchange elements
                   DVD  temp = inventory[j]; //new DVD_Genre [1];
                   inventory[j] = inventory[j+1];
                   inventory[j+1] = temp; //temp [0];
       }//end method main
    }//end DVDInventory6
          class DVD
          protected String dvdName; //  DVD title
          protected String dvdGenre; // DVD genre
          protected int productnumber;  // DVD product number
          protected int numberofproducts; // the number of products in stock
          protected double price; // the price of the products in stock
            public DVD (String name, String genre, int productnumber, int numberofproducts,
    double price ) // class dvd constructor
            this.dvdName = name;
            this.productnumber = productnumber;
            this.numberofproducts = numberofproducts;
            this.price = price;
    this.dvdGenre = genre;
           public DVD( String name, int productnumber, int numberofproducts, double price ) //
    class dvd constructor
            this.dvdName = name;
            this.productnumber = productnumber;
            this.numberofproducts = numberofproducts;
            this.price = price;
          public void setdvdName( String name ) // method to set dvd name
          this.dvdName = name; // store the dvd name
          public String getdvdName()// method to get dvd name
          return dvdName;
          public void setproductnumber( int productnumber )  // method to set productnumber
          this.productnumber = productnumber; // store productnumber
          public int getproductnumber()// method to get productnumber
          return productnumber;
          public void setnumberofproducts( int numberofproducts )// method to set
    numberofproducts
          this.numberofproducts = numberofproducts; // store numberofproducts
          public int getnumberofproducts()// method to get numberofproducts
          return numberofproducts;
          public void setprice( double price )// method to set price
          this.price = price; // price of the products in stock
          public double getprice()// method to get price
          return price;
          public double getvalueofdvds()// method to get valueofdvds
          return numberofproducts * price;
    } // end class DVD
    class DVD_Genre extends DVD
             private String genre; // genre of DVD
      private double restockingFee; // percentage added to inventory value
       //constructor
    public DVD_Genre(String name, String genre, int productnumber, int numberofproducts, double
    price)
       super(name, genre, productnumber, numberofproducts, price);
      this.genre = genre;
                    this.restockingFee = restockingFee;
          public void setdvdGenre( String genre ) // method to set dvd genre
          this.dvdGenre = genre; // store the dvd genre
          public String getdvdGenre()// method to get dvd genre
          return dvdGenre;     
    // Calculates restocking fee based on previous data.
        public double restockFee() {
         double total = 0;
         double restock = 0;
         total = numberofproducts * price;
         restock = total * .05;
                return restock;
        public String toString()
       DecimalFormat Currency = new DecimalFormat("$0.00");
       return "\nDVD Title: " +  dvdName + "\nDVD Genre: " +  dvdGenre + "\nProduct number: " +
    productnumber +
              "\nNumber of products: " + numberofproducts + "\nPrice: " + price + "\nValue of
    DVD's: " +  Currency.format(numberofproducts * price) + "\nRestock Fee: "  +
    Currency.format(numberofproducts * price * .05);
    }// End class DVD_Genre
    class GUI {
    private DVD[] dvds;
        private int nCount;
    private double total;
    // Creates array DVD[]
        GUI() {
            dvds = new DVD[5];
            nCount = 0;
        public void add(DVD dvd) {
            dvds[nCount] = dvd;
            ++nCount;
    public void setTotal(double total)
      this.total = total;
        DecimalFormat Currency = new DecimalFormat("$0.00");
    //Displays the arrays contents element by element into a GUI pane
           public void display() {
      GUIDisplay(dvds, 5);
    public void GUIDisplay(DVD[] products, int numOfProducts)
              PanelFrame frame = new PanelFrame(products, numOfProducts);
              frame.pack();
              frame.setVisible(true);
              frame.setSize(600, 450);
    } // end class GUI
            class PanelFrame extends JFrame
            private JButton first;
            private JButton next;
            private JButton previous;
            private JButton last;
            private JButton add;
            private JButton delete;
            private JButton modify;
            private JButton search;
            private JButton save;
            JTextField dvdName;
            JTextField productnumber;
            JTextField numberofproducts;
            JTextField price;
            private DVD[] products;
            private int numOfProducts;
            private int currentIndex = 0;
    /** Creates a new instance of PanelFrame */
      public PanelFrame(DVD[] products, int numOfProducts)
            super("Welcome to the DVD Inventory");
            this.products = products;
            this.numOfProducts = numOfProducts;
            setDefaultCloseOperation( JFrame.EXIT_ON_CLOSE );
            setLayout(new GridLayout(6,1,5,5));
            showLogo();
            showLabels();
            showInputFields();
            showButtons();
    public class MovieGraphics extends Component
            private BufferedImage image;
            private boolean imageFound = true;
      public MovieGraphics()
           super();
       try
           image = ImageIO.read(new File("logo.jpg"));
      catch (IOException x)
          x.printStackTrace();
          imageFound = false;
      public void paint(Graphics g)
      if (imageFound)
         g.drawImage(image,
         0, 0, 200, 100,
         0, 0, image.getWidth(null), image.getHeight(null),
    null);
      else
         g.drawString("Gary's DVD Krypt", 30, 30);
    } // end of class MovieGraphics
      public void showLogo()
            MovieGraphics myLogo = new MovieGraphics();
            this.add(myLogo);
      public void showLabels()
            JPanel panel = new JPanel();
            panel.add(new JLabel("DVD Title"));
            panel.add(new JLabel("Product number"));
            panel.add(new JLabel("Number of products"));
            panel.add(new JLabel("Price"));
            this.add(panel);
      public void showInputFields()
            JPanel panel = new JPanel();
            dvdName = new JTextField(10);
            productnumber = new JTextField(10);
            numberofproducts = new JTextField(10);
            price = new JTextField(10);
            dvdName.setEditable(false);
            productnumber .setEditable(false);
            numberofproducts.setEditable(false);
            price.setEditable(false);
            panel.add(dvdName);
            panel.add(productnumber );
            panel.add(numberofproducts);
            panel.add(price);
        this.add(panel);
      public void showButtons()
            JPanel panel = new JPanel();
            first = new JButton("First");
            next = new JButton("Next");
            previous = new JButton("Previous");
            last = new JButton("Last");
            add = new JButton("Add");
            delete = new JButton("Delete");
            modify = new JButton("Modify");
            search = new JButton("Search");
            save = new JButton("Save");
            panel.add(first);
            panel.add(next);
            panel.add(previous);
            panel.add(last);
            panel.add(add);
            panel.add(delete);
            panel.add(modify);
            panel.add(search);
            panel.add(save);
            ButtonActionHandler handler = new ButtonActionHandler();
              first.addActionListener(handler);
              next.addActionListener(handler);
              previous.addActionListener(handler);
              last.addActionListener(handler);
              add.addActionListener(handler);
              delete.addActionListener(handler);
              modify.addActionListener(handler);
              search.addActionListener(handler);
              save.addActionListener(handler);
              this.add(panel);
              setFields(0);
      protected void paintComponent(Graphics g)
      public void setFields(int i)
         setdvdName(i);
         setproductnumber(i);
         setnumberofproducts(i);
         setPrice(i);
      public void setdvdName(int i)
      dvdName.setText(products.getdvdName());
    public void setproductnumber(int i)
    productnumber.setText(String.valueOf(products[i].getproductnumber()));
    public void setnumberofproducts(int i)
    numberofproducts.setText(String.valueOf(products[i].getnumberofproducts()));
    public void setPrice(int i)
    price.setText(String.valueOf(products[i].getprice()));
    private class ButtonActionHandler implements ActionListener
    public void actionPerformed(ActionEvent event)
    if (event.getSource() == first)
    addClicked = false;
    currentIndex = 0;
    setFields(currentIndex);
    makeFieldsEditable(false);
    else if (event.getSource() == next)
    addClicked = false;
    currentIndex++;
    if (currentIndex == numOfProducts)
    currentIndex --;
    setFields(currentIndex);
    makeFieldsEditable(false);
    else if (event.getSource() == previous)
    addClicked = false;
    currentIndex--;
    if (currentIndex < 0)
    currentIndex = 0;
    setFields(currentIndex);
    makeFieldsEditable(false);
    else if (event.getSource() == last)
    addClicked = false;
    currentIndex = numOfProducts - 1;
    if (currentIndex < 0)
    currentIndex = 0;
    setFields(currentIndex);
    makeFieldsEditable(false);
    else if(event.getSource() ==add)
    //add actions for add here
    if (!addClicked)
    resetFields();
    makeFieldsEditable(true);
    int itemNum = incrementItemNumber();
    System.out.println(itemNum);
    itemNumber.setText(String.valueOf(itemNum));
    currentIndex = numOfProducts;
    addClicked = true;
    else if(event.getSource() ==save)
    //add actions for save here
    //we need to call SaveToFile.java
    // SaveToFile.save;
    addClicked = false;
    System.out.println(currentIndex);
    if (!updateProduct(currentIndex))
    JOptionPane.showMessageDialog(null, "You have reached maximum number of products!");
    currentIndex --;
    setFields(currentIndex);
    else
    saveProduct();
    makeFieldsEditable(false);
    else if(event.getSource() == edit)
    //add actions for edit here
    // Inventory.edit;
    addClicked = false;
    makeFieldsEditable(true);
    else if(event.getSource() == search)
    //add actions for search here
    // Inventory.findIndex;
    addClicked = false;
    String name = JOptionPane.showInputDialog("Enter Product Name: ");
    int index = searchName(name);
    System.out.println(index);
    if (index == -1)
    JOptionPane.showMessageDialog(null, "No matching product found! ");
    else
    currentIndex = index;
    setFields(index);
    Here are my errors:
    C:\java>javac DVDInventory6.java
    DVDInventory6.java:460: cannot find symbol
    symbol : variable addClicked
    location: class PanelFrame.ButtonActionHandler
    addClicked = false;
    ^
    DVDInventory6.java:463: cannot find symbol
    symbol : method makeFieldsEditable(boolean)
    location: class PanelFrame.ButtonActionHandler
    makeFieldsEditable(false);
    ^
    DVDInventory6.java:467: cannot find symbol
    symbol : variable addClicked
    location: class PanelFrame.ButtonActionHandler
    addClicked = false;
    ^
    DVDInventory6.java:474: cannot find symbol
    symbol : method makeFieldsEditable(boolean)
    location: class PanelFrame.ButtonActionHandler
    makeFieldsEditable(false);
    ^
    DVDInventory6.java:478: cannot find symbol
    symbol : variable addClicked
    location: class PanelFrame.ButtonActionHandler
    addClicked = false;
    ^
    DVDInventory6.java:485: cannot find symbol
    symbol : method makeFieldsEditable(boolean)
    location: class PanelFrame.ButtonActionHandler
    makeFieldsEditable(false);
    ^
    DVDInventory6.java:489: cannot find symbol
    symbol : variable addClicked
    location: class PanelFrame.ButtonActionHandler
    addClicked = false;
    ^
    DVDInventory6.java:496: cannot find symbol
    symbol : method makeFieldsEditable(boolean)
    location: class PanelFrame.ButtonActionHandler
    makeFieldsEditable(false);
    ^
    DVDInventory6.java:501: cannot find symbol
    symbol : variable addClicked
    location: class PanelFrame.ButtonActionHandler
    if (!addClicked)
    ^
    DVDInventory6.java:503: cannot find symbol
    symbol : method resetFields()
    location: class PanelFrame.ButtonActionHandler
    resetFields();
    ^
    DVDInventory6.java:504: cannot find symbol
    symbol : method makeFieldsEditable(boolean)
    location: class PanelFrame.ButtonActionHandler
    makeFieldsEditable(true);
    ^
    DVDInventory6.java:505: cannot find symbol
    symbol : method incrementItemNumber()
    location: class PanelFrame.ButtonActionHandler
    int itemNum = incrementItemNumber();
    ^
    DVDInventory6.java:507: cannot find symbol
    symbol : variable itemNumber
    location: class PanelFrame.ButtonActionHandler
    itemNumber.setText(String.valueOf(itemNum));
    ^
    DVDInventory6.java:510: cannot find symbol
    symbol : variable addClicked
    location: class PanelFrame.ButtonActionHandler
    addClicked = true;
    ^
    DVDInventory6.java:517: cannot find symbol
    symbol : variable addClicked
    location: class PanelFrame.ButtonActionHandler
    addClicked = false;
    ^
    DVDInventory6.java:519: cannot find symbol
    symbol : method updateProduct(int)
    location: class PanelFrame.ButtonActionHandler
    if (!updateProduct(currentIndex))
    ^
    DVDInventory6.java:527: cannot find symbol
    symbol : method saveProduct()
    location: class PanelFrame.ButtonActionHandler
    saveProduct();
    ^
    DVDInventory6.java:529: cannot find symbol
    symbol : method makeFieldsEditable(boolean)
    location: class PanelFrame.ButtonActionHandler
    makeFieldsEditable(false);
    ^
    DVDInventory6.java:531: cannot find symbol
    symbol : variable edit
    location: class PanelFrame.ButtonActionHandler
    else if(event.getSource() == edit)
    ^
    DVDInventory6.java:535: cannot find symbol
    symbol : variable addClicked
    location: class PanelFrame.ButtonActionHandler
    addClicked = false;
    ^
    DVDInventory6.java:536: cannot find symbol
    symbol : method makeFieldsEditable(boolean)
    location: class PanelFrame.ButtonActionHandler
    makeFieldsEditable(true);
    ^
    DVDInventory6.java:542: cannot find symbol
    symbol : variable addClicked
    location: class PanelFrame.ButtonActionHandler
    addClicked = false;
    ^
    DVDInventory6.java:544: cannot find symbol
    symbol : method searchName(java.lang.String)
    location: class PanelFrame.ButtonActionHandler
    int index = searchName(name);
    ^
    23 errors

    and many more errors
    such as;
    * you need to declare a method called makeFieldsEditable that takes a boolean value
    eg private void makeFieldsEditable(boolean editable){
       // add your implememntation
    }* you need to declare a method called resetFields
    eg private void resetFields(){
       // add your implememntation
    }* you need to declare a method called updateProduct
    eg private void updateProduct(int index){
       // add your implememntation
    }etc

  • Need help with adding the following to a program

    Modify the mortgage program to display the mortgage payment amount. Then, list the loan balance and interest paid for each payment over the term of the loan. The list would scroll off the screen, but use loops to display a partial list, hesitate, and then display more of the list. Do not use a graphical user interface. Insert comments in the program to document the program.
    Currently I am working on adding the following line in bold but getting error expected ";" on line 27
    import java.io.*;
    import java.util.Date;
    import java.text.DecimalFormat;
    public class Mortgage5
    public static void main(String[] args)
    Date currentDate = new Date(); //Date constructor
    DecimalFormat decimalPlaces = new DecimalFormat("$###,###.##");
    //declaring variables
    final double PRINCIPLE = 200000;
    final double INTEREST = .0575/12;
    final double TERM = 12*30;
    //declaring variables
    final double MONTHLY =PRINCIPLE*(INTEREST/(1-Math.pow(1+INTEREST, -TERM)));
    //displaying variables
    System.out.println("\t\t" + currentDate);
    System.out.println("\t\tPrinciple or Loan Amount: " + decimalPlaces.format(PRINCIPLE));
    System.out.println("\t\tInterest Rate: " + (INTEREST));
    System.out.println("\t\tThe Term of Loan (in months): " + (TERM));
    System.out.println("\t\tThe Monthly Payment is: " + decimalPlaces.format(MONTHLY));
    System.out.println("\t\tThe Balence - Your Payment is: " + decimalPlaces.format(PRINCIPLE*INTEREST*TERM)-MONTHLY));
    Any suggestions??? PLEASE

    Ok I figured out the issue now if someone can help me. I need to create a loop for the following:
    The list would scroll off the screen, but use loops to display a partial list, hesitate, and then display more of the list.
    Here is the Program so far.
    import java.io.*;
    import java.util.Date;
    import java.text.DecimalFormat;
    public class Mortgage5
    public static void main(String[] args)
    Date currentDate = new Date(); //Date constructor
    DecimalFormat decimalPlaces = new DecimalFormat("$###,###.##");
    //declaring variables
    final double PRINCIPLE = 200000;
    final double INTEREST = .0575/12;
    final double TERM = 12*30;
    //declaring variables
    final double MONTHLY =PRINCIPLE*(INTEREST/(1-Math.pow(1+INTEREST, -TERM)));
    final double NEWBAL = (PRINCIPLE*INTEREST*TERM) -MONTHLY;
    //displaying variables
    System.out.println("\t\t" + currentDate);
    System.out.println("\t\tPrinciple or Loan Amount: " + decimalPlaces.format(PRINCIPLE));
    System.out.println("\t\tInterest Rate: " + (INTEREST));
    System.out.println("\t\tThe Term of Loan (in months): " + (TERM));
    System.out.println("\t\tThe Monthly Payment is: " + decimalPlaces.format(MONTHLY));
    System.out.println("\t\tThe Balence - Your Payment is: " + decimalPlaces.format(NEWBAL));
    }

Maybe you are looking for

  • Calendar 'List view' bug

    I'm still patiently awaiting a fix from Apple (who are apparently aware) for the bug discussed at length in another thread which has now been archived. See here... http://discussions.apple.com/thread.jspa?threadID=2470805&start=60&tstart=0 Further to

  • Error occurred while deciding partition number,when activating DSO data.

    HI all, I have 2 requests in my DSO,when i activated the data for the 1 request manually it worked fine.But when activating the 2 nd request.It failed giving me the following error. Error occurred while deciding partition number, PSA update failed Pr

  • TV out enabled

    I have now managed to convince my iPod to allow me to download a podcast. This was not an easy negotiation. But the problem is that my iPod has decided that I may not look at these podcasts, or any other videos on the iPod itself. They play just fine

  • More alignment issues

    hi, I'm hardly an expert - but I have made great strides because of helpful people who throw me a hint. my site: www.kirarmerica.com I still have JUST a FEW alignment issues.  I like to have everything centered, so now I am just down to my spec sheet

  • Why SAP Standard Program Can full screen in different  screen resolution ,but my own program can't?

          How to make my program can display full screen in the different screen resolution ? can you tell me ,       Thanks  everyone!  eg. T-code: SOST