Newbie help with anchors

I am a new user, or potential new user to Dreamweaver. In
fact, I'm using the free trial version right now, trying to decide
if I should switch to DW from Adobe GoLive CS2, (any help/opinions
regarding that decision would be welcomed) which I am currently
using. I am just a hobbyist at this, so please go easy on me. :)
I use Mac OS 10.4.8 on an Intel machine and have a simple,
probably stupd question .......How do I use the point-to-file
method to link to an anchor in one document from another document
within my site? I have, of course, created the anchor in file #2 to
link to from file#1. I have looked in the online Help, but the
method it tells me to use, isn't working for me. I'm sure I'm doing
something wrong. :) In Adobe GoLive, the anchors within a page are
visible in the file list so that you can use the point-to-file
method within the list of your site files and that makes it very
easy.
Thanks,
Kathy

kcardoza wrote:
How do I use the point-to-file method to link to an anchor in
> one document from another document within my site? I
have, of course, created
> the anchor in file #2 to link to from file#1. I have
looked in the online Help,
> but the method it tells me to use, isn't working for me.
I'm sure I'm doing
> something wrong. :) In Adobe GoLive, the anchors within
a page are visible in
> the file list so that you can use the point-to-file
method within the list of
> your site files and that makes it very easy.
I'm not sure you can. It would be pretty simple to create a
link in the
properties inspector link field to the page in which the
anchor you wish
to link to resides, then just add #NameOfYourAnchor to the
end of the link.

