Help with type

This may be the worse question of the day but here goes. When
you are typing on a page why can't you move the type with the space
bar. Example you can not put spaces between to items??? like this
[email protected] [email protected]
Why can't you seperate type from one side to the other on a
page.
What am I missing???????
Thanks
Fred

HTML doesn't permit more than one space between elements
*UNLESS* you
alternate ordinary spaces with non-breaking spaces (or put a
string of
non-breaking spaces). DW is just following the rules.
Besides, it's just a
very bad practice to do this even if you could. You are
adding
substantially to the weight of code on the page, and you are
building a
structure that will flex as the text size is
increased/decreased.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"sderf" <[email protected]> wrote in message
news:ea3sg1$eig$[email protected]..
>
> This may be the worse question of the day but here goes.
When you are
> typing
> on a page why can't you move the type with the space
bar. Example you can
> not
> put spaces between to items??? like this
[email protected]
> [email protected]
> Why can't you seperate type from one side to the other
on a page.
> What am I missing???????
> Thanks
> Fred
>

Similar Messages

  • Help with TYPE and LIKE statements

    HI guys,
    I know this is really novice stuff, but I am a little confused.
    Can anyone please explain the exact difference between TYPE and like with the help of a program, to understand it.
    What situation would demand the use of each of the LIKE statement, since I can do all these things using the TYPE ?

    Hi Akhil,
    I summarized the info in SDN posts and SAP Help, to make it easier for you to understand. I also included some code snippets. Hope these prove to be helpful to you.
    The following is from SAP Help:
    The Additions TYPE and LIKE
    The additions TYPE type and LIKE dobj are used in various ABAP statements. The additions can have various meanings, depending on the syntax and context.
    ·        Definition of local types in a program
    ·        Declaration of data objects
    ·        Dynamic creation of data objects
    ·        Specification of the type of formal parameters in subroutines
    ·        Specification of the type of formal parameters in methods
    ·        Specification of the type of field symbols
    A known data type can be any of the following:
    ·        A predefined ABAP type to which you refer using the TYPE addition
    ·        An existing local data type in the program to which you refer using the TYPE addition
    ·        The data type of a local data object in the program to which you refer using the LIKE addition
    ·        A data type in the ABAP Dictionary to which you refer using the TYPE addition. To ensure compatibility with earlier releases, it is still possible to use the LIKE addition to refer to database tables and flat structures in the ABAP Dictionary. However, you should use the TYPE addition in new programs.
    The LIKE addition takes its technical attributes from a visible data object. As a rule, you can use LIKE to refer to any object that has been declared using DATA or a similar statement, and is visible in the current context.  The data object only has to have been declared. It is irrelevant whether the data object already exists in memory when you make the LIKE reference.
    ·        In principle, the local data objects in the same program are visible. As with local data types, there is a difference between local data objects in procedures and global data objects. Data objects defined in a procedure obscure other objects with the same name that are declared in the global declarations of the program.
    ·        You can also refer to the data objects of other visible ABAP programs. These might be, for example, the visible attributes of global classes in class pools. If a global class cl_lobal has a public instance attribute or static attribute attr, you can refer to it as follows in any ABAP program:
    DATA dref TYPE REF TO cl_global.
    DATA:  f1 LIKE cl_global=>attr,
           f2 LIKE dref->attr.
    You can access the technical properties of an instance attribute using the class name and a reference variable without first having to create an object. The properties of the attributes of a class are not instance-specific and belong to the static properties of the class.
    Example
    TYPES: BEGIN OF struct,
             number_1 TYPE i,
             number_2 TYPE p DECIMALS 2,
           END OF struct.
    DATA:  wa_struct TYPE struct,
           number    LIKE wa_struct-number_2,
           date      LIKE sy-datum,
           time      TYPE t,
           text      TYPE string,
           company   TYPE s_carr_id.
    This example declares variables with reference to the internal type STRUCT in the program, a component of an existing data object wa_struct, the predefined data object SY-DATUM, the predefined ABAP type t and STRING, and the data element S_CARR_ID from the ABAP Dictionary.
    The following info is from various posts:
    --> Type: It is used when userdefined object link with SAP system data type.
    Local types mask global types that have the same names. When typing the interface parameters or field symbols, a reference is also possible to generic types ANY, ANY TABLE,INDEX TABLE, TABLE or STANDARD TABLE, SORTED TABLE and HASHED TABLE.
    --> Like: It is when data object link with the other data object.
    --> TYPE, you assign datatype directly to the data object while declaring.
    --> LIKE,you assign the datatype of another object to the declaring data object. The datatype is referenced indirectly.
    you can refer to all visible data objects at the ABAP program's positon in question. Only the declaration of the data object must be known. In this case it is totally irrelevant whether the data object already exists physically in
    memory during the LIKE reference. Local data objects mask global data objects that have the same name.
    --> Type is a keyword used to refer to a data type whereas Like is a keyword used to copy the existing properties of already existing data object.
    Types: var1(20) type c.
    data: var2 type var1. ( type is used bcoz var1 is defined with TYPES and it
    does not occupy any memory spce.
    data: var3 like var2. ( like is used here bcoz var2 is defined with DATA
    so it does occupy space in memory ).
    data: material like mara-matnr. ( like is used here bcoz mara-matnr is stored in memory)
    --> Type refers the existing data type
    --> Like refers the existing data object
    Please Reward Points if any of the above points are helpful to you.
    Regards,
    Kalyan Chakravarthy

  • Code help with types... PLEASE

    it says there's something wrong with the boolean type but I tried String and all that and I still get null errors
    what type is best to use?
    import java.util.*;
    public class medical {
    public static void main(String[] args) {
    System.out.println("Fever Diagnostic Tool");
    System.out.println("Please note that this program shows no true diagnostic. \n ");
    System.out.println("Do you have a Fever? (y, n)");
    Scanner stdin = new Scanner(System.in);
    boolean a1 = stdin.nextBoolean();
    System.out.println("Do you have a fever? (y , n) ");
    if (a1 == 'y') {
    System.out.println("Are you coughing? (y , n) ");
    else {
    if (a1 == 'n') {
    System.out.println("Insufficient information");
    }

    If this question had been asked once, then help or a pointer to help is appropriate. If the same person asks you why
    if ( myString == 'Y' )doesn't work, and you point him to String.equals(), and the OP ignores the answer, and posts the same code again in a second thread, asking almost the same question, and then posts it a third time, wanting to know why
    if ( myBoolean == 'Y' )doesn't work, I begin to feel like nothing is going to get through.

  • Totally frustrated. Need help with type tool in CS2.

    Must start by admitting I'm embarrassed to have to even find myself asking this question. . . But after working with PageMaker since Ver. 2.0 in the early '80s, finally was forced to switch to CS2 when I had to replace my Mac/Intel computer 3 (or was it 4 years ago?). Did so fighting and cursing all the way, and I'm still having trouble typing in Photoshop . . . not just today, but EVERY TIME I sit down to work on a project.
    Most are brochures and display ads, and though friends and colleagues insist my real problem is that I should be setting them up in InDesign, I'm convinced it's easier to work on graphics and text simultaneously in Photoshop.
    My problem is in grabbing text blocks in order to edit them. Occasionally I'm able to highlight the text I need, but usually I keep getting new type layers instead. I know it should not be this difficult, but as soon as I select the text with the cursor, I get a new, empty text box.It doesn't seem to matter if I am in the layers or edit mode.
    I may not be the most technically advanced Adobe user, but I'm not stupid. What the heck am I doing wrong? Can someone please steer me right?

    Try this on for size:
    Type Tool Tips for Photoshop
    Most folks understand how to create text in Photoshop. You select the Type Tool from the Toolbox, or you tap the "T" key on your keyboard. Then, in the Character Palette you set the attributes for font, color, size, etc. A simple click in your document window will mark the spot where you may begin typing unbounded "point" text. Or, you click and drag in your document window to create a paragraph text box. Type out your text, then tap your "Enter" key to commit the text to its new layer.
    It's pretty straightforward, and Photoshop offers a decent set of tools to adjust how your text looks. One hitch that long-timers will tell you about, though: It's generally accepted that Photoshop isn't the best application to be using if you have to have to create a lot of text because it doesn't have all of the adjustment functions necessary to produce large amounts of professional-quality text. Well, the real world being what it is, sometimes, and for some users, Photoshop is the only application they have to work with; might as well make the best of it, right?
    So, once you have text entered onto a layer in your document, how do you then reselect iteither all of it or just a portion and navigate through it easily? What follows will answer some of those questions.
    Note: The keyboard shortcuts that follow assume you are using a Mac. If you're using Windows, substitute the CTRL key for "Command."
    Double-Click on the boxed 'T' thumbnail on the desired Text Layer in the Layers Palette. This will select and highlight all of the text on that layer.
    Then, if you want, you can use some keyboard shortcuts to move the "Blinking Bar" Type Tool cursor through the text.
    Assuming that your text is enclosed in a click-and-dragged out paragraph text box--When all text is highlighted:
    "Home" key will move cursor to the beginning of first line of text.
    "End" key will move cursor to the end of last line of text.When text is NOT highlighted, but cursor is flashing within the text:
    "Home" key moves cursor to the beginning of the line it's in.
    "End" key moves cursor to the end of the line it's in.
    Command + "Home" moves cursor to beginning of first line of text.
    Command + "End" moves cursor to end of the last line of text.
    Shift + "Home" selects text from cursor position to the beginning of the line it's in.
    Shift + "End" selects text from cursor position to the end of the line it's in.
    Shift + Command + "Home" selects text from cursor position to the beginning of the first line of text.
    Shift + Command + "End" selects text from cursor position to the end of the last line of text.Arrow keys can also be used to select text in various ways. When your cursor is flashing within the text:
    Shift + Right Arrow cumulatively selects text one character or space at a time, from cursor position, progressing toward the end of the text.
    Shift + Left Arrow cumulatively selects text one character or space at a time, from cursor position, progressing toward the beginning of the text.
    ⇒ Add the Command key to select whole words at a time, in either direction.
    Shift + Up Arrow selects text from cursor position back to the next line above the cursor.
    Shift + Down arrow selects text from cursor position forward to the next line below the cursor position.
    ⇒ Add the Command key to select text starting from the cursor position, and accumulating either back to the beginning of the first line, or forward to the end of the last line.
    That covers most of what (or more than) you need to know to navigate through and highlight text. There are some other key combos, and now that you have an idea of what to do, I'll let you experiment and discover them on your own.
    Type Tool Visual Indicators
    Keep a close eye on your Type Tool cursor as you move it near to and away from a hunk of text in your document window.
    When you see it as a plain old "I-Bar" cursor⇒
    ⇒...that means that it's ready to select a position within that text, or to select a hunk of that text.
    When you see a "boxed I-Bar" cursor⇒
    ⇒...that means your cursor is outside of the selectable area for the current text, and is ready for you to click (to start right in typing some unbounded point text) or click-n-drag (to create a paragraph text box). This will, of course, create a new text layer.
    How can you get a visual indicator of where that selectable area for current text begins and ends without blindly moving your Type Tool cursor around the text? Double-Click on the "Boxed-T" thumbnail in the Layers Palette. The text for that layer will become highlighted in your document window. See the black area that surrounds the text? That shows you the actual space occupied by the characters. If your Type Tool cursor is inside this area, it will display the plain "I-Bar" cursor. If it's outside of that area, it will display the "Boxed I-Bar" cursor.
    Want to FORCE Photoshop to create a new Type Layer, even though you're seeing the plain I-Bar cursor?
    Hold the SHIFT key, then either click, or click-n-drag out a paragraph text box.
    Info assembled & provided by phosphor.digital.network. Please note that this is a first draft and is not meant to be complete. There may also be some mistakes. Relax...if you point 'em out, I'll fix 'em.

  • Help with type of font

    I am working with windows vista.
    I would like to do this kind of font: www.asappaving.com ,
    where it says :"ASAP PAVING". How can I get 2 diferent colors for
    the same font and how can I change the board of the font? Please
    how can I do that using flash cs3. thanks in advance for any
    help.

    I have noticed in Flash CS3 there are filters you can apply
    to text like, bevel. But I'm not sure that will create the desired
    effect as you see it on asappaving.com. You would want to use
    Photoshop for something like that.
    Here is a page that offers some info on filters in flash:
    http://www.adobe.com/devnet/flash/articles/graphic_effects_guide_02.html

  • Help with writing and retrieving data from a table field with type "LCHR"

    Hi Experts,
    I need help with writing and reading data from a database table field which has a type of "LCHR". I have given an example of the original code but don't know what to change it to in order to fix it and still read in the original data that's stored in the LCHR field.
    Basically we have two Function modules, one that saves list data to a database table and one that reads in this data. Both Function modules have an identicle table which has an array of fields from type INT4, CHAR, and type P. The INT4 field is the first one.
    Incidentally this worked in the 4.7 non-unicode system but is now dumping in the new ECC6 Unicode system.
    Thanks in advance,
    C
    SAVING THE LIST DATA TO DB
    DATA: L_WA(800).
    LOOP AT T_TAB into L_WA.
    ZDBTAB-DATALEN = STRLEN( L_WA ).
    MOVE: L_WA to ZDBTAB-RAWDATA.
    ZDBTAB-LINENUM = SY-TABIX.
    INSERT ZDBTAB.
    READING THE DATA FROM DB
    DATA: BEGIN OF T_DATA,
                 SEQNR type ZDBTAB-LINENUM,
                 DATA type ZDBTAB-RAWDATA,
               END OF T_TAB.
    Select the data.
    SELECT linenum rawdata from ZDBTAB into table T_DATA
         WHERE repid = w_repname
         AND rundate = w_rundate
         ORDER BY linenum.
    Populate calling Internal Table.
    LOOP AT T-DATA.
    APPEND T_DATA to T_TAB.
    ENDLOOP.

    Hi Anuj,
    The unicode flag is active.
    When I run our report and then to try and save the list data a dump is happening at the following point
    LOOP AT T_TAB into L_WA.
    As I say, T_TAB consists of different fields and field types whereas L_WA is CHAR 800. The dump mentions UC_OBJECTS_NOT_CONVERTIBLE
    When I try to load a saved list the dump is happening at the following point
    APPEND T_DATA-RAWDATA to T_TAB.
    T_DATA-RAWDATA is type LCHR and T_TAB consists of different fields and field types.
    In both examples the dumps mention UC_OBJECTS_NOT_CONVERTIBLE
    Regards
    C

  • Need Help with data type conversion

    Hello People,
    I am new to java, i need some help with data type conversion:
    I have variable(string) storing IP Address
    IPAddr="10.10.103.10"
    I have to call a library function which passes IP Address and does something and returns me a value.
    The problem I have is that external function call in this library excepts IP Address in form of a byte array.
    Here is the syntax for the function I am calling through my program
    int createDevice (byte[] ipAddress).
    now my problem is I don't know how to convert the string  IPAddr variable into a byte[] ipAddress to pass it through method.

    Class InetAddress has a method
    byte[]      getAddress() You can create an instance using the static method getByName() providing the IP address string as argument.

  • Need help with error: XML parser failed: Error An exception occurred! Type:......

    <p>Need help with the following error.....what does it mean....</p><p>28943 3086739136 XML-240304 3/7/07 7:13:23 PM |SessionNew_Job1<br /><font color="#ff0000">28943 3086739136 XML-240304 3/7/07 7:13:23 PM XML parser failed: Error <An exception occurred! Type:UnexpectedEOFException, Message:The end of input was not expected> at</font><br />28943 3086739136 XML-240304 3/7/07 7:13:23 PM line <7>, char <8> in <<?xml version="1.0" encoding="WINDOWS-1252" ?><br />28943 3086739136 XML-240304 3/7/07 7:13:23 PM <DSConfigurations><br />28943 3086739136 XML-240304 3/7/07 7:13:23 PM <DSConfiguration default="true" name="Configuration1"><br />28943 3086739136 XML-240304 3/7/07 7:13:23 PM <case_sensitive>no</case_sensitive><br />28943 3086739136 XML-240304 3/7/07 7:13:23 PM <database_type>Oracle</database_type><br />28943 3086739136 XML-240304 3/7/07 7:13:23 PM <db_alias_name1>ODS_OWNER</db_alias_name1><br />28943 3086739136 XML-240304 3/7/07 7:13:23 PM <db_ali>, file <>.<br />28943 3086739136 XML-240307 3/7/07 7:13:23 PM |SessionNew_Job1<br />28943 3086739136 XML-240307 3/7/07 7:13:23 PM XML parser failed: See previously displayed error message.</p><p>Any help would be greatly appreciated.  It&#39;s something to do with my datasource and possibly the codepage but I&#39;m really not sure.</p><p>-m<br /></p>

    please export your datastore as ATL and send it to support. Somehow the internal language around configurations got corrupted - never seen before.

  • Help with HP Laser Printer 1200se

    HP Support Line,
    Really need your assistance.  I have tried both contacting HP by phone (told they no longer support our printer via phone help), the tech told me that I needed to contact HP by e-mail for assistance.   I then sent an e-mail for assistance and got that reply today, the reply is as follows  "Randall, unfortunately, HP does not offer support via e-mail for your product.  However many resources are available on the HP web site that may provide the answer to your inquiry.  Support is also available via telephone.  A list of technical support numbers can be round at the following URL........."  The phone numbers listed are the ones I called and the ones that told me I needed to contact the e-mail support for help.
    So here I am looking for your help with my issue.
    We just bought a new HP Pavillion Slimline Desk Top PC (as our 6 year old HP Pavillion PC died on us).  We have 2 HP printers, one (an all-in-one type printer, used maily for copying and printing color, when needed) is connected and it is working fine with the exception of the scanning option (not supported by Windows 7).  However we use our Laser Printer for all of our regular prining needs.  This is the HP LaserPrinter 1200se, which is about 6 years old but works really well.  For this printer we currently only have a parallel connection type cord and there is not a parallel port on the Slimline HP PC.  The printer also has the option to connedt a USB cable (we do not currently have this type of cable).
    We posed the following two questions:
    1.  Is the Laser Jet 1200se compatible with Windows 7?
    and if this is the case
    2.  Can we purchase either a) a USC connection cord (generic or do we need a printer specific cord)? or b) is there there a printer cable converter adapater to attach to our parallel cable to convert to a USB connection?
    We do not want to purchase the USB cable if Windows 7 will not accept the connection, or if doing this will harm the PC.
    We really would appreciate any assitance that you might give us.
    Thank you,
    Randy and Leslie Gibson

    Sorry, both cannot be enabled by design.  That said, devices on a network do not care how others are connected.  You can print from a wireless connection to a wired (Ethernet) printer and v/v.
    Say thanks by clicking "Kudos" "thumbs up" in the post that helped you.
    I am employed by HP

  • Creation of context sensitive help with pure FM 12 usage doesn't work

    Hi,
    I hope somebody is able to help me with a good hint or tip.
    I am trying to create a context-sensitive Microsoft Help with FM12 only using the abilities of FM (no RoboHelp). For some reasons, my assigned ID's are not used in the generated chm file and therefore the help does not work context-sensitively.
    What did I do?
    - I created my FM files and assigned topic aliases to the headers. I did this two ways: a) using the "Special" menue and assigning a CSH marker and/or b) setting a new marker of type "Topic Alias" and typing the ID. I used only numeric IDs like "2000" or "4200",
    - I created a .h file (projectname.h) - based on the format of the file projectname_!Generated!.h (I read this in some instructions). So the .h file (text file) looks like this:
    #define 2000 2000 /* 4 Anwendungsoberfläche */
    #define 2022 2022 /* 4.1.1 Menü Datei */
    #define 2030 2030 /* 4.1.3 Menü Parametersatz */
    #define 2180 2180 /* 6.6.7 Objektdialog Q-Regler */
    #define 2354 2354 /* 6.9.2 Objektdialog Extran Parameter */
    #define 2560 2560 /* 6.9.5 Objektdialog Extran2D Parametersatz */
    - I published the Microsoft HTML Help. A projectname_!Generated!.h has been created. My IDs were not used in this file:
    #define 2000    1
    #define 2022    2
    #define 2030    3
    #define 2180    4
    #define 2354    5
    #define 2560    6
    - When I open the .chm file and look in the source code, the ID even is totally different. It is not the one, I assigned in FM, it is not the one which I assigned in the projectname.h file and it even is not the one, which was put in the projectname_!Generated!.h file. It is a generated name starting with CSH_1 ...n in a consecutive way numbered.
    Example:
    <p class="FM_Heading1"><a name="XREF_72066_13_Glossar"></a>Gloss<a name="CSH_1"></a>ar</p>
    What goes wrong? Why does FM not take my assigned IDs? I need to use these IDs since our programmers are using those already - I had to re-create the whole online help but the programs stay untouched.
    Please help!
    Many thanks
    Mohi

    Hi Jeff,
    thanks for your note!
    The text in my marker is just a number like "2000" or "4200". As said, I created manually a my.h file and used this marker there. E.g.
    #define 2000 2000.
    Whereby the first 2000 (in my opinion) is the marker text and the second 2000 is the context ID which the programmers are using for the context sensitive call of the help. My definitions in the my.h file were translated to #define 2000 1 (in the my_!Generated!.h file). The source code "translates" the context ID into CSH_8.
    I am still confused :-/
    Thanks
    Mohi

  • Query Help with Parent, Child, Child's Child

    Hi all,
    Need some help with a query.  I'm trying to create a stored procedure that is sort of like a Customer, Order, Order, Details.  In my situation the tables are different but nevertheless, I want to grab all the fields from the  Parent, Child,
    and Childs' Child, where the Parent.ParentID = @Parameter.  I tried this:
    CREATE PROCEDURE [dbo].[spGetCompleteProjectXML]
    @ProjectID int = 0
    AS
    SELECT *,
    (SELECT *,
    (SELECT *
    FROM PageControls
    WHERE (PageControls.ProjectPageID = ProjectPages.ProjectPageID))
    FROM ProjectPages
    WHERE (ProjectPages.ProjectID = @ProjectID))
    FROM Projects
    WHERE (ProjectID = @ProjectID)
    FOR XML AUTO, ELEMENTS
    RETURN 0
    I think I'm close, but it was my best effort.  Could someone help?
    thanks in advance

    Hi TPolo,
    Regarding your description, are you looking for a sample like below?
    CREATE TABLE customer(customerID INT, name VARCHAR(99))
    INSERT INTO customer VALUES(1,'Eric')
    INSERT INTO customer VALUES(2,'Nelson')
    CREATE TABLE orders(orderID INT,customerID INT)
    INSERT INTO orders VALUES(1,1);
    INSERT INTO orders VALUES(2,1)
    INSERT INTO orders VALUES(3,2)
    INSERT INTO orders VALUES(4,2)
    CREATE TABLE orderDetails(orderID INT,item VARCHAR(99))
    INSERT INTO orderDetails VALUES(1,'APPLE1')
    INSERT INTO orderDetails VALUES(1,'BANANA1')
    INSERT INTO orderDetails VALUES(2,'APPLE2')
    INSERT INTO orderDetails VALUES(2,'BANANA2')
    INSERT INTO orderDetails VALUES(3,'APPLE3')
    INSERT INTO orderDetails VALUES(3,'BANANA3')
    INSERT INTO orderDetails VALUES(4,'APPLE4')
    INSERT INTO orderDetails VALUES(4,'BANANA5')
    SELECT customer.customerID,customer.name,
    (SELECT orderId,
    SELECT item FROM orderDetails WHERE orderID=orders.orderID FOR XML AUTO,TYPE,ELEMENTS
    FROM orders Where customerID=customer.customerID FOR XML AUTO,TYPE,ELEMENTS)
    FROM customer WHERE customerID=1
    FOR XML AUTO,ELEMENTS
    DROP TABLE customer,orderDetails,orders
    If you have any feedback on our support, please click
    here.
    Eric Zhang
    TechNet Community Support

  • Help with query calculations (recursive)

    Hi All,
    I want some help with a query using a base rate and the result use in the next calculation year.
    Here an example:
    create table rate_type(
    rate_type_id    number,
    rate_desc       nvarchar2(50),
    rate_base_year  number
    insert into rate_type(rate_type_id, rate_desc, rate_base_year) values (1, 'Desc1', 4.6590);
    insert into rate_type(rate_type_id, rate_desc, rate_base_year) values (2, 'Desc2', 4.6590);
    create table rates (
    rate_type_id number
    rate_year    number,
    rate_value   number
    insert into rates(rate_type_id, rate_year, rate_value) values (1, 2012, 1.2);
    insert into rates(rate_type_id, rate_year, rate_value) values (1, 2013, 1.3);
    insert into rates(rate_type_id, rate_year, rate_value) values (1, 2014, 1.4);
    insert into rates(rate_type_id, rate_year, rate_value) values (2, 2012, 1.2);
    insert into rates(rate_type_id, rate_year, rate_value) values (2, 2013, 1.3);
    insert into rates(rate_type_id, rate_year, rate_value) values (2, 2014, 1.4);The calculation for the first year should be the base rate of the rate type. The next year should use the result of the previous year and so on.
    The result of my sample data is:
    2012 = 4.659 + 1.2 + 4.659 * (1.2 * 0.01) = 5.9149
    2013 = 5.9149 + 1.3 + 5.9149 * (1.3 * 0.01) = 7.1859
    2014 = 7.1859 + 1.4 + 7.1859 * (1.4 * 0.01) = 8.4721Query result:
    NAME 2012 2013 2014
    Desc1 5.9149 7.1859 8.4721
    Desc2 XXXX XXX XXXX
    How can I do this in one select statement? Any ideas?
    Thanks!

    Assuming you are on 11.2:
    with t as (
               select  a.rate_type_id,
                       rate_desc,
                       rate_year,
                       rate_base_year,
                       rate_value,
                       count(*) over(partition by a.rate_type_id) cnt,
                       row_number() over(partition by a.rate_type_id order by rate_year) rn
                 from  rate_type a,
                       rates b
                 where a.rate_type_id = b.rate_type_id
        r(
          rate_type_id,
          rate_desc,
          rate_year,
          rate_base_year,
          rate_value,
          cnt,
          rn,
          result
         ) as (
                select  rate_type_id,
                        rate_desc,
                        rate_year,
                        rate_base_year,
                        rate_value,
                        cnt,
                        rn,
                        rate_base_year + rate_value + rate_base_year * rate_value * 0.01 result
                  from  t
                  where rn = 1
               union all
                select  t.rate_type_id,
                        t.rate_desc,
                        t.rate_year,
                        t.rate_base_year,
                        t.rate_value,
                        t.cnt,
                        t.rn,
                        r.result + t.rate_value + r.result * t.rate_value * 0.01 result
                  from  r,
                        t
                  where t.rate_type_id = r.rate_type_id
                    and t.rn = r.rn + 1
    select  *
      from  (
             select  rate_desc name,
                     rate_year,
                     result
               from  r
               where rn <= cnt
      pivot (sum(result) for rate_year in (2012,2013,2014))
      order by name
    NAME             2012       2013       2014
    Desc1        5.914908  7.2918018 8.79388703
    Desc2        5.914908  7.2918018 8.79388703
    SQL> Obviously pivoting assumes you know rate_year values upfront. If not, then without pivoting:
    with t as (
               select  a.rate_type_id,
                       rate_desc,
                       rate_year,
                       rate_base_year,
                       rate_value,
                       count(*) over(partition by a.rate_type_id) cnt,
                       row_number() over(partition by a.rate_type_id order by rate_year) rn
                 from  rate_type a,
                       rates b
                 where a.rate_type_id = b.rate_type_id
        r(
          rate_type_id,
          rate_desc,
          rate_year,
          rate_base_year,
          rate_value,
          cnt,
          rn,
          result
         ) as (
                select  rate_type_id,
                        rate_desc,
                        rate_year,
                        rate_base_year,
                        rate_value,
                        cnt,
                        rn,
                        rate_base_year + rate_value + rate_base_year * rate_value * 0.01 result
                  from  t
                  where rn = 1
               union all
                select  t.rate_type_id,
                        t.rate_desc,
                        t.rate_year,
                        t.rate_base_year,
                        t.rate_value,
                        t.cnt,
                        t.rn,
                        r.result + t.rate_value + r.result * t.rate_value * 0.01 result
                  from  r,
                        t
                  where t.rate_type_id = r.rate_type_id
                    and t.rn = r.rn + 1
    select  rate_desc name,
            rate_year,
            result
      from  r
      where rn <= cnt
      order by name,
               rate_year
    NAME        RATE_YEAR     RESULT
    Desc1            2012   5.914908
    Desc1            2013  7.2918018
    Desc1            2014 8.79388703
    Desc2            2012   5.914908
    Desc2            2013  7.2918018
    Desc2            2014 8.79388703
    6 rows selected.
    SQL> SY.

  • Hi can you help with the following panic attack report,

    hi can you help with the following panic attack report, macbook pro OS 10.7.3
    Interval Since Last Panic Report:  157997 sec
    Panics Since Last Report:          1
    Anonymous UUID:                    7ADCF50C-CC18-405E-9D5C-03325D3A83FA
    Thu Mar 29 05:37:28 2012
    panic(cpu 0 caller 0xffffff80002c266d): Kernel trap at 0xffffff800021d905, type 14=page fault, registers:
    CR0: 0x000000008001003b, CR2: 0xffffef801a845328, CR3: 0x0000000019452019, CR4: 0x00000000000606e0
    RAX: 0xffffff801a8450d8, RBX: 0xffffff800e79f340, RCX: 0xffffff801a8450d8, RDX: 0xffffef801a8450d8
    RSP: 0xffffff80a4623e90, RBP: 0xffffff80a4623eb0, RSI: 0x0000000020c85580, RDI: 0x0000000000000001
    R8:  0xffffff80008bd890, R9:  0xffffff80058aeac8, R10: 0xfffffe80539a9928, R11: 0x0008000000053d89
    R12: 0xffffff800e79f370, R13: 0xffffff8000846288, R14: 0xffffff801a8450c0, R15: 0x0000000000000001
    RFL: 0x0000000000010206, RIP: 0xffffff800021d905, CS:  0x0000000000000008, SS:  0x0000000000000010
    CR2: 0xffffef801a845328, Error code: 0x0000000000000002, Faulting CPU: 0x0
    Backtrace (CPU 0), Frame : Return Address
    0xffffff80a4623b50 : 0xffffff8000220702
    0xffffff80a4623bd0 : 0xffffff80002c266d
    0xffffff80a4623d70 : 0xffffff80002d7a1d
    0xffffff80a4623d90 : 0xffffff800021d905
    0xffffff80a4623eb0 : 0xffffff800021daad
    0xffffff80a4623ee0 : 0xffffff800023caa9
    0xffffff80a4623f10 : 0xffffff800023cb36
    0xffffff80a4623f30 : 0xffffff80005a3258
    0xffffff80a4623f60 : 0xffffff80005ca448
    0xffffff80a4623fb0 : 0xffffff80002d7f39
    BSD process name corresponding to current thread: SophosAntiVirus
    Mac OS version:
    11D50b
    Kernel version:
    Darwin Kernel Version 11.3.0: Thu Jan 12 18:47:41 PST 2012; root:xnu-1699.24.23~1/RELEASE_X86_64
    Kernel UUID: 7B6546C7-70E8-3ED8-A6C3-C927E4D3D0D6
    System model name: MacBookPro8,3 (Mac-942459F5819B171B)
    System uptime in nanoseconds: 5720232329361
    last loaded kext at 5694112402758: com.apple.iokit.IOSCSIBlockCommandsDevice          3.0.3 (addr 0xffffff7f807a3000, size 86016)
    last unloaded kext at 248390619372: com.apple.driver.AppleUSBUHCI          4.4.5 (addr 0xffffff7f80a4e000, size 65536)
    loaded kexts:
    com.sophos.kext.sav          7.3.0
    com.apple.driver.AppleUSBCDC          4.1.15
    com.apple.driver.AppleHWSensor          1.9.4d0
    com.apple.filesystems.autofs          3.0
    com.apple.driver.AppleMikeyHIDDriver          122
    com.apple.driver.AudioAUUC          1.59
    com.apple.driver.AppleUpstreamUserClient          3.5.9
    com.apple.driver.AppleMCCSControl          1.0.26
    com.apple.driver.AppleHDA          2.1.7f9
    com.apple.driver.AppleMikeyDriver          2.1.7f9
    com.apple.driver.AppleIntelHD3000Graphics          7.1.8
    com.apple.driver.AGPM          100.12.42
    com.apple.kext.ATIFramebuffer          7.1.8
    com.apple.driver.SMCMotionSensor          3.0.1d2
    com.apple.iokit.IOUserEthernet          1.0.0d1
    com.apple.driver.AppleSMCLMU          2.0.1d2
    com.apple.Dont_Steal_Mac_OS_X          7.0.0
    com.apple.driver.AudioIPCDriver          1.2.2
    com.apple.driver.ACPI_SMC_PlatformPlugin          4.7.5d4
    com.apple.driver.AppleMuxControl          3.0.16
    com.apple.driver.AppleLPC          1.5.3
    com.apple.ATIRadeonX3000          7.1.8
    com.apple.driver.AppleUSBTCButtons          225.2
    com.apple.driver.AppleUSBTCKeyboard          225.2
    com.apple.driver.AppleIRController          312
    com.apple.AppleFSCompression.AppleFSCompressionTypeDataless          1.0.0d1
    com.apple.AppleFSCompression.AppleFSCompressionTypeZlib          1.0.0d1
    com.apple.BootCache          33
    com.apple.iokit.SCSITaskUserClient          3.0.3
    com.apple.iokit.IOAHCIBlockStorage          2.0.1
    com.apple.driver.AppleUSBHub          4.5.0
    com.apple.driver.AppleFWOHCI          4.8.9
    com.apple.driver.AirPort.Brcm4331          513.20.19
    com.apple.iokit.AppleBCM5701Ethernet          3.0.8b2
    com.apple.driver.AppleEFINVRAM          1.5.0
    com.apple.driver.AppleAHCIPort          2.2.0
    com.apple.driver.AppleSmartBatteryManager          161.0.0
    com.apple.driver.AppleUSBEHCI          4.5.8
    com.apple.driver.AppleACPIButtons          1.4
    com.apple.driver.AppleRTC          1.4
    com.apple.driver.AppleHPET          1.6
    com.apple.driver.AppleSMBIOS          1.7
    com.apple.driver.AppleACPIEC          1.4
    com.apple.driver.AppleAPIC          1.5
    com.apple.driver.AppleIntelCPUPowerManagementClient          167.3.0
    com.apple.nke.applicationfirewall          3.2.30
    com.apple.security.quarantine          1.1
    com.apple.driver.AppleIntelCPUPowerManagement          167.3.0
    com.apple.iokit.IOSCSIBlockCommandsDevice          3.0.3
    com.apple.iokit.IOUSBMassStorageClass          3.0.1
    com.apple.kext.triggers          1.0
    com.apple.driver.AppleAVBAudio          1.0.0d11
    com.apple.driver.DspFuncLib          2.1.7f9
    com.apple.driver.AppleSMBusController          1.0.10d0
    com.apple.iokit.IOSurface          80.0
    com.apple.iokit.IOFireWireIP          2.2.4
    com.apple.iokit.IOBluetoothSerialManager          4.0.3f12
    com.apple.iokit.IOSerialFamily          10.0.5
    com.apple.iokit.IOAVBFamily          1.0.0d22
    com.apple.driver.AppleHDAController          2.1.7f9
    com.apple.iokit.IOHDAFamily          2.1.7f9
    com.apple.iokit.IOAudioFamily          1.8.6fc6
    com.apple.kext.OSvKernDSPLib          1.3
    com.apple.driver.ApplePolicyControl          3.0.16
    com.apple.driver.AppleSMC          3.1.1d8
    com.apple.driver.IOPlatformPluginFamily          4.7.5d4
    com.apple.driver.AppleSMBusPCI          1.0.10d0
    com.apple.driver.AppleGraphicsControl          3.0.16
    com.apple.driver.AppleBacklightExpert          1.0.3
    com.apple.iokit.IONDRVSupport          2.3.2
    com.apple.kext.ATI6000Controller          7.1.8
    com.apple.kext.ATISupport          7.1.8
    com.apple.driver.AppleIntelSNBGraphicsFB          7.1.8
    com.apple.iokit.IOGraphicsFamily          2.3.2
    com.apple.driver.BroadcomUSBBluetoothHCIController          4.0.3f12
    com.apple.driver.AppleUSBBluetoothHCIController          4.0.3f12
    com.apple.iokit.IOBluetoothFamily          4.0.3f12
    com.apple.driver.AppleThunderboltDPInAdapter          1.5.9
    com.apple.driver.AppleThunderboltDPAdapterFamily          1.5.9
    com.apple.driver.AppleThunderboltPCIDownAdapter          1.2.1
    com.apple.driver.AppleUSBMultitouch          227.1
    com.apple.iokit.IOUSBHIDDriver          4.4.5
    com.apple.driver.AppleUSBMergeNub          4.5.3
    com.apple.driver.AppleUSBComposite          4.5.8
    com.apple.iokit.IOSCSIMultimediaCommandsDevice          3.0.3
    com.apple.iokit.IOBDStorageFamily          1.6
    com.apple.iokit.IODVDStorageFamily          1.7
    com.apple.iokit.IOCDStorageFamily          1.7
    com.apple.driver.XsanFilter          403
    com.apple.iokit.IOAHCISerialATAPI          2.0.1
    com.apple.iokit.IOSCSIArchitectureModelFamily          3.0.3
    com.apple.driver.AppleThunderboltNHI          1.3.2
    com.apple.iokit.IOThunderboltFamily          1.7.4
    com.apple.iokit.IOUSBUserClient          4.5.8
    com.apple.iokit.IOFireWireFamily          4.4.5
    com.apple.iokit.IO80211Family          412.2
    com.apple.iokit.IOEthernetAVBController          1.0.0d5
    com.apple.iokit.IONetworkingFamily          2.0
    com.apple.iokit.IOAHCIFamily          2.0.7
    com.apple.iokit.IOUSBFamily          4.5.8
    com.apple.driver.AppleEFIRuntime          1.5.0
    com.apple.iokit.IOHIDFamily          1.7.1
    com.apple.iokit.IOSMBusFamily          1.1
    com.apple.security.sandbox          177.3
    com.apple.kext.AppleMatch          1.0.0d1
    com.apple.security.TMSafetyNet          7
    com.apple.driver.DiskImages          331.3
    com.apple.iokit.IOStorageFamily          1.7
    com.apple.driver.AppleKeyStore          28.18
    com.apple.driver.AppleACPIPlatform          1.4
    com.apple.iokit.IOPCIFamily          2.6.8
    com.apple.iokit.IOACPIFamily          1.4
    Model: MacBookPro8,3, BootROM MBP81.0047.B27, 4 processors, Intel Core i7, 2.2 GHz, 4 GB, SMC 1.70f5
    Graphics: AMD Radeon HD 6750M, AMD Radeon HD 6750M, PCIe, 1024 MB
    Graphics: Intel HD Graphics 3000, Intel HD Graphics 3000, Built-In, 384 MB
    Memory Module: BANK 0/DIMM0, 2 GB, DDR3, 1333 MHz, 0x80AD, 0x484D54333235533642465238432D48392020
    Memory Module: BANK 1/DIMM0, 2 GB, DDR3, 1333 MHz, 0x80AD, 0x484D54333235533642465238432D48392020
    AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0xD6), Broadcom BCM43xx 1.0 (5.100.98.75.19)
    Bluetooth: Version 4.0.3f12, 2 service, 18 devices, 2 incoming serial ports
    Network Service: AirPort, AirPort, en1
    Serial ATA Device: TOSHIBA MK7559GSXF, 750.16 GB
    Serial ATA Device: MATSHITADVD-R   UJ-898
    USB Device: FaceTime HD Camera (Built-in), apple_vendor_id, 0x8509, 0xfa200000 / 3
    USB Device: hub_device, 0x0424  (SMSC), 0x2514, 0xfa100000 / 2
    USB Device: BRCM2070 Hub, 0x0a5c  (Broadcom Corp.), 0x4500, 0xfa110000 / 5
    USB Device: Bluetooth USB Host Controller, apple_vendor_id, 0x821a, 0xfa113000 / 8
    USB Device: Apple Internal Keyboard / Trackpad, apple_vendor_id, 0x0245, 0xfa120000 / 4
    USB Device: hub_device, 0x0424  (SMSC), 0x2514, 0xfd100000 / 2
    USB Device: IR Receiver, apple_vendor_id, 0x8242, 0xfd110000 / 3

    Get rid of Sophos Anti-Virus software you have installed. Use the uninstaller or:
    Uninstalling Software: The Basics
    Most OS X applications are completely self-contained "packages" that can be uninstalled by simply dragging the application to the Trash.  Applications may create preference files that are stored in the /Home/Library/Preferences/ folder.  Although they do nothing once you delete the associated application, they do take up some disk space.  If you want you can look for them in the above location and delete them, too.
    Some applications may install an uninstaller program that can be used to remove the application.  In some cases the uninstaller may be part of the application's installer, and is invoked by clicking on a Customize button that will appear during the install process.
    Some applications may install components in the /Home/Library/Applications Support/ folder.  You can also check there to see if the application has created a folder.  You can also delete the folder that's in the Applications Support folder.  Again, they don't do anything but take up disk space once the application is trashed.
    Some applications may install a startupitem or a Log In item.  Startupitems are usually installed in the /Library/StartupItems/ folder and less often in the /Home/Library/StartupItems/ folder.  Log In Items are set in the Accounts preferences.  Open System Preferences, click on the Accounts icon, then click on the LogIn Items tab.  Locate the item in the list for the application you want to remove and click on the "-" button to delete it from the list.
    Some software use startup daemons or agents that are a new feature of the OS.  Look for them in /Library/LaunchAgents/ and /Library/LaunchDaemons/ or in /Home/Library/LaunchAgents/.
    If an application installs any other files the best way to track them down is to do a Finder search using the application name or the developer name as the search term.  Unfortunately Spotlight will not look in certain folders by default.  You can modify Spotlight's behavior or use a third-party search utility, Easy Find, instead.  Download Easy Find at VersionTracker or MacUpdate.
    Some applications install a receipt in the /Library/Receipts/ folder.  Usually with the same name as the program or the developer.  The item generally has a ".pkg" extension.  Be sure you also delete this item as some programs use it to determine if it's already installed.
    There are many utilities that can uninstall applications.  Here is a selection:
    AppZapper
    Automaton
    Hazel
    CleanApp
    Yank
    SuperPop
    Uninstaller
    Spring Cleaning
    Look for them at VersionTracker or MacUpdate.
    For more information visit The XLab FAQs and read the FAQ on removing software.

  • Help with making JLabel visible for a few seconds only

    Hello guys,
    I need help with making a JLabel object visible for a few seconds only and disappear when a JButton has been clicked.
    Here is piece of code where I add mouse listener to the JButton object in my case is (jrbFigure1) and
    when is called sets icon and text to the JLabel jlbl object:
    jrbFigure1.addMouseListener(new MouseAdapter() {
    jrbFigure1.addMouseListener(new MouseAdapter() {
    public void mouseClicked(MouseEvent e) {
    jlbl.setIcon(cross);
    jlbl.setText(wrong);
    This piece of code is in a switch statement, the statement is in a method.
    The JLabel jlbl object is added in a panel in the constructor of the class.
    I really hope someone could help me on this issue.
    I would like to thank you in advance for any help or advice given.

    Bobson wrote:
    Sorry for posting my issue twice, I thought, I posted it in a wrong forum:)It's OK. We'll ask the mods to delete the other thread.
    I want the label to appear for X seconds when then button is pressed and disappear after that.Then a Swing Timer is what you want to use.
    I need to do this in a number of cases from a switch statement because I several buttons.Better to have several ActionListeners, one for each button or each type of button, rather than one ActionListener with a large switch statement, a so-called switch-board listener. They're messy to debug and upgrade.
    I tried to use Swing Timer, but I cannot set it properly.Go through the Sun Swing tutorial on Swing Timers. It's all outlined for you there: [http://java.sun.com/docs/books/tutorial/uiswing/misc/timer.html]

  • Need help with lost iMovie project.

    I was creating an iMovie project for school and needed to save it on a USB, so I clicked on 'Export Movie' from the 'Share' options menu in iMovie. I chose the type I wanted it saved in (viewing for computers) and then a smaller screen in iMovie popped up saying it was exporting the movie, or something like that. It took about a good 30 minutes and my project was a 7 minute movie with film clips, music, transitions, ect. I exported this project to my USB but when it finished it wasn't on there and when I finally found it on the Mac somewhere, I went to drag it into my USB but it said it was full. I then dragged the project onto my desktop and tried to open it to see if it worked. When I did the iMovie icon jumped once and stopped. I clicked on iMovie and it was still there in the projects screen. I then decided to close iMovie and open the project again from my desktop to see if it would play like a normal movie but once I clicked it the iMovie icon jumped again, opened but my project that I was trying to open was not there anymore and wouldn't open from my desktop file. I cannot open it at all and view it, it has been lost from my iMovie. Is there a way that I can get it back? Really need some help with this.

    What version of iMovie are you using?
    Matt

Maybe you are looking for

  • Mavericks will only start in safe mode, then shuts down.

    I think the new OS is trying to help me, but it's actually doing the opposite.  Does is automatically try to start in safe mode after a hard shutdown or something? Every time I start up I get the spining wheel and a progress bar that takes 20-30 minu

  • Can't add Cannon mp560 scanner in 0s 10.9

    Since I have had my MacBook Pro & Canon MP560 I have gotten used to them From time to time them deciding not to talk to each other. I go through the usual fixes and get them chatting again so I can actually get some work done.  I am at an end here wi

  • TreeSet Comparator problem

    I've been working on a pathfinding algorithm and have been using a TreeSet with a custom comparator, but seem to have run into a problem. I'm under the assumption that a set should only contain one of each item based on the comparator. For some reaso

  • SQL Developer - Schema - Application Express - insufficient privileges

    Hello there, we use a couple of apex applications on different workspaces here and every workspace has a same named schema. Every schema has a schema user (named like the schema) and we usually work with the sql developer. Everything works there but

  • Open a bsp page in a new window?

    Hi All, I am creating a BSP application wherein i have a htmlb button for "help". I want to open this help page in a new window, so that alongwith the help page the user can view other pages also simultaneously. Is there any way by which i can open t