Create Word Doc from list with multiple items (repeat region)
I have a document library that creates an invoice document based on another list. The list has multiple items that where purchased and need to appear on the invoice. It is only showing the first purchase item and not the others. How do I get all the items
to display (repeating region)?
Example:
Invoice #
Salesperson
Items Purchased
item 1
item 2
etc...
Thanks!
I've tried these examples but it only grabs the first item and places it in the word document. I need it to grab all the items.
Example:
Invoice #
Salesperson
Items Purchased
item 1
item 2
etc...
Similar Messages
-
[svn:fx-trunk] 10943: Fix to dragging from List with multiple-selection
Revision: 10943
Author: [email protected]
Date: 2009-10-08 15:46:27 -0700 (Thu, 08 Oct 2009)
Log Message:
Fix to dragging from List with multiple-selection
- The fix is to postpone the selection commit until we make sure the user has not started a drag gesture.
- Exclude the dragEnabled, dropEnabled, dragMoveEnabled properties for DropDownList
QE notes: None
Doc notes: None
Bugs: None
Reviewer: Deepa
Tests run: checkintests, mustella List, DropDownList
Is noteworthy for integration: No
Modified Paths:
flex/sdk/trunk/frameworks/projects/spark/src/spark/components/DropDownList.as
flex/sdk/trunk/frameworks/projects/spark/src/spark/components/List.as -
How to select value from list with multiple selections ?
HI,
i have a list with multiple selections where i show email address retrieved from database.
what i want to do is to send the selected email address to the invoiceedit.jsp.
please look at the following code which gives you the better idea.
<td class='smalltext'><select name="email" size="3" multiple="multiple">
<%
Connection conn = null;
Statement stmt = null;
Statement stmt_contactperson = null;
Statement stmt_address = null;
try{
conn = getREConnection();
stmt = conn.createStatement();
ResultSet rs = null;
rs = stmt.executeQuery("SELECT PROPERTYID, VALUE FROM PROPERTIES WHERE ENTITYID="+ g_strGroupID+" AND NAME = 'invoice_default_email'");
int numofrows = 0;
while(rs.next())
%>
<option value="<%= rs.getString("VALUE") %>" selected="selected"> <%= rs.getString("VALUE") %> </option>
<%
}//end of while
%>
</select>
<a href="invoiceedit.jsp?entityid=<%=g_strGroupID%>&add=1"><font color="#000000">Add</font></a>
<a href="invoiceedit.jsp?entityid=<%=g_strGroupID%>&email_to="><font color="#000000"> Edit</font></a> </td>thanksUse a form button instead of a link so that you can send it as a request parameter to the server. In the server side just use HttpServletRequest#getParameterValues() to obtain all values for the given parameter name. If you really need a link rather than a button, then use Javascript to submit the form on click of the link.
That said, your design is bad. Java code belongs in Java classes, not in JSP files. Database access logic belongs in a DAO class. Business and controlling logic belongs in a Servlet class. Only presentation logic belongs in the JSP file. Avoid scriptlets as much as possible and use JSP EL and/or JSTL instead. -
How do I create a drop down menu with multiple items in Adobe Acrobat 9?
I am trying to create a drop down menu with four items within a field box. When I try to do this
the font is too big and it just doesn't fit.You can use panel widget to create manual menu where set to show target on rollover.
Something like this :
http://muse.adobe.com/exchange-library/menu-vertical-accordion-widget-1
http://muse.adobe.com/exchange-library/tiptop-navigation-menu
Thanks,
Sanjit -
Creating Select List with multiple columns
I want to create a select list with multiple columns. I followed the demo application model described in the by Denes Kubicek (Currently my reference for APEX !!)
The code is as follows:
CREATE OR REPLACE FUNCTION getcrops(p_cropid IN NUMBER)
RETURN VARCHAR2
IS
v_cropid VARCHAR2 (400);
v_fcode VARCHAR2 (400);
v_product VARCHAR2 (400);
v_var VARCHAR2 (400);
v_fname VARCHAR2 (400);
v_acres VARCHAR2 (400);
v_style_start VARCHAR2 (400);
v_style_end VARCHAR2 (400);
v_return VARCHAR2 (400);
BEGIN
FOR c IN (select "CROP"."CROPID" as "CROP ID",
"CROP"."FIELDCODE" as "FIELD CODE",
"CARROTPRODUCTLIST"."CARROTPRODUCTNAME" as "PRODUCT",
"VARIETYLIST"."VARIETYNAME" as "VARIETY",
"FIELD"."FIELDNAME" as "FIELD NAME",
"CROP"."SIZEINACRES" as "ACRES"
from "FIELD" "FIELD",
"CARROTPRODUCTLIST" "CARROTPRODUCTLIST",
"VARIETYLIST" "VARIETYLIST",
"CROP" "CROP"
where "CROP"."CARROTPRODUCTTYPE"="CARROTPRODUCTLIST"."CARROTPRODUCTID"
and "CROP"."VARIETYID"="VARIETYLIST"."VARIETYLISTID"
and "CROP"."FIELDID"="FIELD"."FIELDID")
LOOP
v_cropid := TO_CHAR (c.'CROP ID', 'FML999G999G999G999G990');
v_fcode := c.'FIELD CODE';
v_product := c.'PRODUCT';
v_var := c.'VARIETY';
v_fname :=c.'FIELD NAME';
v_acres :=c.'ACRES';
FOR i IN 1 .. 12 - LENGTH (c."CROP ID")
LOOP
v_cropid := v_cropid || ' ';
END LOOP;
FOR i IN 1 .. 12 - LENGTH (c.'FIELD CODE')
LOOP
v_fcode := v_fcode || ' ';
END LOOP;
FOR i IN 1 .. 12 - LENGTH (c.'PRODUCT')
LOOP
v_product := v_product || ' ';
END LOOP;
FOR i IN 1 .. 12 - LENGTH (c.'VARIETY')
LOOP
v_var := v_var || ' ';
END LOOP;
FOR i IN 1 .. 12 - LENGTH (c.'FIELD NAME')
LOOP
v_fname := v_fname || ' ';
END LOOP;
FOR i IN 1 .. 12 - LENGTH (c.'ACRES')
LOOP
v_acres := v_acres || ' ';
END LOOP;
v_return := v_cropid || v_fcode || v_product || v_var || v_fname || v_acres;
END LOOP;
RETURN v_return;
END;
I created this anonymous Pl/SQL function at a application level ..Then I followed up to create a select list with a function inside. However I could not create select list with the command suggested in the demo which is
select getcrops(cropid) d, cropid r from crop;
APEX (2.1) returns a error message. What am I missing ? Should the function be called from somewhere else after creating a regular select list..? Where the functions (Pl/SQL) should be ideally stored for application level access..? and for across application level access ? How can I check the function works good. Help is appreciated.Still really one column.
If they need to be independent then you've got to have three selection lists.
% -
How to create Item Codes with multiple Item Description
Hi,
for one of my client, we need to create Item Codes with multiple Item Description.
e.g.,
Item Code - M00285
Item Description 1 - Blue Paint
Item Description 2 - Red Paint
Is that possible in SAP Business One? If "Yes" kindly provide a solution. Else recommend an alternative method.
Regards,
Ammheya U. NaaikAmmheya,
I just wanted to add that there is an Add-On that handles "Style, Color, Size" situations like yours.
It allows you to define a "master" item, (Paint, for example) and then setup the various styles, colors and sizes it comes in.
This creates sub-items for each with the master in the ItemCode (Paint-Blue, Paint-Red, etc)
It's called MatrixOne from Navigator. You could find it on the partner portal with other Add-Ons.
Hope thathelps,
Brad Windecker -
How do I create an unordered list with three items and link to id's
How do I create an ordered list with three items and linl to id's on my page
Thanks, I guess what I was really asking, Is there a n option in the insert menu or somewhere where Dreamweaver does it for you.
I am not clear on what you are wanting DW to do for you? Is it that you want it to insert a three item unordered list? No - there's no such function. You would need to click in Design view where you want the list to go, click on the bulleted list icon on the Property inspector, and then enter the three items separated by carriage returns. Then you'd have to link each item specifically.
To enter the named anchors to element ID values, CS5 has no way to do this. You'd have to enter those links manually. -
CPU Usage - Generating Word Docs from RoboHelp X5
If you have generated a fair-sized document through RoboHelp,
and you are having problems with your CPU usage pegging out around
100%, bouncing up and down between 50% and 100%, the page
repainting as you scroll through the document, etc., this solution
is for you!
I am using RoboHelp X5 to generate large Word documents
(2003). This solution worked perfect for me. The problem is with
document corruption, apparently. After you have generated your Word
document and opened the document, be sure to display the paragraph
marks. You will probably see the “]” mark at or near
the end of the document. Select your entire document,
except for the final paragraph mark, making sure to exclude
this symbol, and copy everything else. Open a blank Word document
and paste this content into the new document.
You will now need to reattach your template (.dot) file for
the generated document through Tools/Templates and Addins:
1. Locate the applicable document template and attach it
(it's typically in the base generated project directory in RoboHelp
- .dot file). Click the OK button to save.
2. Return to Tools/Templates and Addins. Click the Organizer
button to display the Styles tab.
3. In the right-hand list (In Normal.dot), Close the
Normal.dot file
4. Open the same RoboHelp .dot template as you selected
previously.
4. Select all of the styles once they display in the right
pane and click the <<Copy button to copy them all over to the
document template. Confirm that you want to replace all styles in
the document.
5. Close the menu using the Close button. The dialog closes
and your styles should all be updated, if your styles were set up
appropriately via template and style sheet settings.
You may need to also adjust the Page Setup page width
settings, if necessary.
Good luck!
Liz0259Peter:
Thank you for responding to me, as I may not have been clear
enough, and I apologize for that. I was trying to keep it short and
sweet. This problem started when I began using RoboHelp X5 this
year.
To clarify...
- I'm not concerned with CPU usage during document
generation, that is to be expected. The document will need to be
generated originally from a RoboHelp WebHelp project. This does not
change. The problem takes place AFTER you generate a large document
and then open it in MS Word.
- My documents are large, 140-500 pages. It took forever to
scroll through the Word document (RoboHelp-generated), the screen
kept repainting, and the CPU usage stuck fluctuating frequently
between 50% and 100%, not allowing me to do much else. Editing
those documents was a nightmare. Even if I shut down all other
programs.
- Something translates to the Word doc from RoboHelp that
maxes out the CPU usage, and I can't locate the exact culprit.
However, it appears to be tied to the faded "]" symbol at the end
of the document (there is a "[" at the beginning, too). So you have
to omit more than the last paragraph mark; that symbol also needs
to be left out.
- The "corruption" information came from Microsoft; it could
be something other than that, but this is what they said. I found
nothing that would help on the RoboHelp forum, so I went to
Microsoft to see if they had a solution. Apparently, this is a
common problem with Word 2003, but the articles didn't mention
RoboHelp in the issues. I tried this solution, adding the omission
of the "[" symbol, with complete success.
- When you copy the document without the last paragraph mark,
it will still include the headers/footers when you paste it
(although you may need to adjust them slightly). This is not the
problem.
- When a document is generated, you can select to use a MS
Word template, which I do. I fully use the style sheets in
RoboHelp, and they match my Word styles (template) to keep things
in sync. Actually, this Word template remains in the project; it is
not moved to the folder that holds your Normal.dot file. So the
link to the template in RoboHelp from your document does in fact
remain intact. However, you can copy that template to another
folder outside the project and link it from there, but it won't
matter.
- The Word template (.dot) needs to be reapplied in order to
restore your styles, as the Normal.dot styles are applied when you
copy the content over to a new document. It doesn't matter where
you store the template. I reapply this SAME template after I copy
and paste the content into the new document. This is not the cause
of the problem. Note: The application of a template is not the same
thing as going back to the master copy. This is still a fresh
document, with the content pasted in and the same template applied.
- I have tried deleting the local copy and starting over. I
have moved the file to another location. I have renamed or created
a 'save-as' copy of the file. I tried editing out any extra
un-necessary merge-tags in Word, looked for macros, etc. All of
these things do not resolve the CPU Usage problem.
I hope this makes more sense. You can try it out if you wish,
but you will need to do this with a large document and use the
Print View when looking at the document in Word. You'll have less
of a problem in Normal View, or with a smaller document (under 50
pages).
Good luck!
Liz0259 -
How to create a 2 column list with bullets
How can I create a 2 columned list with bullets? When I hit tab button, the whole word and bullet moves. I am trying to create a checklist with 2 columns with a visual bullet in front of specific list items. Thanks for any help! chris
Why not just use 2 columns?
Or if they need to stay in step, a table?
Peter
btw A tab in a list changes its level, option tab moves it to the next tab on the ruler. A silly choice to make it the opposite of common sense, but they followed the lead of MsWord on this one. -
Importing Word docs from a RH for Word project
I have a HUGE RH for Word project that I'm trying to convert
to RHTML (RH Office X5). We generate CHM with this project, and
we've got map ids for all topics. I've been to Peter Grainge's site
to get some ideas, but I don't think they're going to work. There
are so many Word files and topics (537 and 2,974, respectively)
that the more I think about it, the more I think that a conversion
to RH HTML might not be worth it.
When I tried to import all of the Word documents and also
convert the TOC (converting the Index isn't an option since it
never worked with our large number of Word docs) and use the
HTMLHelp.css (using the Import wizard), RH HTML crashed twice after
40 minutes.
So, I created a new RH HTML project and tried to import just
one Word doc from the RH for Word project, and selected the same
wizard options. As I expected, the Word doc imported, but even
though I told RH to split the topics on Heading 2, it also copied
in the characters (#S+@) that preceded every topic heading and
incorporated them into the Topic Title. AND, RH HTML did not
"convert" the TOC - it was blank.
In another post I saw a reference to this patch -
http://www.adobe.com/support/security/bulletins/apsb07-10.html.
I'm not sure it's related, although when I examined my second
failed import attempt, the imported topics were visible in the
project folder only by using Windows Explorer - RoboHelp HTML did
not display them from within RoboHelp.
Does anyone know if this is the patch that will fix this
issue as well?
By the way, based on the number of questions I've seen posted
about RH for Word 7 with zero replies, I'm thinking I'm going to
run into issues as well, even if we leave it in RH for Word when we
upgrade to version 7. It seems that its size is an issue for RH
HTML.
Thanks,
Jim
Thanks,
JimHi Jim,
just as an encouragement: we sucessfully converted a HUGE RH
for Word project (4,300 topics) to RH HTML a while ago, including
TOC, index and everything. I must admit though that we had all
those topics in only 25 word documents. Maybe you can reduce the
number of documents by moving the topics? There will always be
problems you run into and afterward, we had to go through every
single topic and check the formatting, but I guess you'd always
have to do this. But I think it's worth it, working in HTML is so
much more convenient.
Good luck!
Kathrin -
How to upload a Word doc from MacBook to iCloud?
How to upload a Word doc from MacBook to iCloud?
Just going to throw in again: iCloud is to keep's Apple's products on Apple's devices synced up between multiple devices. It isn't for sharing. It isn't for storage.
iCloud is the Apple-branded cloud (see the "i"). It isn't meant to be a completely free-of-charge realization of the future that all the tech people keep calling "the cloud."
It adds a lot of very nice functionality to Apple's own products, yet people are screaming their heads off about not getting free disk space and free bandwidth to use for whatever they want online. Apple added functionality, but tons of people seem to think they took away functionality. These things were never promised with iCloud. -
Transferring word docs from vintage mac
Does anyone know how to transfer word docs from my old Mac plus (1985) to a modern Mac or other PC? Would a personal modem work such as was designed for the original machine?
ccconti,
The personal modem will work but my first modem on my first Mac Plus was 300 baud. That option would be painfully slow. Five years ago I met someone who was still using a Plus and modem to email to Germany from the USA. I wanted to document her software configuration but did not get back to it. I would go with standard methods.
Hopefully you acquired an external SCSI drive some where along the way. It will move files to a newer machine with ethernet. Ethernet will allow you go to the latest computers quickly. Another alternative is zip disks. The real key is finding someone with spare hardware. If you are willing to buy some used equipment, you can do it yourself.
Do you have access to a school or club that has old equipment? Post back with a list of computers/hard drives you have access to.
Jim -
Hello;
I seek a code to implement a list with multiple selection for a browser Web (HTML is imited).
I have a list containing of the years, the user can select one or several years and I created dynamically a array : for each year a column.
Thank you;Look at JList.
http://java.sun.com/j2se/1.4.2/docs/api/javax/swing/JList.html
� {� -
How to drag and drop item from list to another item in list and change their positions
I have a list field with multiple items. I want to select one item from list and drag and drop to another item in the list
after drop item on another item the position of items should be change. (Example:- if I select 1st item from list and drag and drop this item to 4th item in list after drop that item position of both item should be changed 1st item on 4th position and 4th item on 1st position)
I don't know how to do this.Please help me to find the solution.Hello Zoltan,
I do not believe that kind of option is built into the listboxes, but I was able to have similiar functionalities using property nodes. I have included an example program that I put together.
The big difference is that instead of dragging, you double click on the item you want to transfer. To highlight items as you go down the list, all you need to do is set the value to that list number.
Hope this helps you out!
Attachments:
Temp.vi 33 KB -
How create temporary table from list of values
Can you anybody advise me how can I create temporary table from list of values? I have list of values and need create temporary table for next use with command JOIN etc.
Thank you for helpNO, you can not create temporary table in oracle on the fly ( Like #Tabels in SQl Server or Sybase ) , you will have to use the GTT i.e Global Temporary Tables
check the following link GTT :
to flush the tables after commit
CREATE GLOBAL TEMPORARY TABLE my_temp_table (
column1 NUMBER,
column2 NUMBER
) ON COMMIT DELETE ROWS;In contrast, the ON COMMIT PRESERVE ROWS clause indicates that rows should be preserved until the end of the session.
so to keep rows in Table after commit
CREATE GLOBAL TEMPORARY TABLE my_temp_table (
column1 NUMBER,
column2 NUMBER
) ON COMMIT PRESERVE ROWS;
Maybe you are looking for
-
Iphone 4 in retire recovery mode loop unknown error (9)
My iphone 4 will not restore.. It goes so far and the I get a message- your iphone cannot be restored - unknown error (9). It is in a loop in recovery mode. I have tried it on my iMac and a windows laptop. Same problem
-
Where are My Templates stored?
Had to do a clean install and want to copy forward my Numbers and Pages templates from a Time Machine back-up.
-
Add another computer to a WRT 160N
On Thursday I bought a new WRT 160N. I followed the instructions and I can connect my wife's laptop to the new wireless network with no problem. Managing the network, connecting to the internet wirelessly, etc. with my wife's computer is a snap. Tryi
-
I made a folder to hold bookmarks of one type. when i tried to add another bookmark to this folder the folder will not show up so i can add this bookmark, the box only extends down a short distance, none of the folders are in the order they are suppo
-
Hi there! Is there anyone on the forum using iPad in China? I am thinking of buying one (I live in Beijing), but I am afraid that it may be of no use if I cannot read books that I have already bought and downloaded on my MacBook... actually, this is