Similar Messages

  • Newbie - help with homework.

    Create a procedure to insert a record into the Bill_Items table. All the fields in the Bill_Items table will be specified as para with the exception of the Selling_Price, which will be the Current_Price, retrieved from the Menu_Items table. Do not allow the insert to finish unless there are enough of all ingredients on hand. If the insert is successfull, the quantity field in the Ingredient table will need to be updated accordingly.
    Tables are below.
    Thanks,
    CREATE TABLE Bill_Items
    Bill_Number NUMBER(6,0)
    CONSTRAINT FK_Bill_Items_Bill_Number REFERENCES Bills(Bill_Number)
    CONSTRAINT NN_Bill_Items_Bill_Number NOT NULL,
    Menu_Item_Number NUMBER(5,0)
    CONSTRAINT FK_Menu_Item_Num REFERENCES Menu_Items(Menu_Item_Number)
    CONSTRAINT NN_Bill_Items_Menu_Item_Num NOT NULL,
    Discount NUMBER(5,2)
    CONSTRAINT N_Bill_Items_Discount NULL,
    Quantity NUMBER(3,0) DEFAULT 1
    CONSTRAINT Bills_Items_Quanity_CC CHECK(Quantity > 0)
    CONSTRAINT NN_Bill_Items_Quantity NOT NULL,
    Selling_Price NUMBER(6,2) DEFAULT 0
    CONSTRAINT Bills_Items_SellingPrice_CC CHECK(Selling_Price >= 0)
    CONSTRAINT NN_Bill_Items_Selling_Price NOT NULL,
    CONSTRAINT PK_Bill_Items PRIMARY KEY(Bill_Number,Menu_Item_Number)
    CREATE TABLE Menu_Item_Ingredients
    Menu_Item_Number NUMBER(5,0)
    CONSTRAINT FK_Menu_Item_Ing_Menu_Item_Num REFERENCES Menu_Items(Menu_Item_Number)
    CONSTRAINT NN_Menu_Item_Ing_Meun_Item_Num NOT NULL,
    Ingredient_Number NUMBER(5,0)
    CONSTRAINT FK_Menu_Item_Ing_IngredientNo REFERENCES Ingredients(Ingredient_Number)
    CONSTRAINT NN_Menu_Item_Ing_IngredientNo NOT NULL,
    Quantity NUMBER(5,2) DEFAULT 1
    CONSTRAINT Menu_Item_Ing_Quanity_CC CHECK(Quantity > 0)
    CONSTRAINT NN_Menu_Item_Ing_Quanity NOT NULL,
    Constraint PK_Menu_Item_Ing PRIMARY KEY(Menu_Item_Number, Ingredient_Number)
    CREATE TABLE Ingredients
    Ingredient_Number Number(5,0)
    CONSTRAINT PK_Ingredients_IngredientNo PRIMARY KEY
    CONSTRAINT NN_Ingredients_IngredientNo NOT NULL,
    Ingredient_Name VarChar2(35)
    CONSTRAINT NN_Ingredients_Ingredient_Name NOT NULL,
    Portion_Code CHAR(2)
    CONSTRAINT FK_Ingredients_PortionCode REFERENCES Portions(Portion_Code)
    CONSTRAINT NN_Ingredients_PortionCode NOT NULL
    REFERENCES Portions(Portion_Code),
    On_Hand NUMBER(6,2) DEFAULT 1
    CONSTRAINT Ingredients_OnHand_CC CHECK(On_Hand > 0)
    CONSTRAINT NN_Ingredients_On_Hand NOT NULL,
    Reorder_Point NUMBER(6,2) DEFAULT 1
    CONSTRAINT Ingredients_Reorder_Point CHECK(Reorder_Point > 0)
    CONSTRAINT NN_Ingredients_Reorder_Point NOT NULL,
    Current_Cost NUMBER(5,2) DEFAULT 0
    CONSTRAINT Ingredients_CurrentCost_CC CHECK(Current_Cost >= 0)
    CONSTRAINT NN_Ingredients_Current_Cost NOT NULL
    CREATE TABLE Menu_Items
    Menu_Item_Number NUMBER(5,0)
    CONSTRAINT PK_Menu_Items_MenuItemsNo PRIMARY KEY
    CONSTRAINT NN_Menu_Items_MenuItemsNo NOT NULL,
    Menu_Item_Name VARCHAR2(50)
    CONSTRAINT NN_Menu_Items_Menu_Item_Name NOT NULL,
    Current_Price NUMBER(6,2) DEFAULT 0
    CONSTRAINT Menu_Items_CurrentPrice CHECK(Current_Price >=0)
    CONSTRAINT NN_Menu_Items_Current_Price NOT NULL,
    Production_Cost NUMBER(6,2) DEFAULT 0
    CONSTRAINT Menu_Items_ProdCost CHECK(Production_Cost >=0)
    CONSTRAINT NN_Menu_Items_Production_Cost NOT NULL
    );

    Newbie to oracle - help with homework.. Letting others do your work is called cheating, where I live.
    C.

  • Newbie: help with join in a select query

    Hi: I need some help with creating a select statement.
    I have two tables t1 (fields: id, time, cost, t2id) and t2 (fields: id, time, cost). t2id from t1 is the primary key in t2. I want a single select statement to list all time and cost from both t1 and t2. I think I need to use join but can't seem to figure it out even after going through some tutorials.
    Thanks in advance.
    Ray

    t1 has following records
    pkid, time, cost,product
    1,123456,34,801
    2,123457,20,802
    3,345678,40,801
    t2 has the following records
    id,productid,time,cost
    1,801,4356789,12
    2,801,4356790,1
    3,802,9845679,100
    4,801,9345614,12
    I want a query that will print following from t1 (time and cost for records that have product=801)
    123456,34
    345678,40
    followed by following from t2 (time and cost for records that have productid=801)
    4356789,12
    4356790,1
    9345614,12
    Is this possible?
    Thanks
    ray

  • Newbie - Help With templates

    I am fairly new to dreamweaver. Looking to put together a
    basic site for a holiday home for rent. Would like to include
    photos of the house and surrounding area, travel details, details
    of things to do and see, calendar, temeperature charts etc. Can
    anyone suggest where I can get my hands on templates that would
    help with this?
    Many thanks

    The best I've seen are from ProjectSeven -
    http://www.projectseven.com/
    They are commercial (look at the Page Packs) and they are
    excellent.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "Gusley5" <[email protected]> wrote in
    message
    news:[email protected]...
    >I guess sources for templates is what I'm looking for.
    I've little
    >knowledge
    > of writing code so was looking for a draft template
    which would have a
    > professional look to it with regard to font, layout,
    colours, buttons to
    > use
    > for links etc. I suppose some sort of table layout for
    including photos
    > with
    > related text may be best place to start.
    >
    > Code below is from a starter page available from
    dreamweaver. Any other
    > suggestions for templates gratefully received.
    >
    > Thanks
    >
    > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
    Transitional//EN"
    > "
    http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    > <html xmlns="
    http://www.w3.org/1999/xhtml">
    > <!-- DW6 -->
    > <head>
    > <!-- Copyright 2005 Macromedia, Inc. All rights
    reserved. -->
    > <title>Lodging - Catalog</title>
    > <meta http-equiv="Content-Type" content="text/html;
    charset=iso-8859-1" />
    > <link rel="stylesheet"
    >
    href="file:///C|/Program%20Files/Macromedia/Dreamweaver%208/Configuration/BuiltI
    > n/StarterPages/mm_lodging1.css" type="text/css" />
    > </head>
    > <body bgcolor="#999966">
    > <table width="100%" border="0" cellspacing="0"
    cellpadding="0">
    > <tr>
    > <td width="15"
    nowrap="nowrap"> </td>
    > <td height="60" colspan="2" class="logo"
    nowrap="nowrap"><br />
    > WEBSITE NAME HERE</td>
    > <td width="100%"> </td>
    > </tr>
    >
    > <tr bgcolor="#ffffff">
    > <td colspan="4"><img
    >
    src="file:///C|/Program%20Files/Macromedia/Dreamweaver%208/Configuration/BuiltIn
    > /StarterPages/mm_spacer.gif" alt="" width="1" height="1"
    border="0"
    > /></td>
    > </tr>
    >
    > <tr bgcolor="#a4c2c2">
    > <td width="15"
    nowrap="nowrap"> </td>
    > <td height="36" id="navigation"
    class="navText"><a
    > href="javascript:;">HOME</a></td>
    > <td> </td>
    > <td width="100%"> </td>
    > </tr>
    >
    > <tr bgcolor="#ffffff">
    > <td colspan="4"><img
    >
    src="file:///C|/Program%20Files/Macromedia/Dreamweaver%208/Configuration/BuiltIn
    > /StarterPages/mm_spacer.gif" alt="" width="1" height="1"
    border="0"
    > /></td>
    > </tr>
    >
    > <tr bgcolor="#ffffff">
    > <td valign="top" width="15"><img
    >
    src="file:///C|/Program%20Files/Macromedia/Dreamweaver%208/Configuration/BuiltIn
    > /StarterPages/mm_spacer.gif" alt="" width="15"
    height="1" border="0"
    > /></td>
    > <td valign="top" width="35"><img
    >
    src="file:///C|/Program%20Files/Macromedia/Dreamweaver%208/Configuration/BuiltIn
    > /StarterPages/mm_spacer.gif" alt="" width="35"
    height="1" border="0"
    > /></td>
    > <td width="710" valign="top"><br />
    > <table border="0" cellspacing="0" cellpadding="2"
    width="610">
    > <tr>
    > <td colspan="7" class="pageName">Page Name
    Here</td>
    > </tr>
    > <tr>
    > <td width="22%" height="110"><img
    >
    src="file:///C|/Program%20Files/Macromedia/Dreamweaver%208/Configuration/BuiltIn
    > /StarterPages/mm_product_sm.gif" alt="small product
    photo" width="110"
    > height="110" border="0" /></td>
    > <td> </td>
    > <td width="22%" height="110"><img
    >
    src="file:///C|/Program%20Files/Macromedia/Dreamweaver%208/Configuration/BuiltIn
    > /StarterPages/mm_product_sm.gif" alt="small product
    photo" width="110"
    > height="110" border="0" /></td>
    > <td> </td>
    > <td width="22%" height="110"><img
    >
    src="file:///C|/Program%20Files/Macromedia/Dreamweaver%208/Configuration/BuiltIn
    > /StarterPages/mm_product_sm.gif" alt="small product
    photo" width="110"
    > height="110" border="0" /></td>
    > <td> </td>
    > <td width="22%" height="110"><img
    >
    src="file:///C|/Program%20Files/Macromedia/Dreamweaver%208/Configuration/BuiltIn
    > /StarterPages/mm_product_sm.gif" alt="small product
    photo" width="110"
    > height="110" border="0" /></td>
    > </tr>
    > <tr>
    > <td valign="top" class="calendarText"
    nowrap="nowrap"><a
    > href="javascript:;">Product Name</a><br
    />
    > Price: $0.00</td>
    > <td> </td>
    > <td valign="top" class="calendarText"
    nowrap="nowrap"><a
    > href="javascript:;">Product Name</a><br
    />
    > Price: $0.00</td>
    > <td> </td>
    > <td valign="top" class="calendarText"
    nowrap="nowrap"><a
    > href="javascript:;">Product Name</a><br
    />
    > Price: $0.00</td>
    > <td> </td>
    > <td valign="top" class="calendarText"
    nowrap="nowrap"><a
    > href="javascript:;">Product Name</a><br
    />
    > Price: $0.00</td>
    > </tr>
    > <tr>
    > <td colspan="7"> </td>
    > </tr>
    > <tr>
    > <td height="110"><img
    >
    src="file:///C|/Program%20Files/Macromedia/Dreamweaver%208/Configuration/BuiltIn
    > /StarterPages/mm_product_sm.gif" alt="small product
    photo" width="110"
    > height="110" border="0" /></td>
    > <td> </td>
    > <td height="110"><img
    >
    src="file:///C|/Program%20Files/Macromedia/Dreamweaver%208/Configuration/BuiltIn
    > /StarterPages/mm_product_sm.gif" alt="small product
    photo" width="110"
    > height="110" border="0" /></td>
    > <td> </td>
    > <td height="110"><img
    >
    src="file:///C|/Program%20Files/Macromedia/Dreamweaver%208/Configuration/BuiltIn
    > /StarterPages/mm_product_sm.gif" alt="small product
    photo" width="110"
    > height="110" border="0" /></td>
    > <td> </td>
    > <td height="110"><img
    >
    src="file:///C|/Program%20Files/Macromedia/Dreamweaver%208/Configuration/BuiltIn
    > /StarterPages/mm_product_sm.gif" alt="small product
    photo" width="110"
    > height="110" border="0" /></td>
    > </tr>
    > <tr>
    > <td valign="top" class="calendarText"
    nowrap="nowrap"><a
    > href="javascript:;">Product Name</a><br
    />
    > Price: $0.00</td>
    > <td> </td>
    > <td valign="top" class="calendarText"
    nowrap="nowrap"><a
    > href="javascript:;">Product Name</a><br
    />
    > Price: $0.00</td>
    > <td> </td>
    > <td valign="top" class="calendarText"
    nowrap="nowrap"><a
    > href="javascript:;">Product Name</a><br
    />
    > Price: $0.00</td>
    > <td> </td>
    > <td valign="top" class="calendarText"
    nowrap="nowrap"><a
    > href="javascript:;">Product Name</a><br
    />
    > Price: $0.00</td>
    > </tr>
    > <tr>
    > <td colspan="7"> </td>
    > </tr>
    > </table> </td>
    > <td> </td>
    > </tr>
    >
    > <tr>
    > <td width="15"> </td>
    > <td width="35"> </td>
    > <td width="710"> </td>
    > <td width="100%"> </td>
    > </tr>
    > </table>
    > </body>
    > </html>
    >

  • Newbie - Help with Fireworks CS5 nav bar

    I am new to Fireworks. I am using Fireworks CS5. I need help with creating navigation bars and menu. Any tutorial or tips is greatly appreciated.
    Thank you.

    You'll find a tutorial named "Create a basic navigation bar" in the Fireworks help files.

  • Newbie Help with videocameras and editing software

    I am a third grade teacher who can whip around in imovie pretty well, but I want to expand and post training videos to the web. I also want to vodcast. I need a relatively easy videocamera, and of course, reasonably priced. I don't understand all the mumbo jumbo about the dvd, tape, flash videocameras except to know that some are not compatible with osx.
    Also would I be better off with Final Cut Pro Express?
    Help to a newbie...

    susannamessier wrote:
    OK now I am looking and I want this camera to be compatible with imovie also. On the Apple support page along side the Canon's I am looking at I see:
    Video stabilization limitations more...
    Filming in Cinema or 24p mode more...
    What? Goodness could this be anymore complicated?
    It's very intimidating at first. The short answer is that all this is compatible with iMovie.
    The longer one is:
    The number refers to frames per second (frame rate, in the jargon). Cine cameras run at 24 frames per second, so 24 fps is considered to give a look to moving objects similar to what you'd see in a filmed movie (think wagon wheels appearing to go backwards in old westerns).
    p refers to progressive, and means that you're getting 24 complete frames each second - again like film (this idea of mimicking film is the holy grail to some video makers - I say video is video, and should be treated like video). The opposite of progressive is i, for interlaced. Interlacing is a technique used in television since the early days as a way of giving you a better looking TV picture; in interlacing, instead of looking at each frame as a whole, you split it into very narrow lines, then scan al the odd ones, followed by all the even ones. In the old days, the scanning had to be linked to the way in which the electricity supply worked, so scanning was based on a frequency of 60 cycles per second (in the USA).
    So in video, you will see camcorders offering a frame rate of 60i as standard - i.e. 60 interlaced frames in one second.. They usually also offer 30p (which combines the results of 2 60i scans to give you 30 complete frames. And then as you've seen, 24p so you can make it look like film.
    You can shoot good movies in any of those frame rates; which ones you choose are up to you, but they're all used by many people for many different purposes. Some people will tell you you must use frame rate x for subject y. Listen, but don't follow blindly - try it out and see what works for you.
    The issue you will sometimes here debated about iMovie is how to take video you have shot interlaced, and get iMovie to export it as progressive, but still in high quality. Don't worry about that right now.
    Just get a camcorder you like, and make some movies. First feel really proud of them, then learn some more, and feel embarrassed by them (this is what we all do!).
    Hope that helps.

  • Newbie help with editing files in DW CS3

    I am new to using Dreamweaver, and I am having trouble with
    trying to edit existing files using DW CS3. When I open an existing
    file on my local site, DW converts some of the code using &.
    This is a problem because I need to edit the file just as it was
    originally written, so I can save it after editing and upload to my
    website.
    In my Preferences, I have Code Rewriting set to:
    -Rewrite Code: Fix invalidly nexted and unclosed tags
    [Unchecked]
    -Rewrite Code: Rename form items when posting [Checked]
    -Rewrite Code: Remove extra closing tags [Unchecked]
    -Never rewrite code: In files with extensions .as .asr .asc
    .asp .ascx .asmx .aspx .cfc .cfm .cfml .config .cs .ihtml .js .jsp
    .php .php3 .vb .xml .xsl .xslt .xul
    -Special characters: Encode <, >, &, and " in
    attribute values using & [Unchecked]
    -URL encoding: Do not encode special characters
    -Active Content: Insert using browser-safe scripts [Checked
    by default]
    -Active Content: Convert tags to scripts on file open
    [Unchecked]
    Today, I opened a file with an .xml extension, and DW rewrote
    the special characters > and '. Since I have in my preferences
    to Never rewrite code in .xml, I don't understand why DW is
    rewriting the code. Also, in my preferences I have unchecked the
    Special Characters, so why is DW still rewriting the code?
    Do I have some of the Code Rewriting preferences set wrong?
    Is there another place I need to tell DW not to rewrite
    existing code?
    Thanks for your help!
    Cyndi

    It imported both, but only shows you the raw file. Ever. What you see and what you edit will only be the raw file. The associated JPG file will follow the raw file around if you move it or rename it using Lightroom, but other than that, Lightroom will ignore it. You could safely delete the JPG, and Lightroom wouldn't complain--probably wouldn't even notice.
    There's a preference you can set that will cause JPGs to be imported as separate images. Then you'd be able to see both of them and edit them separately. That preference won't take effect on images that are already in the catalogue, but will affect all future imports.
    Hal

  • Help with Anchor in JSF

    <p align="center">  <b>
            For details click
            <a href="#error">
             here
            </a>
          </b></font></p>
    <a name="error"> </a>
    <a href="#top">Top of Page <font size="2"> &uArr;</font></a>Can any one tell me the equivalent JSF syntax for the above anchors

    Make use of the fact that the element ID's in the DOM tree are also useable as anchors.<h:someComponent id="someId" />
    <h:outputLink value="#someId">link</h:outputLink>Take care with woodstocked ID's which may occur in forms, datatables and subviews.

  • JSF Newbie: help with forms & drop-downs

    Hi,
    I've managed to get a few simple things working with JSF using Netbeans & Visual Web pack. This is pretty sexy stuff for a grizzled old perl programmer. However, there are still a few things I'm having trouble getting through my thick head -- maybe some kind soul could point me in the right direction.
    I would like to have a couple of cascading data-bound drop-downs: dd1 provides a selection list for dd2, and the combination of dd1 and dd2, when selected, provides enough data to populate a webuijsf:table.
    The desired behaviour is that a change in dd1 repopulates the selection list for dd2 and furthermore, repopulates the table based on the selected value in dd1 plus the first value in the selection list of dd2. A change of selection in dd2 repopulates the table accordingly.
    My prerender() for the page checks if dd1.getSelected == null, and if so, sets the cursor to the first row in the bound data provider. Furthermore, it primes the rowset for dd2 with some rows from dd2's data provider based on the values in the first row for dd1.
    The first time through, everything is peachy: dd1 has the appropriate selection list, as does dd2. my webuijsf:table also has the appropriate rows (selected in the prerender()).
    My problem seems to be that when a new value is selected in dd2, dd1.getSelected == null at the next prerender(). This, of course, re-primes dd2, wiping out its selection.
    So, obviously, I don't really understand what I'm doing well enough to see how to do this. The visual web pack tutorials, where I started, really don't provide adequate explanation of what's going on, and the chapter on JSF in the J2EE tutorial is still a little abstract for me.
    I would be forever indebted if somebody could please provide a pointer to a resource (preferably something a perl programmer can afford ;-) that could help me understand, in concrete terms, how a form, and the elements on the form (and their events), are processed.
    Also, and as an aside, am I alone in thinking the whole Java thing is tremendously complex? I'm not talking about the Java language, which I find pretty intuitive, but the zillions of J* stuff around it, which seems somewhat dense. I really do want to learn this stuff, but it's pretty bewildering!
    Thanks!
    Regards,
    Mike

    Normally I would tell you to inject the PersonController bean into the PersonSelectionListener bean as a managed property. Then drill into the bean to get the data you need.
    However, in this case you are dealing with a value change listener. Value change events are fired at the end of the Process Validations phase, before the Update Model Values phase. So in this case, the PersonController bean will not contain the selected person from the request. This is not a problem however, since the new value is passed via the ValueChangeEvent object.

  • Newbie - help with a SQL query for a bar chart  - Originally posted in APEX

    I originally posted this in the APEX forum but someone there suggested this is more of a SQL question.  Anyone out there who can provide some assistance?
    Hi,
    I'm a new user on APEX with no real SQL knowledge and I'm trying to build a dashboard with charts into an existing APEX application. Based on another application, I have come up with the following SQL code:
    select null link
    , CATEGORY label
    , count (decode(PROJECT_STATUS,'1',PROJECT_ID))"Active"
    , count (decode(PROJECT_STATUS,'2',PROJECT_ID))"Complete"
    , count (decode(PROJECT_STATUS,'3',PROJECT_ID))"On Hold"
    , count (decode(PROJECT_STATUS,'4',PROJECT_ID))"Pipeline"
    , count (decode(PROJECT_STATUS,'5',PROJECT_ID))"Pending Review"
    from GRAPO_PROHEADTRK
    where (PROJECT_STATUS='1' or PROJECT_STATUS='2' or PROJECT_STATUS='3' or PROJECT_STATUS='4' or PROJECT_STATUS='5' or PROJECT_STATUS='6')
    group by CATEGORY
    Order by COUNT(PROJECT_ID) DESC
    The code from the other app was:
    select null link
    , FUNCTIONAL_AREA label
    , count (decode(PROJECT_STATUS,'Active',PROJECT_ID))"Active"
    , count (decode(PROJECT_STATUS,'Complete',PROJECT_ID))"Complete"
    , count (decode(PROJECT_STATUS,'On Hold',PROJECT_ID)) "On Hold"
    , count (decode(PROJECT_STATUS,'Recurring',PROJECT_ID))"Recurring"
    , count (decode(PROJECT_STATUS,'Pipeline',PROJECT_ID))"Pipeline"
    , count (decode(PROJECT_STATUS,'Not Approved',PROJECT_ID))"Not Approved"
    from PM_V2
    where LOB='S2S' and (FUNCTIONAL_AREA='Accounts Payable' or FUNCTIONAL_AREA='Expense' or FUNCTIONAL_AREA='Procurement' or FUNCTIONAL_AREA='Fixed Assets')
    group by FUNCTIONAL_AREA
    Order by COUNT(PROJECT_ID) DESC
    I'm getting a "Failed to parse SQL query!" error when I try to run validation.
    Is this enough info for some assistance? Any help would really be appreciated.
    Thanks,
    Rachel

    Hi, Rachel,
    user10774102 wrote:
    I originally posted this in the APEX forum but someone there suggested this is more of a SQL question.  Anyone out there who can provide some assistance?
    Hi,
    I'm a new user on APEX with no real SQL knowledge and I'm trying to build a dashboard with charts into an existing APEX application. Based on another application, I have come up with the following SQL code:
    select null link
    , CATEGORY label
    , count (decode(PROJECT_STATUS,'1',PROJECT_ID))"Active"
    , count (decode(PROJECT_STATUS,'2',PROJECT_ID))"Complete"
    , count (decode(PROJECT_STATUS,'3',PROJECT_ID))"On Hold"
    , count (decode(PROJECT_STATUS,'4',PROJECT_ID))"Pipeline"
    , count (decode(PROJECT_STATUS,'5',PROJECT_ID))"Pending Review"
    from GRAPO_PROHEADTRK
    where (PROJECT_STATUS='1' or PROJECT_STATUS='2' or PROJECT_STATUS='3' or PROJECT_STATUS='4' or PROJECT_STATUS='5' or PROJECT_STATUS='6')
    group by CATEGORY
    Order by COUNT(PROJECT_ID) DESCIs there a problem with the code above?
    It's curious that the WHERE clause includes "PROJECT_STATUS='6'", but there is no pivoted column for project_status='6', like there is for '1' through '5'. That's not necessarily a mistake, and it wouldn't raise an error in any case.
    Instead of
    where (PROJECT_STATUS='1' or PROJECT_STATUS='2' or PROJECT_STATUS='3' or PROJECT_STATUS='4' or PROJECT_STATUS='5' or PROJECT_STATUS='6')you could say
    where PROJECT_STATUS  IN ('1', '2', '3', '4', '5', '6')but that probably has nothing to do with your current problem.
    The code from the other app was:
    select null link
    , FUNCTIONAL_AREA label
    , count (decode(PROJECT_STATUS,'Active',PROJECT_ID))"Active"
    , count (decode(PROJECT_STATUS,'Complete',PROJECT_ID))"Complete"
    , count (decode(PROJECT_STATUS,'On Hold',PROJECT_ID)) "On Hold"
    , count (decode(PROJECT_STATUS,'Recurring',PROJECT_ID))"Recurring"
    , count (decode(PROJECT_STATUS,'Pipeline',PROJECT_ID))"Pipeline"
    , count (decode(PROJECT_STATUS,'Not Approved',PROJECT_ID))"Not Approved"
    from PM_V2
    where LOB='S2S' and (FUNCTIONAL_AREA='Accounts Payable' or FUNCTIONAL_AREA='Expense' or FUNCTIONAL_AREA='Procurement' or FUNCTIONAL_AREA='Fixed Assets')
    group by FUNCTIONAL_AREA
    Order by COUNT(PROJECT_ID) DESC
    I'm getting a "Failed to parse SQL query!" error when I try to run validation.Is that an Apex error message? Sorry, I don't know anything about Apex.
    If you can't get a more specific error message from Apex, then try debugging this statement in SQL*Plus. When you get it fixed, then you can copy it back into Apex.
    If this is a SQL problem, then you should be able to re-create the problem in pure SQL.
    If you can't re-create the problem in pure SQL, then it's probably an Apex problem, and belongs in the Apex forum, not here.
    I don't see anything obviously wrong with your code, but I can't tell if, for example, you spelled a column name wrong, or if something has the wrong data type
    Is this enough info for some assistance? Any help would really be appreciated.It wiould be better if you posted a completE script that people could run to re-create the problem, and to test their ideas.
    Whenever you have a problem, please post a little sample data (CREATE TABLE and INSERT statements, relevant columns only) from all tables involved.
    Also post the results you want from that data, and an explanation of how you get those results from that data, with specific examples.
    Always say which version of Oracle (and any other software, such as Apex) you're using.

  • Newbie, help with timesten 6.0.2

    hi guys, i'm trying to install and configure timesten 6.0.2, in the same PC (it's name is demoserver) i have installed oracle 10g 10.2.0.1, the client tools for oracle 10g 10.2.0.0
    i'm reading a document called cacheconnect.pdf it is installed with timesten documentation, i have tried to install timesten with and without Access Control, and in the same case is the same error, the user i logged on windows is 'ricardo', it's password is 'verde13' i'm doing the follow steps agreed the pdf file:
    sqlplus system/passwordr@system1 system1 is the oracle service
    SQL> CREATE USER testuser IDENTIFIED BY mypsswrd
    DEFAULT TABLESPACE users;
    SQL> GRANT connect, resource, create any trigger TO testuser;
    SQL> COMMIT;
    SQL> EXIT
    then
    Create a TimesTen DSN
    Create a simple TimesTen system data source (System DSN), named cgDSN, as
    described in Chapter 2, “Creating TimesTen Data Stores” of Oracle TimesTen In-
    Memory Database Operations Guide.
    For cgDSN, set:
    • Data Store Path and Name: c:\temp\cgds
    • Permanent Data Sz (MB): 16
    • Temporary Data Sz (MB): 16
    • User ID: testuser (this ID is also used as the Oracle User ID)
    • Oracle ID: system1
    • Oracle Password: mypsswrd
    Use defaults for all other settings.
    in this case i'm trying without Access Control so i skip this
    Create an account on TimesTen
    Note: You need to create an account on TimesTen only if you have Access
    Control enabled on your TimesTen data store.
    Use the ttIsql utility to connect to the cgDSN data store. Then use the CREATE
    USER and GRANT statements to create a user, named testuser, with ADMIN
    and DDL privileges:
    ttIsql cgDSN
    Command> CREATE USER testuser IDENTIFIED BY mypsswrd
    Command> GRANT ADMIN, DDL TO testuser
    skip end
    Connect to your new Oracle account and create a table:
    sqlplus testuser/mypsswrd@system1
    SQL> CREATE TABLE readtab (a NUMBER(10,0) NOT NULL PRIMARY KEY,
    b CHAR(31));
    Then insert some rows and commit the changes:
    SQL> INSERT INTO readtab VALUES (1, 'hello');
    SQL> INSERT INTO readtab VALUES (2, 'world');
    SQL> COMMIT;
    Use the ttIsql utility to connect to the cgDSN data store. At the command prompt,
    use the ttCacheUidPwdSet procedure to pass the cache administration user ID
    and password as parameters.Then call the ttCacheStart procedure to start the
    cache agent for the data store. In this example, the cache administration user ID
    is testuser and the password is mypsswrd:
    ttIsql cgDSNCommand> call ttCacheUidPwdSet('testuser','mypsswrd');
    Command> call ttCacheStart();
    here is my problem without Access Control i dont have an adminstrator, the error is:
    Previous attempt resulted in the following:
    Backend failed with exit status 1:
    C:\TimesTen\tt60\srv\info\ws\cgi-bin\cache/ttBackEnd.exe -connStr "DSN=CGDSN" -user "RICARDO" -oraclepwd [Omitted] -oralogin
    ERROR in ttBackEnd.c, line 864: prepare failed
    ODBC Error/Warning = S1000, Additional Error/Warning = 5107
    TT5107: Oracle(OCI) error in OCIServerAttach(): ORA-12154: TNS:could not resolve the connect identifier specified rc = -1 -- file "bdbConnect.c", lineno 1381, procedure "ttBDbConnect()"
    ODBC Error/Warning = S1000, Additional Error/Warning = 5131
    TT5131: Cannot connect to Oracle database: connect_string = "orcl", uid = "RICARDO", pwd is hidden -- file "bdbConnect
    and with Access Control enabled is the same, how can i fix it?? i dont think is the TNS because from another client PC i can connect to Oracle using SQLPlus o VS.Net
    i hope you can help me.
    Regards.

    With 6.0.3 I overcome this problem. But before installation make sure that ORACLE_HOME is set correctly as an environment parameter. And if it is not set, after setting you should reboot your computer.
    Cheers
    Gokben

  • Newbie help with JAR files

    Okay,
    I built a simple Hello World project with Swing and it worked. Now I've build my own program from scratch and get a "Cannot find the main class" error from the JRE. Below are the contents of the manafest file craeted by Sun Java Studio 8.
    Manifest-Version: 1.0
    Ant-Version: Apache Ant 1.6.2
    Created-By: 1.5.0_06-b05 (Sun Microsystems Inc.)
    Main-Class: localPkg.mainForm
    X-COMMENT: Main-Class will be added automatically by build
    Also here is the source code for localPkg.mainForm
    * mainForm.java
    * Created on January 17, 2006, 9:32 AM
    * @author rowen
    package localPkg;
    import java.beans.*;
    public class mainForm extends javax.swing.JFrame {
    /** Creates new form mainForm */
    public mainForm() {
    initComponents();
    /** This method is called from within the constructor to
    * initialize the form.
    * WARNING: Do NOT modify this code. The content of this method is
    * always regenerated by the Form Editor.
    // <editor-fold defaultstate="collapsed" desc=" Generated Code ">
    private void initComponents() {
    java.awt.GridBagConstraints gridBagConstraints;
    ctoF1 = new MyBeans.CtoF();
    jLabel1 = new javax.swing.JLabel();
    jLabel2 = new javax.swing.JLabel();
    numericField1 = new magicbeans.NumericField();
    numericField2 = new magicbeans.NumericField();
    ctoF1.addPropertyChangeListener(new java.beans.PropertyChangeListener() {
    public void propertyChange(java.beans.PropertyChangeEvent evt) {
    ctoF1PropertyChange(evt);
    ctoF1PropertyChange1(evt);
    getContentPane().setLayout(new java.awt.GridBagLayout());
    setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
    jLabel1.setText("Farenheight");
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 0;
    gridBagConstraints.gridwidth = 2;
    gridBagConstraints.ipadx = 2;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
    gridBagConstraints.insets = new java.awt.Insets(20, 110, 0, 0);
    getContentPane().add(jLabel1, gridBagConstraints);
    jLabel2.setText("Celsius");
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 2;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
    gridBagConstraints.insets = new java.awt.Insets(11, 110, 0, 0);
    getContentPane().add(jLabel2, gridBagConstraints);
    numericField1.setText("farenheightField");
    numericField1.setName("farenheightField");
    numericField1.addPropertyChangeListener(new java.beans.PropertyChangeListener() {
    public void propertyChange(java.beans.PropertyChangeEvent evt) {
    numericField1PropertyChange(evt);
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 1;
    gridBagConstraints.gridwidth = 4;
    gridBagConstraints.ipadx = 119;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
    gridBagConstraints.insets = new java.awt.Insets(6, 110, 0, 160);
    getContentPane().add(numericField1, gridBagConstraints);
    numericField2.setText("celsiusField");
    numericField2.setName("celsiusField");
    numericField2.addPropertyChangeListener(new java.beans.PropertyChangeListener() {
    public void propertyChange(java.beans.PropertyChangeEvent evt) {
    numericField2PropertyChange(evt);
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 3;
    gridBagConstraints.gridwidth = 3;
    gridBagConstraints.ipadx = 99;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
    gridBagConstraints.insets = new java.awt.Insets(6, 110, 191, 0);
    getContentPane().add(numericField2, gridBagConstraints);
    pack();
    // </editor-fold>
    private void numericField2PropertyChange(java.beans.PropertyChangeEvent evt) {                                            
    ctoF1.setC(numericField2.getValue());
    private void numericField1PropertyChange(java.beans.PropertyChangeEvent evt) {                                            
    ctoF1.setF(numericField1.getValue());
    private void ctoF1PropertyChange1(java.beans.PropertyChangeEvent evt) {                                     
    numericField2.setValue(ctoF1.getC());
    private void ctoF1PropertyChange(java.beans.PropertyChangeEvent evt) {                                    
    numericField1.setValue(ctoF1.getF());
    * @param args the command line arguments
    public static void main(String args[]) {
    java.awt.EventQueue.invokeLater(new Runnable() {
    public void run() {
    new mainForm().setVisible(true);
    // Variables declaration - do not modify
    private MyBeans.CtoF ctoF1;
    private javax.swing.JLabel jLabel1;
    private javax.swing.JLabel jLabel2;
    private magicbeans.NumericField numericField1;
    private magicbeans.NumericField numericField2;
    // End of variables declaration
    Using Sun Java Studio Enterprise 8 (patch 1), on Windows XP (most recent patches)
    Thanks in advance,
    Roy

    R_Owen ,
    One possible way of how to do it in JSE8 is:
    1. Put all necessary lib jars to some place under src folder.
    2. Add those jars into Compile-time libraries list (Project properties -> Libraries) for correct compilation
    3. Switch to 'Files' JSE8 tab, open manifest.mf file (it's in projects root) and add your lib jars to it.
    Syntax is:
    Class-Path: relative URLs
    That's it.
    And Class-Path attribute description from JAR File Specification:
    http://java.sun.com/j2se/1.3/docs/guide/jar/jar.html#Main%20Attributes:
    �Class-Path:
    The value of this attribute specifies the relative URLs of the extensions or
    libraries that this application or extension needs.
    URLs are separated by one or more spaces.
    The application or extension class loader uses the value
    of this attribute to construct its internal search path. �
    Copy/paste from:
    http://swforum.sun.com/jive/thread.jspa?forumID=122&threadID=60169

  • Newbie - HELP WITH CODE PLEASE!

    Hi guys,
    I have recently started using flash as some of the guys i work with suggested that it would be useful...
    I am currently designing a basic site in AS3 and am stuck with a bit of coding. I keep getting the error message:
    TypeError: Error #1009: Cannot access a property or method of a null object reference.
        at new_web_v1_fla::MainTimeline/frame141()
    and having searched the net i cant find a solution. Here's my code:
    stop();
    function gohome(e:MouseEvent):void {
        gotoAndStop("home");
    back_btn1.addEventListener(MouseEvent.CLICK, gohome);
    function goit(e:MouseEvent):void {
        gotoAndStop("it");
    it_btn.addEventListener(MouseEvent.CLICK, goit);
    next_btn1.addEventListener(MouseEvent.CLICK, goit);
    back_btn2.addEventListener(MouseEvent.CLICK, goit);
    function goom(e:MouseEvent):void {
        gotoAndStop("om");
    om_btn.addEventListener(MouseEvent.CLICK, goom);
    next_btn2.addEventListener(MouseEvent.CLICK, goom);
    back_btn3.addEventListener(MouseEvent.CLICK, goom);
    function gogd(e:MouseEvent):void {
        gotoAndStop("gd");
    gd_btn.addEventListener(MouseEvent.CLICK, gogd);
    next_btn3.addEventListener(MouseEvent.CLICK, gogd);
    back_btn4.addEventListener(MouseEvent.CLICK, gogd);
    function gocu(e:MouseEvent):void {
        gotoAndStop("cu");
    cu_btn.addEventListener(MouseEvent.CLICK, gocu);
    next_btn4.addEventListener(MouseEvent.CLICK, gocu);
    I hope someone can help me out!
    Thanks
    Jon

    Thanks again for the advice, following your instructions i did use the // infornt of various bits of script.
    My AS now looks like this and the buttons that have the as left in the script without // before them work fine, no errors:
    stop();
    function gohome(e:MouseEvent):void {
        gotoAndStop("home");
    //back_btn1.addEventListener(MouseEvent.CLICK, gohome);
    function goit(e:MouseEvent):void {
        gotoAndStop("it");
    it_btn.addEventListener(MouseEvent.CLICK, goit);
    next_btn1.addEventListener(MouseEvent.CLICK, goit);
    //back_btn2.addEventListener(MouseEvent.CLICK, goit);
    function goom(e:MouseEvent):void {
        gotoAndStop("om");
    om_btn.addEventListener(MouseEvent.CLICK, goom);
    //next_btn2.addEventListener(MouseEvent.CLICK, goom);
    //back_btn3.addEventListener(MouseEvent.CLICK, goom);
    function gogd(e:MouseEvent):void {
        gotoAndStop("gd");
    gd_btn.addEventListener(MouseEvent.CLICK, gogd);
    //next_btn3.addEventListener(MouseEvent.CLICK, gogd);
    //back_btn4.addEventListener(MouseEvent.CLICK, gogd);
    function gocu(e:MouseEvent):void {
        gotoAndStop("cu");
    cu_btn.addEventListener(MouseEvent.CLICK, gocu);
    //next_btn4.addEventListener(MouseEvent.CLICK, gocu);
    the question now is how do i get my other buttons back into the script and get the bloody thing to work?
    ARRRGGGHHH! i am beginning to wish that i had never started! lol
    Thanks
    Jon

  • Newbie - help with website that i didn't build?

    Hi,
    My Mother had a website built for her. Things have changed and the site now needs editing. I have gallantly offered to help but am finding it tougher than i thought it would be.  I have the FTP login and the host login - although I'm not really sure what the difference is as I can access the files through dreamweaver CS5 with both. Are the host login and the FTP login the same?
    I'm using filezilla (or trying to) as the FTP. Now, I think that I have to download all the FTP files onto my computer - but I'm not entirely sure how to do this and then open it up with dreamweaver.
    I really need someone to walk me through how to get files from filezilla after I've connected to the host site to open up with dreamweaver and start updating and editing the site.
    also I see that the person that originally built the site has used a CSS folder for the 'styles'. He tells me all the colours and everything are in this file. But when I open it up in Dreamweaver I can only see the HTML coding side and not the design side. How do I go about changing colours?
    If you can help explain to me that would be great.
    Many thanks (in advance)

    My Mother had a website built for her. Things have changed and the site
    now needs editing. I have gallantly offered to help but am finding it
    tougher than i thought it would be.  I have the FTP login and the host
    login - although I'm not really sure what the difference is as I can
    access the files through dreamweaver CS5 with both. Are the host login
    and the FTP login the same?
    More than likely from your description one logs you into your web based control panel and could potentially login to billing while the other information (FTP) is the one you need for Dreamweaver.
    I'm using filezilla (or trying to) as the FTP. Now, I think that I have
    to download all the FTP files onto my computer - but I'm not entirely
    sure how to do this and then open it up with dreamweaver.
    Dreamweaver's FTP should be more than sufficient for you.  Just create a new site (Sites->Manage->New) and it will ask for your FTP information along the way.  It will also ask for a local folder which could be empty in your case or might not even exist.  So point it where you want to work on the site and go from there.  If you have questions about FTP information here, you would be best to ask your web hosting provider over user-to-user forums like this because they have the information you need.
    Also see: http://www.adobe.com/devnet/dreamweaver/articles/first_website_pt1.html
    I'm using filezilla (or trying to) as the FTP. Now, I think that I have
    to download all the FTP files onto my computer - but I'm not entirely
    sure how to do this and then open it up with dreamweaver.
    If you follow the instructions for setting up a site in Dreamweaver then you just transfer the files from the Remote to the Local using the Get button and then you can Put the files back on the server in the same place using Dreamweaver.
    also I see that the person that originally built the site has used a CSS
    folder for the 'styles'. He tells me all the colours and everything are
    in this file. But when I open it up in Dreamweaver I can only see the
    HTML coding side and not the design side. How do I go about changing
    colours?
    Your designer is correct.  The colors and all styles are defined in a CSS document.  You will see the colors defined with their Hex value (could be RGB, but I doubt it), and you will also see bold, underline and other styles defined in this document.  Website Design is all about coding.  If this does not interest you I recommend finding an outside third party to do the work for you.  All the styles are defined in code and that is translated back to the HTML in the form of classes and IDs.  Here is a basic tutorial going over CSS: http://www.w3schools.com/CSS/ .

  • Newbie help with apache xmlrpc

    greetings everybody,
    i'm new to xml-rpc and i'm using the apache xmlrpc implemtation. I would just would like to ask if theres a way to add /edit headers of to my XmlRpcClient request. I know how to deal with the other headers like Content-Length and Authentication etc. but i need to add a "User Agent" header. Can u guys help me on this problem... tnx in advanced! :)

    Okay if you are looking for the jar files to compile Servlets and JSP they are under the common/lib folder of your tomcat installation. You sill probably only need the servlet-api.jar file.
    I recommend that you read the online documentation that comes with tomcat and look at all the of the examples before trying to code something.

Maybe you are looking for

  • Camera's RTSP Function not compatible with most phones.

    Aside from the usual array of phones that don't support rtsp which cannot access linksys cams... add the new enV3 which can stream m.youtube.com and has rtsp but are still unable to load the stream. If someone would like to prove me wrong I'll paypal

  • Unable to create shopping cart due to currency conversion error.

    Hi, We are currently working in a extended classic scenario. We have about 8 users connected under a common entity ( dept). Out of which for one user (user1) we are able to create the shopping cart and able to run the entire procurement cycle the ent

  • IPhoto books archival???

    Color photographs I took 20 years ago are now fading and turning yellow in my albums while the black and white pictures in my grandmother's scrapbooks look just fine. Does anyone know how long iPhoto books last? Will my kids be able to show them to t

  • Forgot password for os 10.4.11

    forgot password got mac tower power pc the model non intel chip  tiger 10.4.11

  • Keep previous values for Select-Options

    I am using macros to populate my selections with the previously entered values.  Everything works fine until I want to delete the previous selections for so_snp via the Trash Can button.  The selections come back.  The issue seems to be that the sele