How to display a folder db with a variable number of attached documents

I am building a website for a show air http://www.hollisterairshow.com and the organizer would like to put a list of things he needs for the show and have people to respond via the website. For example, it will take 20 tents, and potentially up to 20 people could answer, each offering a tent, or fewer people may each offer several tents. I would like to create a view showing the necessary point and below a line for every offer he receives. I already have a couple of tables defined, one called "needs" and the other called 'offer', the 'offers' table contains a column called 'needId' that is the index of the table needs.

So far, I created a recordset to join the tables but each line contains the need and supply, so I see the need repeated on each line and I want only to see once. Here's the SQL code generated by DW CS4

SELECT needs.needId, needs.title, needs. "description', needs.quantity, needs.needMet, offers.needId, offers.offerId, offers.name, offers.email, offers.phone, offers.quantity, offers"comment. "
Needs, offers
WHERE needs.needId = offers.needId
ORDER BY needs.title

I'm sure there must be a simple solution for this, but I am unable to understand. I am new to SQL and this as a volunteer for the aerospace industry.

Thank you

Tony

> Is it possible to do this? I would like to

> need a different set of records or am, I still

> looking at a layout problem?

You don't need a different set of records. It is only a slight modification. For each record, test if the ID has changed. If so, print the header, a line break, and then the details of the line. If this isn't the case, print only the details of the line.

Tags: Dreamweaver

