Its possible to create a grid like this?!?!?

hello to all, im new in Mii and i have a sql statement to populate the table but i want to know if it is possible to create a grid like the image in this link :
http://img17.imageshack.us/img17/3021/gridx.jpg
and then put the information that comes from the sql in the blank spaces
regards and thanks for the help in advance
Mário

hello, correct me if i say something wrong of yours steps:
            1) Create a Doc action block with three columns like: Shift,Quantity,Scrap......
                   and then i put another field Total....correct?!?! or not?
            2) Add SQLQuery Action block and configure it with already created SQL Query.
                   the result of my SQLQuery comes like this...
                   Yield                 Scrap
                   5000                 1100
                    this is the result of this query:
                   select sum(max(yieldqty)), sum(max(scrapqty))
                   from z_event
                   where linenumber= '[Param.1]' and shiftnumber = '[Param.2]'
                    and (eventtimestamp >= to_date('[Param.3] 00:00:00', 'dd.mm.YYYY hh24:mi:ss'))
                    and (eventtimestamp <= to_date('[Param.4]', 'dd.mm.YYYY hh24:mi:ss'))
                    group by ordernumber
                   its better that the shiftnumber comes to???if yes the result comes like this:
                     Yield         Scrap     ShiftNumber
                      3720          35                  1
                     30878         117                  1 
            3) Put a repeater action block below that and configre with XPATH.
            4)Add a Row action block,configure with Doc.output and map the each column from the repeater.
            5) Also add other row with the total and take the sum of the quantity and scrap.
            how to make the SUM?!?! There isnt SUM Function...
             like this Total = Total + Repeater_0.Output{/Row/MAX_YIELDQTY_}    ???
regards and sorry for all this questions
matinha