Similar Questions

  • With a variable number of input ports on a Subvi

    How can I have a Subvi with a variable number of input ports that can be changed in the other VI that uses the Subvi?

    You can't actually do what you trying to do, how LabVIEW is implemented does not screw created by the user with arbitrary entries.  And to be honest, there is probably a better way to do whatever it is you want to do.

    If you really really want to do that, but... you can come kind of close.

    1. create a new VI

    2. change its connector to the one with the inputs and outputs pane more possible (terminals 8-6-6-8, 28)

    3 create controls/indicators for any desired input/output of not scaling can connect the (i.e. the error in / error, son of reference, etc.)

    4. hang them until the connector pane

    5 count how many entries are left and create a control for each entry and their son all

    6 drop your VI on the block diagram of the VI one another as a Subvi

    7. Note that when you mouseover, it looks like a Pincushion

    8. right click the VI and uncheck the "display as icon".

    9. you can now "slide down" at the bottom of the VI

    The terminals in the section "slide down" are as a package by name or node property that you can click on them to reallocate them to what it is not already selected.  The default is to make all the entries in alphabetical order, then all the outputs in alphabetical order.  If you rename the terminals that allows you to make appear in the order that you prefer is up to you.

    As all terminals, for the best that you can do to detect if they are wired is to define a default value that should never be used.  If she is floating points, you can use 'NaN' or 'Inf '.  If this is a cluster that you did, add an item more boolean which is true in the default values for this entry VI.

    Then just wire up all the identical terminals together in a table, filter the items which appear to be unwired and make all your treatment on the rest.

  • Hi, how can I install adobe photoshop with my serial number on my new mac?

    Hi, how can I install adobe photoshop with my serial number on my new mac? (I have already on my old)

    Thank you!

    Available downloadable Setup files:

    Download and installation help links Adobe

    Help download and installation to Prodesigntools links can be found on the most linked pages.  They are essential; especially steps 1, 2 and 3.  If you click on a link that does not have these listed steps, open a second window by using the link to Lightroom 3 to see these "important Instructions".

  • AM Customer Interface + method with a variable number of parameters

    Hello

    I use JDev11 & ADF. I have an App Module exteding, an application custom module (ApplicationModuleImpl) class. I created a few methods and expose them in the Client Interface. I read that I can only use the return types and methods of simple or serialized attributes in the Client Interface of AM. I need to create a method with the variable number and type of parameters, something like "Createwithparams", something like:
        public void Method(String[] FieldNames, Object[] FieldValues)
    Is there a way to do it?

    TKS.

    You just did it. It should work as far as I know.
    If you can not make available the method try list instead of normal array.

    Timo

  • How to display very large text with the font size?

    I'm using html and css to display large text with the font size.

    Label {
        text: "Acit"
    }
    

    In the image below, it is the largest size, although I try to increase the value of the size of the font. Do you know how to display the largest font size?

    Thanhks

    You should be able to amplify it upward with scaleX/scaleY properties, although no doubt quality will suffer somewhat (but probably not significantly, for most people).

  • How to display a positive value with a thinner sign

    I want to display a positive value with a thinner sign and a negative value with a less fine sign. How can I do? Is there any character in the custom format for this? I don't want to convert number to text and use the case statement because I need to two decimal and thousands separator.

    OK, try this...

    You will need to do a "UNION ALL" of three queries, one for positive values, one for the values zero and one for negative values.

    In the query "negative", follow these steps:

    (1) add a filter on the measure of value 'less than 0.
    (This will ensure that all values are negative).

    (2) in the tab Format data, select "Custom" and type #, # 0.00 -
    (This will add the end negative sign.)

    (3) in the tab change the formula, add the function absolute value ABS (able to insert here)
    (This will get rid of the default signing negative.)

    For the query "positive values", change the above as follows:

    (1) change the filter to "0".
    (2) in the format of data, change the custom format #, # 0.00 +.
    Step 3 is unnecessary since all values are positive.

    For the query "values null ', just add a filter 'equal to zero.'

  • How to fix the folder flashing with question mark on mac pro

    I have a problem with my mac pro.  When I press the power on button, the grey of the screen become a folder flashing with question mark appears and it does not start.  What should I do?  I don't have an os x on a cd so I can not ignore the system...

    See:

    If a flashing question mark appears when you start your Mac - Apple Support

    What model Mac? What OSX version was on the Mac?

    If you do not have a partition recovery or restoration of the Internet

    On OS X Recovery - Apple Support

    Then you install an installation DVD

  • I never had no serial number for my "abo student and teacher" but I m already paiing for about 3 months. How can I get an email with a serial number?

    What is the problem with that?

    I ve never had no matter what mail with a serial number for my product?

    But I m already paiing!

    Hi Karsten.

    Please check the help below document:

    Creative Cloud applications ask for serial number

    Kind regards

    Sheena

  • How to display the new page with HTML, click the ADF

    I have an ADF page with a button.

    When I click that button, I call a method in backing bean that calculate a string that is HTML. I want to make this HTML as a new page in the same window of the browser as a result button click.

    How do I do that?

    I can also call a methodCall to task flow on a button click. But my next page should be a new HTML page including the calculation in the method call.

    You can convert the calling method in a servlet - your ADF page calls the servlet that returns the HTML code - this may be as a separate page using an af:goLink to call the servlet or it can be included in an af:inlineFrame in your page.

    Another option is to return the HTML string as the value for an af:outputText and the attribute of the escape of this element the value false.

  • How to display a column value with chain?

    Hai all,

    SELECT name from TAB1;

    output: JAGAN

    RAMU

    SIVA

    Sanjay

    So my requirement is to display these data in string (with single Quotes) as below.

    "JAGAN.

    "ROBERT."

    'SHIVA '.

    "Sanjay".

    I would like to know if it is possible...

    Thanks in advance...

    Jagadekara Reddy

    Hello

    Yes it is possible, try this

    SELECT "' | name | " '

    OF TAB1;

  • How to display the download link with get_blob or get_blob_file_src?

    Hello

    I fight to display a download link in a report of SQL query.
    Based on the condition, I need to create a report of sql query that the source contains a series of query union select.

    Example here
    WITH current_engagement AS)
    SELECT engagement_id, pn, ethnicity, date_joined_aodt_court, defendant_id, case_manager_name
    participation_conditions, discharge_conditions
    COMMITMENT
    WHERE defendant_id =: PXX_DEF
    AND date_joined IS NOT NULL
    AND (date_terminated IS NULL or to_date(date_joined,'DD/MM/YYYY') > to_date(sysdate,'DD/MM/YYYY'))
    AND active = 1 AND ROWNUM = 1
    ORDER BY defendant_id DESC
    )
    SELECT def.first_name, def.middle_name, def.surname, to_char (def.pn) "PN", to_char (def.nhi_number) AS 'IHN ".
    , ce.ethnicity, to_char (ce.date_joined) as ce.discharge_conditions, ce.participation_conditions, ce.case_manager_name, 'DATE_JOINED '.
    THE DEFENDANT def INNER JOIN current_engagement this
    ON def.def_id = ce.defendant_id
    UNION ALL

    Select the < b > 2. Phase number < /b > ', ' < b > Date started < /b > "," < b > Date completed < /b > ', '< /b > < b > Notes', null
    null, null, null, null, null
    of the double
    UNION ALL
    SELECT TO_CHAR (NVL (ph.phase_number, 'No. Phase found')), TO_CHAR (ph.date_started, ' DD/MM/YYYY'), TO_CHAR (ph.date_finished, ' DD/MM/YYYY'), ph.notes, null
    null, null, null, null, null
    FROM phase_membership INNER JOIN current_engagement ph this
    ON ph.mpm_eng_id = ce.engagement_id
    WHERE the to_date(ph.date_started,'DD/MM/YYYY') < = TO_DATE(sysdate,'DD/MM/YYYY')
    AND (ph.date_finished IS NULL
    TO_DATE(ph.date_finished,_'DD/MM/YYYY') or > = TO_DATE(sysdate,'DD/MM/YYYY'))
    AND ph.active = 1
    UNION ALL
    -Selects more
    -then select it last is to list all documents with download links
    Select the < b > 6. "The document Date < /b > ', 'Type of paper < b > < /b >', 'Description of < b > < /b >', '< b > download < /b > '.
    null, null, null, null, null, null
    of the double

    UNION ALL
    SELECT TO_CHAR (doc.date_received), doc.document_type, doc.comments, TO_CHAR (dbms_lob.getlength (doc.) UPLOADED_FILE))
    null, null, null, null, null, null
    DOCUMENT doc INNER JOIN current_engagement this
    ON doc.d_eng_id = ce.engagement_id
    WHERE doc.active = 1

    This report is generated correctly.
    But the requirement also ask to post a download link. And because it's the Union chooses, selects all next must be same as the types of data in column select it first.
    In this case, it must be CHARACTER. otherwise, it will generate the error like below
    ORA-01790: expression must have same type of data, matching expression


    Then I followed the step of GET_BLOB_FILE_SRC function of
    http://docs.Oracle.com/CD/E14373_01/apirefs.32/e13369/apex_util.htm#AEAPI129
    I turn my last selection in
    SELECT TO_CHAR (doc.date_received), doc.document_type, doc.comments,
    CASE WHEN NVL (dbms_lob.getlength (doc.) (UPLOADED_FILE), 0) = 0
    THEN NULL
    ON THE OTHER
    "Download".
    END
    null, null, null, null, null, null
    DOCUMENT doc INNER JOIN current_engagement this
    ON doc.d_eng_id = ce.engagement_id
    WHERE doc.active = 1

    Which is the result within the Group
    http://app_address_here/f?p=208:48:1303335952329758:

    whereas if I use the interactive report link is
    http://app_address_here/apex_util.get_blob?s=1303335952329758 & a = 208 & c = 66645817090447568 & p = 48 & 12 = K1 & K2 = & CK = A18D20D407435BD649EA3399EC27BC00 & RT = CR
    and it works well.

    I search and know that get_blob_file_source a link to the source of the column / field name located in the first parameter.
    If I put the UPLOADED_FILE column of the DOCUMENT table in the source of the REF. column
    But it still does not show anything close to the correct one which is generated by interactive report.

    If anyone has any ideas, please help. If I need to manually write using get_blob, please give me an example.
    I have urgent need of this report.
    The version of the SUMMIT that we use is Application Express 4.0.2.00.07
    And I can't ask an update 4.2 until the end of next year.

    Help, please.
    Thank you very much in advance.
    Ann.

    Hello Ann,.
    Here you can view and download the example:

    http://Apex.Oracle.com/pls/Apex/f?p=63066:1

    Please let me know if you need to access the workspace.

    Tip, please read the FAQ section. had you put your thread in a better format, you would have got a quicker response :)

    Kind regards
    Fateh

  • How to keep the folder tree with Save as

    Hi all

    An issue involving PS CS6 and Win7/64...

    We just finished a 3 day of shooting for 600 people conference, which involves many workshops.

    Our all finished TIFFs folder tree is organized by date, then by theme and get out.  Overall there are 75 files in the tree view, with nearly 700 TIFFs.

    The customer wants the two hi-res and lo-res jpg (not TIFF).

    Got a drop very simple that will convert a TIFF file to JPG, but works only on a particular file and exits in a generic folder (so I need to copy these back).

    Is there a way to create a droplet that will be

    a browse of the source and convert the TIFFs of each file in JPG, as well as

    (b) have PS create a corresponding tree drop jpg files into the corresponding folders?

    I know there is an option to include all files when you perform the conversion, but (b) is the critical element so I don't have to do this in a folder by folder basis.

    Thank you very much!

    Jerry

    Unless you're writing a custom script, no you can't use a droplet

    There are a couple of processors that support the creation of a folder tree.

    Pro image processor
    http://russellbrown.com/scripts.html

    Image converter
    http://www.scriptsrus.TalkTalk.NET/pp.htm

  • HP Officejet Pro 8610: How can I get a report with the total number of pages printed on my HP Officejet Pro 8610?

    The number of pages that print is so critical to a choice to use the "HP Instant ink Plan' or not, how can I find the total number of pages that I printed on my brand new (installed 2 days ago) 8610?  And if I can, there are a total of 'resettable' or working capital?  Don't see anything in the user guide and a search gives nothing usable on this blog.

    Wireless printer installed on an old PC with Windows XP SP3.  I also of course install with cable network but so far it works well on my home network without a network cable.  Is there any operating system, I also have a laptop Lenovo Vista on which I can install this printer.

    Please do not answer I can find total by counting the number of pieces of paper that I have.  Surely the inner workings of this beautiful machine must have the requested data as well as HP can say my consumption if I select the monthly plan of ink!

    This 8610 was a good buy (net $89,00 after the resumption of my six years, Deskjet J36xx) at Office Depot/Max who has of course influenced my decision to purchase.  So far, I am very happy with the print quality and speed, have not yet tried the scanner and will probably never use the fax machine since I have no land line phone.

    Thank you

    Harry

    Hello

    Article #2 of the report printer Ststus will tell you. Please try:

    Printer status report

    The printer status report to view current information about the printer and the status of the ink cartridges. Also use the report to State printer for you help to solve the problems associated with the printer.

    The printer status report contains also a log of recent events.

    If you need to call HP, it is often useful to print the printer status report before calling.

    To print the printer status report

    1. in the Control Panel printer display, press and drag your finger on the screen and then press Setup.

    2. press on printing reports and then tap Printer Status Report.

    Kind regards.

  • How to set multiple values clustered with local variable?

    Hi all

    Okay, I made my way through Labview for everyone and have some basic concepts down. I can see with a cluster, if acting directly on it, you can ungroup, change values, rebundle, etc..

    I try something a little more complex... and just do not know how to start on this.

    I have a menu menu ring set. I created this with a typedef, with 4 values.  I used this typedef 7 times, more a few LED bool, in a cluster. I made this cluster a typedef.

    Therefore, in my main vi, I started designing, I put an example posted here... and inside, I have two instantiations of the typedef cluster commands selection of left and right.

    I dropped in this vi, a copy of the menu ring typedef (same typedef as in clusters, values) called reset all tubes.

    Now, I am trying to understand how, with an event to change the value to 'reset all the tubes'... that I can start with the left switch and change all tubes (here is the menu ring selector) to the same value as what has been selected with the ring of menu 'Reset all the tubes'.

    I created a local variable for the selector on the left. It is configured to read values. (I'll be doing the same thing with the right too, but just to start with the left).

    In the examples I've seen where access to a cluster, you could ungroup the cluster... browse and change the values... maybe pull out all the "hits" in a table and go through to update the values.  And when you group or ungroup the bunch... you can see the values, etc., when you stretch on the block diagram.

    With the local variable... I do not see to 'stretch' it as I expected... so I can access the values "tubes"... and all at the value of the 'reset all the tubes' ring menu value.

    Someone can put me on the path on the best way to do... or is it a component structure I'm missing here?  Am that I on the right track everything first here?

    It seems pretty basic to me, but miss me just something here on the way to start...

    Thank you in advance,

    Cayenne

    You can't do this with a for loop of how the Department is structured, but why make it so complicated?  Just group the new value in the cluster, as shown below:

    If you do not want to use a loop for example, consider the restructuring of your cluster.  Group ring and a Boolean value in a cluster, and then unmold 7 of those in the cluster of selector.  Then you can use 'cluster to the table' and 'picture of cluster' for all elements of the external cluster will be of the same type.

    Also, be careful when using rings in the form of type definitions.  You probably want to use an enumeration instead.  The elements of a ring do not update the when you update the type definition because they are considered to be cosmetics. the elements of a definition of enumeration type update, because the elements of an enumeration are considered as part of the data type.

  • How can I reinstall Photoshop CS with my serial number of product only?

    Hello! Please advise me how to reinstall my Photoshop CS software. My house burned down and I lost everything. I got the original box and the CD tutorial training with serial number thereon to my parents at home, but the installation cd was with me and was destroyed in the fire. I love this product and I am lost without her. I am disabled with limited income and create beautiful photos of my grandbabies is my passion. I appreciate any help you could offer me. Thank you!  Cindy

    For CS to CS2 activation servers have been shut down, but Adobe offers a free download of CS2 for those who had previous programs. You can upgrade to CS2. Follow the instructions on this link:

    Error: "Activation Server is not available. CS2, Acrobat 7, pass a hearing 3

Maybe you are looking for