Similar Messages

  • Creating a grid-like layout

    Previously, I posted a problem with trying to wrap tables within tables, referencing this code.
    <!-- ... -->
    <tableLayout>
      <contents>
        <rowLayout>
          <contents>
            <bc4j:viewObjectScope name="CustomArrayDataGraphsView">
              <bc4j:rowStamp>
                <cellFormat>
                  <contents>
                    <tableLayout>
                      <contents>
                        <rowLayout>
                          <contents>
                            <link
                                  styleClass="OraHeaderSub"
                                  targetFrame="display">
                              <boundAttribute
                                              name="text">
                                <bc4j:attrValue name="AnalysisParam"/>
                              </boundAttribute>
                              <boundAttribute
                                              name="destination">
                                <bc4j:ordProperty name="url"/>
                              </boundAttribute>
                              <boundAttribute
                                              name="shortDesc">
                                <bc4j:attrValue name="Description"/>
                              </boundAttribute>
                            </link>
                          </contents>
                        </rowLayout>
                        <rowLayout>
                          <contents>
                            <bc4j:attrScope name="Graph">
                              <contents>
                                <html:object
                                             width="300"
                                             height="200">
                                  <boundAttribute
                                                  name="data">
                                    <bc4j:ordProperty name="url"/>
                                  </boundAttribute>
                                  <boundAttribute
                                                  name="type">
                                    <bc4j:ordProperty name="contentType"/>
                                  </boundAttribute>
                                  <rawText>
                                    <boundAttribute
                                                    name="text">
                                      <bc4j:attrValue name="Description"/>
                                    </boundAttribute>
                                  </rawText>
                                </html:object>
                              </contents>
                            </bc4j:attrScope>                                                                                                                                  
                          </contents>
                        </rowLayout>
                      </contents>
                    </tableLayout>
                  </contents>
                </cellFormat>
              </bc4j:rowStamp>
            </bc4j:viewObjectScope>
          </contents>
        </rowLayout>
      </contents>
    </tableLayout>
    <!-- ... -->The above code renders a single row of elements which are tables themselves. Using the <cellFormat> inside the <viewObjectScope> avoids the "new line" rendering of the internal tables of title/images. However, the internal tables do not wrap.
    This is an unfortunate side-effect of html tables. So, I need to basically make a sizeable grid (similarly to a GridLayout for all you AWT/Swing folks out there) layout that can render a specified number of columns per table, creating new rows as necessary. Something like...
    <gridLayout columns="5">
      <contents>
        <bc4j:viewObjectScope                                 name="CustomArrayDataGraphsView">
          <bc4j:rowStamp>
            <cellFormat>
              <contents>
                <!-- render something per row -->
              </contents>
            </cellFormat>
          </bc4j:rowStamp>
        </bc4j:viewObjectScope>
      </contents>
    </gridLayout>This custom layout will render a maximum of five columns of data per table row, where each column is actually a row of information from the view object.
    Is this possible using UIX components or should I start coding?
    Thanks,
    joe

    Also, displaying a bunch of "inline"ed tables would be really useful. I can't seem to do this from within a <header>, <hideShowHeader> tag, even with explicitly coding:
      <bc4j:viewObjectScope name="CustomArrayDataGraphsView">
        <bc4j:rowStamp>
          <bc4j:attrScope name="Graph">
            <contents>
                  <html:table style="display: inline">
                    <html:tr>
                      <html:td>
                        <styledText text="Title"/>
                      </html:td>
                    </html:tr>
                    <html:tr>
                      <html:td>
                        <styledText text="Image"/>
                      </html:td>
                    </html:tr>
                  </html:table>
    <!--
                  <tableLayout styleClass="display: inline" width="300">
                    <contents>
                      <rowLayout>
                        <contents>
                          <styledText text="Title"/>
                        </contents>
                      </rowLayout>
                      <rowLayout>
                        <contents>
                          <styledText text="Image"/>
                        </contents>
                      </rowLayout>
                    </contents>
                  </tableLayout>
            </contents>
          </bc4j:attrScope>
        </bc4j:rowStamp>
      <!-- render a "No Records Found" message -->
        <contents>
          <styledText
                      text="No Records Found"
                      styleClass="OraErrorText">
            <boundAttribute
                            name="rendered">
              <if>
                <comparison
                            type="lessThan">
                  <bc4j:viewObjectProperty name="estimatedRowCount"/>
                  <fixed
                         javaType="int">1</fixed>
                </comparison>
                <fixed
                       javaType="boolean">true</fixed>
                <fixed
                       javaType="boolean">false</fixed>
              </if>
            </boundAttribute>
          </styledText>
        </contents>
      </bc4j:viewObjectScope>Apparently, the header tags do something which effects the display of "inline"ed elements, like the tables in the previous example. Any suggestions? I know taking out of the header works great, but, the <hideShowHeader> functionality is particularly necessary.
    I have a time constraint on this... gotta be done by today, so if you have any other later minute suggestions besides creating a grid-like layout, let me know!
    Thanks,
    Joe

  • Its possible to Create Bussiness Service for IDOC Communication Channel

    HI FRNDS,
    My scenario File to Idoc,
      When we will go for business Service , Its possible to create Business Service SAP R/3, its a Good advice.
    To which Adapters we will use business Service, business System
    Regards,
    raj

    Hi,
    This is the basic difference between Business Service and Business System. This will help you in concluding why you use them and hence you can deduce your answer....
    Business System
    Business systems are logical systems that function as senders or receivers within the SAP Exchange Infrastructure. You configure business systems in the SAP System Landscape Directory (SLD). A business system is always associated with a technical system (here: SAP Web AS ABAP system).
    Business Service
    Using a business service, you can define the technical or business subunits of the companies involved and then assign them the relevant interfaces.
    You usually use business services when configuring cross-company processes. In this case, you only make your interfaces known to the business partners involved and either do not make any details about your own system landscape available, or only specific details.
    Regards
    Arpil
    Reward points for the useful answer

  • How can i create a website like this?

    Hello Adobe Community
    I've had this idea in my head for a while, but i cannot think of how to create it.
    I think of creating a website with a very nice layout where you can purchase and submit your own ebooks to sell, and they need to be approved by an admin before it shows up on the website.
    I have been thinking about this for some time but i don't have a clue on how to create a website like this and it must take a very long time.http://puu.sh/5Ki7Q.png
    My idea: You can hover over the ebooks to get more information about them, you can see star rating and feedbacks / comments under the ebooks.
    I need help with getting started on the right track, i don't know very much about Dreamweaver, but i am starting to get good at it. I know HTML and a little CSS.
    I would really appreciate any help i can get.

    Unless you have very strong coding skills with PHP & MySql,  I think you could do most of this with  WordPress and  WordPress plugins for e-commerce, star ratings, lightbox viewer, reviews, etc...
    Nancy O.

  • How do I create an image like this?

    Completely new to PS. How would I create an image like this with text? https://www.facebook.com/photo.php?fbid=10151570901245020&set=pb.50687255019.-2207520000.1 366989903.&type=3&theater
    A link to a tutorial would be helpful.
    Thanks!

    Hi there,
    Are you referring to the text, the color effect, or both?
    Adding type is very easy - just grab the Type Tool from the tool bar. The article linked above provides some great tips for editing type in Photoshop.
    As is the case with many "how to's" for Photoshop, there are several ways to acheive the colorized effect like the one applied to image you linked to. One method is to use Adjustment Layers, which I have outlined below.
    1. With your image layer active (it will be highlighted in blue in your Layers panel, as shown below), create a selection of the area you'd like to colorize. I'm using the Polygonal Lasso Tool to create a diagonal selection - to do so, I held down the Shift key on my keyboard as a created my diagonal lines. This might take a bit of practice, but you'll get the hang of it quickly.
    2. Then, in your Adjustments panel (if you don't see it, go to Window > Adjustments), click on the Curves adjustment layer, as highlighted below. Now you can play around with the curves to get the effect you'd like. (Here's a quick guide on using the Curve tool)
    3. To select the other areas of your image, command (Mac) / control (PC) click on the adjustment layer thumbnail (highlighted below). Then, go to Select > Inverse.
    4. Now we want to deselect part of our selection. Grab the Quick Selection Tool from the toolbar and set it to Subract from selection. Then, simply drag the selection brush over the area you want to deselect. In my case, I only want to have the upper-left corner of my image selected.
    5. After you have your selection, click on the image layer and add a Curves adjustment layer like before.
    6. Repeat steps 3-5 for the other corner of your image and you should end up with something like this:
    The nice thing about using adjustment layers is that you can always change them - just double click on the Adjustment layer thumbnail (highlighted in step 3).
    Alternatively, you can select areas of your image and fill the selections with flat colors on separate layers. You can then go in a change the Blend Mode and Opacity for each layer.
    Feel free to reply with any questions!
    Kendall

  • Can we create a table like this

    Hi experts plz help me in this
    how to create a table like this
    Class     Number   count     Amount
    First          A     1     50
              2     70
              3     60
    Second        B     1     50
              2     200
              3     9
    Thanks
    sush

    Hi
    You can create a table like this, you can use the table column property to merge the first two column for common value.
    'Grouping value' property to first column; assign the context attribute.
    Even you can do it for second column
    output will be
    First  A  1  50
             C  2  30
    Sec   B  1  20
             C  2  40

  • I used to make booklets on Publisher that would be printed on 11X17 folded and stapled down middle.  Can someone please tell me best program to create a document like this in on a mac and how to print it on 11X17?

    I used to make booklets on Publisher that would be printed on 11X17 then be folded and stapled down middle.  Can someone please tell me best program to create a document like this in on a mac and how to print it on 11X17?

    Try iStudio Publisher

  • Its possible to create a virtual Webcam

    its possible to create a virtual Webcam.
    I want to capture desktop screen and sound and the output as webcam.
    It is because i want to share desktop screen and sound through flash and red5.
    Any one can tell me is it possible?
    If yes, can get me some tips on how to?
    I search in google with [ java+simulate webcam] [java+virtual webcam] but the result is not usful to me.

    You can easily get a screen capture using Robot.

  • How to create a report like this.

    Userid       logintime                                                    logouttime
    367     2008-12-22 08:58:09.000          2008-12-22 10:18:02.000     
    369     2008-12-22 08:52:04.000          2008-12-22 10:18:13.000     
    371     2008-12-22 08:58:27.000          2008-12-22 10:36:24.000     
    374     2008-12-22 08:01:26.000          2008-12-22 10:17:54.000     
    375     2008-12-22 08:56:14.000          2008-12-22 10:18:16.000     
    376     2008-12-22 08:57:38.000          2008-12-22 10:17:57.000     
    463     2008-12-22 12:05:13.000          2008-12-22 13:01:39.000     
    450     2008-12-22 12:01:31.000          2008-12-22 12:14:42.000     
    from this data....i want to find how many people online each hour.
    Time      Login
    8AM         0
    9AM     5
    10AM     5
    11AM     0
    12PM     2
    01PM     0
    02PM     0
    03PM     0
    04PM     0
    05PM     0

    I don't think..both person's solution will work in this case.
    My user table data is like this.
    Userid          logintime                                  logouttime
    367              2008-12-22 08:58:09.000           2008-12-22 10:18:02.000
    369              2008-12-22 08:52:04.000           2008-12-22 10:18:13.000
    371              2008-12-22 08:58:27.000           2008-12-22 10:36:24.000
    374              2008-12-22 08:01:26.000           2008-12-22 10:17:54.000
    375              2008-12-22 08:56:14.000           2008-12-22 10:18:16.000
    376              2008-12-22 08:57:38.000           2008-12-22 10:17:57.000
    463              2008-12-22 12:05:13.000           2008-12-22 13:01:39.000
    450              2008-12-22 12:01:31.000           2008-12-22 12:14:42.000
    from this data....i want to find how many people online each hour using a report.
    Time              Login
    8AM              0
    9AM              5
    10AM            5
    11AM            0
    12PM            2
    01PM            0
    02PM            0
    03PM            0
    04PM            0
    05PM            0
    i think this is not possible using report.
    maybe i need to create a view in db from above table first and out of view should be report data...then just use report to display.
    is there a better and easy solution than above?
    nobody ever tried a report like this?.
    we need group by time function in crstal...each hour, each 30 mins, each 15 mins etc...more time features..

  • Anyway to create a transitions like this sample?

    Hello ,I'm just curious about a transition I had saw in a trailor .I have searched internet but cant find a way to do something like this.I know its a professional work,but I'm just curios about is there a simple way to create a transition like that.
    You can see the transition in about the 60secs of this video.(video is rolling over into other video ) Anyway thanks

    You can probably do it by using separate video tracks and keyframing the rotation and opacity.

  • Help: How to create a query like this?

    I am working on a report and I am facing on a question like this:
    TABLE TEST has two columns A and B
    A B
    2 INFO21
    2 INFO22
    3 INFO31
    3 INFO32
    3 INFO33
    I'd like to create a query which will return
    A INFO
    2 INFO21, INFO22
    3 INFO31, INFO32, INFO33
    Please help.
    Thank you in advance
    Jimmy

    A lot of pretty fine examples here:
    http://www.oracle-base.com/articles/10g/StringAggregationTechniques.php
    Rgds.

  • Can I create a calculator like this with jQuery alone?

    My knowledge of Javascript is negligible. I was wondering if a calculator like this could be created with jQuery, or if it would require knowledge of writing Javascript?
    http://www.sonar6.com/pricing/

    Start with jQuery Calculation plugin.   Tweak values as required.
    http://www.pengoworks.com/workshop/jquery/calculation/calculation.plugin.htm
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/
    http://twitter.com/altweb
    http://alt-web.blogspot.com/

  • How to implement the grid like this?

    Dear All:
    I have this grid view as following the sketch :
    |DS1|DS2|DS3|DS4|
    |------|------|------|------|
    |sss |sss |sss |sss |
    |sss |sss | sss |sss|
    | -----|------|------|------|
    |DS5|DS6|DS7|DS8|
    |------|------|------|------|
    |sss |sss |sss |sss |
    |sss | sss|sss| sss |
    Note:
    1. the border is solid line and "sss" represents white space.
    2. might have multiple rows or columns like this pattern.
    3. smaller cells are labels and bigger cells are filled with a few different colors
    4. when hovering mouse on each bigger cell, the tool tip text will be shown.
    5. sizes of the cells are fixed and not changed when the container is resized.
    Any clue for implementation? I appreciate all for reply.
    Johnosn

    Use a JTable. If your data is algorithmically derived, consider implementing your own TableModel. You may need to implement your own TableCellRenderer.

  • How do I create a movie like this one?

    I have OS X 10.6.1. I'd like to create a QuickTime movie like this http://www.happytapper.com/appsmovie.html and embed it into a webpage the same way. Here are a few questions I have about doing that:
    - Do I need Quicktime Pro? I only want to capture the iPhone simulator and the free version seems to be limited to full screen capture.
    - How do you get a completely black background like that?
    - How do you remove the mouse arrow out of the movie (all the clicking around)? The simulator will definitely show that.
    - Should I cross post this question to the developer forum?

    Make scatter brush out of a row of circles
    Apply to a curved path
    expand appearance
    apply color

  • Help - How do I create a template like this?

    Hi there,
    Can anyone tell me how to create a template website like this
    where the text and images are placed into odd shapes as opposed to
    boring 'awl AP DIVS.
    Many thanks for any help!
    Here's the website I'm talking about:
    www.agaveny.com

    thanks a mill but can you expand on that? how do I go about
    recreating a template like that? how can you have different lengths
    and widths for each rectangle? I don't get it - HELP!

Maybe you are looking for

  • Posting to Expense G/L through Delivery note

    Guys/Gals, I need to give some goods free and the Cost of these goods should be posted to expense GL which has Cost center as mandatory. Now in OBYC for that mvt type I assigned this GL, while making PGI it is giving me an error "Account 12345678 nee

  • My iPhoto library is either in use by another application or has become unreadable - what do I do?

    My iPhoto will not open. I get this message My iPhoto library is either in use by another application or has become unreadable. I have tried holing down the option & command keys when I open it and it gives me options to rebuild thumbnails and I get

  • Bluetooth USB Dongle issues

    I'm using a plantronics usb bluetooth dongle and so far with no luck.  I have both the dbus and bluetooth daemons running. lsusb shows the device: Bus 002 Device 002: ID 047f:4254 Plantronics, Inc. BUA-100 Bluetooth Adapter but hcitool dev shows no d

  • Is it possible to print a book using an A4 printer?

    Hi, are there some settings I can change in iPhoto that will allow me to use A4 paper size? Thank you!

  • DQ Address Cleanse reference

    Hi all, I'm looking for a document that lists all of the available DQ Address Cleanse reference files and the countries supported by each reference file. I need this info because I have to submit it to a client before they decide what they need to pu