Number & Text format question

I have a form that I need the user to type in a series of numbers & text. When they tab away from the field I want the format to be 21:846=ND.F
Do I need to do something in Java Script or how else would I make this happen? Thanks

You can use a pattern to display the information in the format that you want. Will the format always be 2 numbers:3numbers = two letters.one letter?
Paul

Similar Messages

  • Table cell - text formatting question

    Can't seem to find how to do this. I changed the marging of
    the box to 5 pixels. That only seems to effect a sentence after a
    hard-break. It does not effect soft-breks/returns.
    I'd like every line in the cell to be 3 pixels from the left
    border.
    Thx!

    Not enough. Code from Main.css please.
    (Link to the actual page is always best. This is a
    user-to-user forum, No
    one is paid to be here. The easier you make it for us to see
    everything the
    more likely you are to get help.)
    Walt
    "JRStaf4ord" <[email protected]> wrote in
    message
    news:[email protected]...
    > Here is the code for assistance -- thank you all!...
    >
    > <!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">
    > <head>
    > <meta http-equiv="Content-Type" content="text/html;
    charset=utf-8" />
    > <title>Untitled Document</title>
    > <script src="Scripts/AC_RunActiveContent.js"
    > type="text/javascript"></script>
    > <link href="Main.css" rel="stylesheet"
    type="text/css" />
    > <style type="text/css">
    > <!--
    > .style1 {
    > font-family: Tahoma, Arial, "Lucida Console",
    sans-serif;
    > font-size: 14px;
    > line-height: 21px;
    > color: #000000;
    > background-position: center center;
    > margin: 5px;
    > text-indent: 5px;
    > white-space: normal;
    > vertical-align: text-top;
    > text-align: left;
    > visibility: visible;
    > display: inline;
    > background-color: #FFFFFF;
    > background-image: none;
    > background-repeat: no-repeat;
    > padding-left: 5px;
    > }
    > a:link {
    > color: #663300;
    > }
    > a:visited {
    > color: #999999;
    > }
    > a:hover {
    > color: #669900;
    > }
    > a:active {
    > color: #663300;
    > }
    > .style4 {
    > font-family: Tahoma, Arial, "Lucida Console",
    sans-serif;
    > font-size: 10px;
    > color: #9BB674;
    > }
    > body {
    > margin-left: 2px;
    > }
    > .style5 {color: #663300}
    > .style9 {color: #663300; font-size: 18px; }
    > -->
    > </style>
    > </head>
    >
    > <body>
    > <table width="700" border="1" align="center"
    cellpadding="1"
    > cellspacing="0"
    > bordercolor="#FFFFFF" bgcolor="#FFFFFF"
    class="style1">
    > <tr>
    > <td width="150" bgcolor="#FFFFFF"><script
    type="text/javascript">
    > AC_FL_RunContent(
    > 'codebase','
    http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#
    >
    version=9,0,28,0','width','150','height','140','title','Flash
    > Logo','src','Images and
    > Video/Pic3','quality','high','pluginspage','
    http://www.adobe.com/shockwave/downl
    >
    oad/download.cgi?P1_Prod_Version=ShockwaveFlash','movie','Images
    and
    > Video/Pic3' ); //end AC code
    > </script>
    > <noscript><object
    > classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
    > codebase="
    http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#ve
    > rsion=9,0,28,0" width="150" height="140" title="Flash
    Logo">
    > <param name="movie" value="Images and Video/Pic3.swf"
    />
    > <param name="quality" value="high" />
    > <embed src="Images and Video/Pic3.swf" quality="high"
    > pluginspage="
    http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Versio
    > n=ShockwaveFlash" type="application/x-shockwave-flash"
    width="150"
    > height="140"></embed>
    > </object></noscript></td>
    > <td colspan="3"
    bordercolor="#FFFFFF"><p><img src="Images and
    > Video/Banner2.gif" alt="Stafford SBSG Small Business
    Consulting Banner"
    > width="738" height="122" /></p></td>
    > </tr>
    > <tr>
    > <td height="170" rowspan="3">Web
    Marketing</td>
    > <td colspan="3" align="left" valign="top"
    bgcolor="#CCDBB6"><h1
    > class="style5"><br />
    > <span class="style9">Business
    Plans</span></h1>
    > <p align="left">Entrepreneurship can be exciting
    and rewarding,
    > but
    > you must be prepared and
    > committed. Careful planning is fundamental to success. A
    well
    > written business plan is
    > essential in acquiring financing, managing growth, and
    beating the
    > competition. Like a
    > budget, it is a work in progress that should be
    maintained and
    > referred to on a regular
    > basis. From the Executive Summary to the Appendix and
    everything
    > in-between,
    > Stafford SBSG can help you create an integrated business
    plan
    > that
    > contains all the
    > essential elements to help you achieve success.
    > When developing your business plan, Stafford SBSG is
    very
    > ?hands-on?, asking
    > questions, challenging your assumptions and designing a
    plan
    > that is
    > customized
    > for
    > your business.</p> </td>
    > </tr>
    > <tr>
    > <td colspan="2" align="left" valign="top"
    bgcolor="#CCDBB6"><br />
    > A typical development process includes interviews of
    management,
    > strategic market research and analysis, mid-project
    status
    > check,
    > plan draft, client
    > feedback and revisions, and finalization.
    >
    > If you already have a basic plan, but need to include
    additional
    > elements to enhance
    > your ability to acquire financial backing, identify
    growth
    > opportunities, or communicate
    > with your employees, Stafford SBSG can assist you in the
    areas
    > of
    > Market Analysis,
    > Company Description, Organization and Management,
    Marketing and
    > Sales
    > Management, Product Description and Funding Request
    Presentation.</td>
    > <td align="left" valign="top"
    bgcolor="#CCDBB6"><img src="Images and
    > Video/BizPlan1.jpg" alt="Business Plan Development
    Strategy" width="327"
    > height="203" /></td>
    > </tr>
    > <tr>
    > <td colspan="3" align="left" valign="top"
    bgcolor="#CCDBB6"> <br />
    > If you have created a comprehensive plan and would like
    an
    > independent
    > analysis to
    > identify gaps or inconsistencies, Stafford SBSG can
    review your
    > plan
    > and provide you
    > with a written report ?that includes suggested changes,
    revisions or
    > additions.</td>
    > </tr>
    > <tr>
    > <td> </td>
    > <td
    width="361"><p> </p></td>
    > <td width="113"> </td>
    > <td width="261"> </td>
    > </tr>
    > <tr>
    > <td bordercolor="#CCDBB6"> </td>
    > <td colspan="3" align="center" valign="top"><p
    align="center"
    > class="style4">Stafford SBSG: Annapolis MD,
    410.280.9618 and Wintergreen,
    > VA
    > 434.325.1439<br />
    > Web Marketing - Marketing Analytics - Marketing Plans -
    Business
    > Plans -
    > Compensation Plans - Financial Management - Human
    Resources</p> </td>
    > </tr>
    > </table>
    > </body>
    > </html>
    >
    >

  • In fact it's about mac:excel, how convert in a cell a number written in text format into a value?

    in fact it's about mac:excel8 or 11 in OSX10.7.4,
    how convert in a cell a number written in text format into its value?
    cheers francois

    Hi francois,
    If I copyone of them and do a past special/value, it does not work.
    Try just Paste instead of Paste Special > Value
    I know your question is about Excel, but this works in Numbers:
    Copy 1 234 567 (with spaces) and Paste (not Paste Special) into a Cell in a Numbers Table. The result is 1234567 and it behaves as a number. A formula will consider it to be a number:
    You asked Wayne: what do you mean by "to reference a cell" ??
    The reference is from Cell A2 to Cell A1 through a formula, such as: =A1+1
    Regards,
    Ian.

  • Radio buttons - text format

    Hi everyone!
    I can't seem to get this to work! I want the text on the radio buttons to wrap correctly as they reach the end of the stage (right now they just keep going forever. Here is the code I am using:
    package {
        import flash.display.MovieClip;
        import flash.text.TextField;
        import flash.text.TextFormat;
        import flash.text.TextFieldAutoSize;
        import flash.events.Event;
        import fl.controls.RadioButton;
        import fl.controls.RadioButtonGroup;
        public class QuizQuestion extends MovieClip {
            private var question:String;
            private var questionField:TextField;
            private var choices:Array;
            private var theCorrectAnswer:int;
            private var theUserAnswer:int;
            //variables for positioning:
            private var questionX:int = 25;
            private var questionY:int = 150;
            private var answerX:int = 25;
            private var answerY:int = 200;
            private var spacing:int = 25;
            public function QuizQuestion(theQuestion:String, theAnswer:int, ...answers) {
                //store the supplied arguments in the private variables:
                question = theQuestion;
                theCorrectAnswer = theAnswer;
                choices = answers;
                //create and position the textfield (question):
                questionField = new TextField();
                questionField.width = 775;
                questionField.wordWrap = true;
                questionField.multiline = true;
                questionField.text = question;
                //trace (questionField.width);
                questionField.autoSize = TextFieldAutoSize.LEFT;
                questionField.x = questionX;
                questionField.y = questionY;
                addChild(questionField);
                //Text Format for radio buttons
                var txtFmt:TextFormat = new TextFormat();
                txtFmt.font = "Arial";
                txtFmt.blockIndent = 2;
                txtFmt.color = 0x000000;
                txtFmt.size = 11;
                txtFmt.leading = 4;
                //create and position the radio buttons (answers):
                var myGroup:RadioButtonGroup = new RadioButtonGroup("group1");
                myGroup.addEventListener(Event.CHANGE, changeHandler);
                for(var i:int = 0; i < choices.length; i++) {
                    var rb:RadioButton = new RadioButton();
                    rb.setStyle("textFormat", txtFmt);
                    rb.textField.autoSize = TextFieldAutoSize.LEFT;
                    rb.label = choices[i];
                    rb.group = myGroup;
                    rb.value = i + 1;
                    rb.x = answerX;
                    rb.y = questionY + questionField.height + 25 + (i * spacing);
                    addChild(rb);
            private function changeHandler(event:Event) {
                theUserAnswer = event.target.selectedData;
            public function get correctAnswer():int {
                return theCorrectAnswer;
            public function get userAnswer():int {
                return theUserAnswer;
    As you can see, I managed to get the text field style of the radio buttons to use "txtFmt" as the style:
    rb.setStyle("textFormat", txtFmt);
    The issue:
    If I add:
    rb.textField.width = 352;
    rb.textField.height = 60;
    rb.textField.multiline = rb.textField.wordWrap = true;
    inside the "for loop" that creates the radio button, it just makes my text go all crazy! It only extends the text about 30 pixels after the radio button and then starts wrapping it, making it all stack on top of each other. How can I make it create the radio button, show the text on the text field, wrap around once it reached the edge of the stage and the continue the next button.
    thank you in advanced,
    Rafa.

    Kglad,
    I added the trace command to the 1st frame of my FLA, and it shows the "test" message on the output window.
    I am looking thru my code, but can't figure what could be overwritting it. This is what I have on the first AS file:
    package {
        import flash.display.MovieClip;
        import flash.text.TextField;
         import flash.text.TextFormat;
        import flash.text.TextFieldAutoSize;
        import flash.events.Event;
        import fl.controls.RadioButton;
        import fl.controls.RadioButtonGroup;
        public class QuizQuestion extends MovieClip {
            private var question:String;
            private var questionField:TextField;
            private var choices:Array;
            private var theCorrectAnswer:int;
            private var theUserAnswer:int;
            //variables for positioning:
            private var questionX:int = 25;
            private var questionY:int = 150;
            private var answerX:int = 25;
            private var answerY:int = 200;
            private var spacing:int = 25;
            public function QuizQuestion(whichQuestion:int, theQuestion:String, theAnswer:int, ...answers) {
                //store the supplied arguments in the private variables:
                question = theQuestion;
                theCorrectAnswer = theAnswer;
                choices = answers;
                   //Text Format for readio buttons
                   var txtFmt:TextFormat = new TextFormat();
                   txtFmt.font = "Arial";
                   txtFmt.blockIndent = 2;
                   txtFmt.color = 0x000000;
                   txtFmt.size = 12;
                   txtFmt.leading = 4;
                //create and position the textfield (question):
                questionField = new TextField();
                questionField.width = 770;
                   questionField.wordWrap = true;
                   questionField.multiline = true;
                   questionField.text = question;
                   //trace (questionField.width);
                questionField.autoSize = TextFieldAutoSize.LEFT;
                questionField.x = questionX;
                questionField.y = questionY;
                   questionField.setTextFormat(txtFmt);
                addChild(questionField);
                //create and position the radio buttons (answers):
                var myGroup:RadioButtonGroup = new RadioButtonGroup("group1");
                myGroup.addEventListener(Event.CHANGE, changeHandler);
                var rbY:Number = 100;
                   for(var i:int = 0; i < choices.length; i++) {
                    var rb:RadioButton = new RadioButton();
                    rb.setStyle("textFormat", txtFmt);
                    rb.textField.width = 352;
                    rb.textField.autoSize = "left";
                    rb.textField.multiline  = rb.textField.wordWrap = true;
                    rb.textField.autoSize = TextFieldAutoSize.LEFT;
                    rb.label = choices[i];
                    rb.group = myGroup;
                    rb.value = i + 1;
                    rb.x = 300;
                    rb.y = rbY;
                    rbY = rb.y+rb.height;
                    addChild(rb);
            private function changeHandler(event:Event) {
                theUserAnswer = event.target.selectedData;
            public function get correctAnswer():int {
                return theCorrectAnswer;
            public function get userAnswer():int {
                return theUserAnswer;
    This is the AS that creates the questions:
    package {
        import flash.display.MovieClip;
        import fl.controls.Button;
        import flash.events.MouseEvent;
        import flash.text.TextField;
        import flash.text.TextFieldAutoSize;
        public class QuizApp extends MovieClip {
            //for managing questions:
            private var quizQuestions:Array;
            private var currentQuestion:QuizQuestion;
            private var currentIndex:int = 0;
            //the buttons:
            private var prevButton:Button;
            private var nextButton:Button;
            private var finishButton:Button;
            //scoring and messages:
            private var score:int = 0;
            private var status:TextField;
            public function QuizApp() {
                quizQuestions = new Array();
                createQuestions();
                createButtons();
                createStatusBox();
                addAllQuestions();
                hideAllQuestions();
                firstQuestion();
            private function createQuestions() {
                quizQuestions.push(new QuizQuestion(1, "1. Which of the following statements about the government auditor’s use of audit standards is least accurate? ",
                                                                1,
                                                                "Government auditors may be subject to a variety or range of audit standards.",
                                                                "Government auditors are not subject to audit standards for some types of work.",
                                                                "If the audit organization follows The Institute of Internal Auditors’ (IIA’s) International Standards for the Professional Practice of Internal Auditing (Standards), those Standards prevail over laws and regulations.",
                                                                "Different sets of audit standards that might be followed have many similarities."));
            private function createButtons() {
                var yPosition:Number = stage.stageHeight - 125;
                prevButton = new Button();
                prevButton.label = "Previous";
                prevButton.x = 30;
                prevButton.y = yPosition;
                prevButton.addEventListener(MouseEvent.CLICK, prevHandler);
                addChild(prevButton);
                nextButton = new Button();
                nextButton.label = "Next";
                nextButton.x = prevButton.x + prevButton.width + 40;
                nextButton.y = yPosition;
                nextButton.addEventListener(MouseEvent.CLICK, nextHandler);
                addChild(nextButton);
                finishButton = new Button();
                finishButton.label = "Finish";
                finishButton.x = nextButton.x + nextButton.width + 40;
                finishButton.y = yPosition;
                finishButton.addEventListener(MouseEvent.CLICK, finishHandler);
                addChild(finishButton);
            private function createStatusBox() {
                status = new TextField();
                status.autoSize = TextFieldAutoSize.LEFT;
                status.y = stage.stageHeight - 80;
                addChild(status);
            private function showMessage(theMessage:String) {
                status.text = theMessage;
                   status.x = (stage.stageWidth / 5) - (status.width / 5);
            private function addAllQuestions() {
                for(var i:int = 0; i < quizQuestions.length; i++) {
                    addChild(quizQuestions[i]);
            private function hideAllQuestions() {
                for(var i:int = 0; i < quizQuestions.length; i++) {
                    quizQuestions[i].visible = false;
            private function firstQuestion() {
                currentQuestion = quizQuestions[0];
                currentQuestion.visible = true;
            private function prevHandler(event:MouseEvent) {
                showMessage("");
                if(currentIndex > 0) {
                    currentQuestion.visible = false;
                    currentIndex--;
                    currentQuestion = quizQuestions[currentIndex];
                    currentQuestion.visible = true;
                } else {
                    showMessage("This is the first question, there are no previous ones");
            private function nextHandler(event:MouseEvent) {
                showMessage("");
                   //This will not allow the user to continue forward unless they answer the current question
               /* if(currentQuestion.userAnswer == 0) {
                    showMessage("Please answer the current question before continuing");
                    return;
                if(currentIndex < (quizQuestions.length - 1)) {
                    currentQuestion.visible = false;
                    currentIndex++;
                    currentQuestion = quizQuestions[currentIndex];
                    currentQuestion.visible = true;
                } else {
                    showMessage("That's all the questions! Click Finish to Score, or Previous to go back");
            private function finishHandler(event:MouseEvent) {
                showMessage("");
                var finished:Boolean = true;
                for(var i:int = 0; i < quizQuestions.length; i++) {
                    if(quizQuestions[i].userAnswer == 0) {
                        finished = false;
                        break;
                if(finished) {
                    prevButton.visible = false;
                    nextButton.visible = false;
                    finishButton.visible = false;
                    hideAllQuestions();
                    computeScore();
                } else {
                    showMessage("You haven't answered all of the questions");
            private function computeScore() {
                for(var i:int = 0; i < quizQuestions.length; i++) {
                    if(quizQuestions[i].userAnswer == quizQuestions[i].correctAnswer) {
                        score++;
                showMessage("You answered " + score + " correct out of " + quizQuestions.length + " questions.");
    I also have a timer running on my FLA, but even if I comment out the timer, I still get the same issue.
    thank you for your help,
    Rafa.

  • Locale Formatting question

    Locale Formatting question
    In the preceding code the number 50 represent currency.
    The output of NumberFormat is 50 with the local symbol
    The output of DecimalFormat is 50.00 without the local symbol
    The question is how to show 50.00 with the local symbol ???
    import java.text.*;
    import java.math.BigDecimal;
    public class LocalFormating {
    public static void main(String[] args) {
    NumberFormat nf = NumberFormat.getCurrencyInstance();
    DecimalFormat decfs = new DecimalFormat("#,##0.00");
    BigDecimal anumb = new BigDecimal(50);
    String temp = nf.format(anumb);
    System.out.println("local anumb = " +temp);
    String temp2 = decfs.format(anumb);
    System.out.println("Decimal format anumb = " +temp2);

    Locale Formatting question
    In the preceding code the number 50 represent currency.
    The output of NumberFormat is 50 with the local symbol
    The output of DecimalFormat is 50.00 without the local symbol
    The question is how to show 50.00 with the local symbol ???
    import java.text.*;
    import java.math.BigDecimal;
    public class LocalFormating {
    public static void main(String[] args) {
    NumberFormat nf = NumberFormat.getCurrencyInstance();
    DecimalFormat decfs = new DecimalFormat("#,##0.00");
    BigDecimal anumb = new BigDecimal(50);
    String temp = nf.format(anumb);
    System.out.println("local anumb = " +temp);
    String temp2 = decfs.format(anumb);
    System.out.println("Decimal format anumb = " +temp2);

  • How can I show only text edits and not text formatting when using print comments summary?

    Acrobat 9.3.0 for Mac.
    Here is the scenario: I used the Compare command to see the changes between 2 PDFs. The resulting file some edits are inserts and some are deletions. I want to print a comments summary only showing the text edits. In the Compare Option pane, I select Text and deselect Images, Annotations, Formatting, Headers/Footers, and Backgrounds. Now on the screen I see inserts are highlighted in blue and deletions are marked with sort of a caret and vertical bar symbol. So all looks good at this point. However, when I show the Comments List, I see addtional comments that indicate "Replace - The following text attributes were changed: fill color." Those comments do not appear in the page view unless I check the Formatting check box to show them. With Formatting unchecked, I print a comments summary and all of the "Replace - Fill Color" comments" appear on the resulting comments summary.
    I only want to show text edits, not text formatting changes. So questions are:
    1. Why, when the Formatting checkbox is unchecked, do the text formatting comments still appear in the comments list when they do not appear on the page display.
    2. How can I print only the text content edits and not show the text formatting changes when using Print Comments Summary.

    Hi,
    You can set ExecuteWithParams as default activity in the task flow then method activity to return total no of rows passing to Router activity if your method has value 0 then call Create insert operation else do directly to page.
    Following idea could be your task flow
    Execute With param (default) > SetCurrentRowWithKey > GetTotalNoOfRows (VOImpl Method)
    |
    v
    Router
    1. If pageFlowScope outcome is 0 then call CreateInsert > MyPage
    2. if pageFlowScope outcome > 0 then MyPage
    hope it helps,
    Zeeshan

  • Crystal report : Export to Text format from BI Launch pad

    Hi,
    We are facing issue in exporting the Crystal report to text format option from BI Launch pad view mode. Currently BI launch pad doesn’t support export to Text format option for crystal report in view mode. But export to text format option is feasible in schedule mode. But customer is not interested in exporting the reports through schedule mode.
    Please advise, if we have any alternative way of exporting the crystal report to text format option from BI Launch pad.
    Thanks,
    Chinnu A

    Hi Chinnu,
    The question is better suited to be asked in the BI Platform space.
    -Abhilash

  • An editable region, how to keep text formatting?

    Hello fellas.
    Is there any way to keep the text formatting when I paste it
    into my edible region of the template?
    Every time I attempt it - dreamweaver gives me message "
    making this change would require code change which is locked by a
    template". The only way to paste anything into a region is by
    turning off any copy/paste text formatting completely, which is
    painful to edit, especially with a large number of articles.
    Would greatly appreciate any help.

    This is a common alert when the page you are working on
    contains *any*
    coding anomalies (perhaps in a location other than the
    editable region).
    Does the page validate before the paste? Does the code you
    are pasting
    validate?
    The answer is, of course, it's possible to retain formatting
    (provided all
    code is valid). What app are you pasting from?
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "dreamweaver_novice" <[email protected]>
    wrote in message
    news:f3s8v2$daj$[email protected]..
    > Hello fellas.
    >
    > Is there any way to keep the text formatting when I
    paste it into my
    > edible
    > region of the template?
    > Every time I attempt it - dreamweaver gives me message "
    making this
    > change
    > would require code change which is locked by a
    template". The only way to
    > paste
    > anything into a region is by turning off any copy/paste
    text formatting
    > completely, which is painful to edit, especially with a
    large number of
    > articles.
    >
    > Would greatly appreciate any help.
    >
    >
    >

  • How to keep text formatting from a php flatplan to Indesign

    Hi forum users
    my question is this:
    My company uses a PHP flatplan to recive and store work ready for the deisgners to place in indesign, however any text formatting ie bold, italics etc when copied from the flatplan dont keep when pasted into indesign, im just wondering if there is a way to keep the formatting if anyone knows.
    Currently using Indesign 5.5 but wondering if Indesign 6 has any fixes for this etc
    many thanks

    It may not work for PHP, but there is an option in the prefs to include all information, or text only, when pasting from external applications.

  • Can Pages 4.3 maintain defined text formatting for at a given list level?

    I'm hoping the answer to this question is a simple 'duh' solution that I some how over looked. I'm using Pages 4.3 and I am trying to create a tiered list to organize ideas into different sublevels. I want to be able to write at a particular level, then create sub levels (return -> tab) with different formatting so the levels are easily distinguished at a glance. When I move back to the higher levels (return -> shift + tab), Pages maintaines the text formatting I used at the lower level, rather than returning to the previously used format at the higher level. For example, what I want is ....
    Main 1             --- (Return -> Tab)
    Sub 1             --- (Return -> Shift +Tab)
    Main 2
    What I get is...
    Main 1             --- (Return -> Tab)
    Sub 1             --- (Return -> Shift +Tab)
    Main 2
    This means that anytime I move up or down in the tiers of a list, I need to redefine the formatting for each new bullet. I tried creating my own list styles, but that does not appear to preserve changes made to fonts or sizes. This seems like such a simple function and time saver that I feel like I must be doing something wrong. It has been a while since I used pages, but I don't remember having these problems before. Does pages really require one to reset the formatting everytime the move between list levels?

    Thanks Michael!
    So your suggestion is to create the pricing in ECC and then download it in CRM...
    Now tat would mean that first the mapping has to be performed in ECC for the existing paroducts and product category..then create pricing for those mapped prod. cat. in ECC and then download it to CR M..plz correct me if I am wrong...
    regards,
    Aneesh

  • CS5 - Text format for classic text error

    will now have to re-edit every part.
    Clearly you can get around this by other formats but fact is if you have a document that has negative spacing dont open it in CS5 cause you
    This may have been in recent update.
    Flash now resets them when you open the file to 0, if you notice or not.
    when you have negative (-20) set in spacing, usually used when you have margins.
    Classic Text Error
    Flash CS5

    Here's a workaround.
    FixTextIndent is a class with static methods that
    provides a workaround for the Flash CS5 text formatting
    bug.  The Flash CS5 IDE will not remember the text
    indent setting for either static or dynamic text fields.
    We can set the indent in Actionscript for dynamic fields,
    so to use this class, convert your fields to dynamic,
    then set the left margin.
    When you call FixTextIndent methods, they will set
    the indent to the negative of the left margin.
    Gary Weinfurther, 12/17/2010
    package com.keysoft.util
        import flash.display.DisplayObject;
        import flash.display.DisplayObjectContainer;
        import flash.text.TextField;
        import flash.text.TextFormat;
        public class FixTextIndent
             Fixes the line indent of all dynamic text fields
             in a given display object container so that
             the indent is the negative of their left margin.
            public static function FixContainer(container:DisplayObjectContainer):void
                for(var i:int = container.numChildren - 1; i >= 0; --i)
                    var obj:DisplayObject = container.getChildAt(i);
                    if (obj is TextField)
                        FixTextField(obj as TextField);
             Fixes the line indent of a dynamic text field
             to the negative of its left margin
            public static function FixTextField(tf:TextField):void
                var format:TextFormat = tf.getTextFormat();
                if (format.leftMargin != null && format.leftMargin > 0)
                    format.indent = -(format.leftMargin as Number);
                    tf.setTextFormat(format);

  • Certificate Widget - Text formatting problem

    Hello:
    (FYI: This question is also posted in the Action Script 3 forum)
    I have been modifying the AS3 Certificate Widget that ships with Captivate 4 -- adding backgrounds, re-sizing, etc. However, I don't know how to modify the text format of the variable values when they display. Regardless of what I try, the displayed text seems to be 8pt. Arial. Keeping in mind that I am a complete novice with Action Script, please let me know how you think I might affect the text attributes.
    Here is code around line 35:
    var y_fmt:TextFormat = new TextFormat();
    y_fmt.font = "Arial";
    y_fmt.size = 30;
    y_fmt.bold = true;
    y_fmt.align = "left";
    It would seem that modifying the assignment for y_fmt.size would have some effect, but it does not. It does, however, change the font size of data in the widget parameters. So, I think my problem is that I don't know how to apply my custom TextFormat class to text that appears in these variables:
    v_Name1.visible = true;
    v_Course.visible = true;
    v_Grade.visible = true;
    v_Date.visible = true;
    v_Score.visible = true;
    I would be happy to provide all the code if that is appropriate (and helpful.)
    Any guidance would be greatly appreciated.
    Thanks!
    Charlie

    Hi Charlie,
    There is a little bit of junk in the current Captivate widgets. The AS3 certificate uses a label component to display the text. The TextFormat you're customizing is for the Widget Parameters in the Widget Dialog. The text is then copied over to the label and displayed on the certificate.
    What you have to do is to create a new text format say:
    var course_fmt:TextFormat = new TextFormat();
    course_fmt.font = "Arial";
    course_fmt.size = 30;
    course_fmt.align ="center";
    course_fmt.bold = true;
    course_fmt.color = 0xFF0000;
    and then assign it to the label such as
    v_Course.setStyle("textFormat", course_fmt);
    You can then apply the same recipe to the other labels: v_Name1, v_Score, v_Grade and v_Date.
    That should do the trick!
    Whyves
    www.flash-factor.com

  • Convert spool in the text format and send mail

    Hi All
    Can anyone tell me
    how to convert the spool into the text format and send that in email as an attachment..
    Points will be rewarded
    URGENT

    Hi,
    Read spool using FM  RSPO_RETURN_ABAP_SPOOLJOB
    CALL FUNCTION 'RSPO_RETURN_ABAP_SPOOLJOB'
        EXPORTING
          rqident                  = v_rqident   "Spool Number
      FIRST_LINE                 = 1
      LAST_LINE                  =
        TABLES
          buffer                     = i_spool "Internal table output
    You will get spool in internal table and then its your game, play the way you want.
    Regards,
    Mandeep

  • Excel date to Numbers text format troubles

    I've been sent an Excel .xls document which I'm opening in Numbers '09 (2.1).
    The spreadsheet has a date column which I need to be in text format as dd/mm/yyyy. I expected the original Excel document to have the dates already in text format but Numbers says the fields are 'Custom' and shows the dates in US format: 11/04/2011, even although my Mac is set to UK format. No matter, I can set the cells to text format, however that results in the date being shown as 04/11/00002011.
    Where did those extra zeros in the year come from!?
    How can I reformat the dates to the dd/mm/yyyy format as text?
    I've tried a couple of formula to create a new column
    =Year(A1)
    for example and I think I could recreate the date  like that, but the cell must be text format.
    DG

    Here is the script required to peek dates from Numbers then poke them in Numbers.
    --{code}
    Apply this script to a Numbers table containing :
    B2 : 1943/12/31 23:59
    B3 : 1789/07/14
    B4 : 2010/01/01 00:12
    B5 : = NOW()
    set myTimeZone to (do shell script ("/usr/bin/perl -le 'print( readlink(\"/etc/localtime\") =~m{zoneinfo/(.*)} )' ")) -- Perl code by Mark J. Reed.
    tell application "Numbers" to tell document 1 to tell sheet 1 to tell table 1
              repeat with r from 2 to 5
                        set thenumbersdate to value of cell r of column 2
                        set value of cell r of column 3 to thenumbersdate as text
                        set thenumbersdate to my TZtoGMT(thenumbersdate, myTimeZone)
                        tell cell r of column 4
                                  set format to text
                                  set value to thenumbersdate as text
                        end tell
                        tell cell r of column 5
                                  set format to text
                                  set value to short date string of thenumbersdate
                        end tell
              end repeat
    end tell
    --=====
    set myTimeZone to (do shell script ("/usr/bin/perl -le 'print( readlink(\"/etc/localtime\") =~m{zoneinfo/(.*)} )' ")) -- Perl code by Mark J. Reed.
    set thenumbersdate to my TZtoGMT(thenumbersdate, myTimeZone)
    Handlers by Nigel GARVEY
    http://macscripter.net/viewtopic.php?id=36449
    (* Convert an ISO-format date string to an AppleScript date. *)
    on isotToDate(isot)
              set n to (text 1 thru 8 of isot) as integer
              set ASDate to (current date)
              tell ASDate to set {day, year, its month, day} to {1, n div 10000, n mod 10000 div 100, n mod 100}
              if ((count isot) > 8) then
                        set n to (text 10 thru 15 of isot) as integer
                        set ASDate's time to n div 10000 * hours + n mod 10000 div 100 * minutes + n mod 100
              end if
              return ASDate
    end isotToDate
    --=====
    (* Transpose an AppleScript date/time from the given time zone to GMT. *)
    on TZtoGMT(TZDate, TZ)
      -- The difference between TZDate when it's local and the GMT date we want is usually
      -- the same as the difference between the local date when TZDate is GMT and TZDate itself …
              set GMTDate to TZDate - (GMTtoTZ(TZDate, TZ) - TZDate)
      -- … but not around the time the clocks go forward. If the GMT obtained doesn't reciprocate to TZDate,
      -- shift to a nearby local date where the above DOES work, get a new GMT, unshift it by the same amount.
              set testDate to GMTtoTZ(GMTDate, TZ)
              if (testDate is not TZDate) then
                        if (GMTDate > testDate) then -- "Clocks forward" is towards GMT.
                                  set shift to GMTDate - testDate
                        else -- "Clocks forward" is away from GMT.
                                  set shift to -days
                        end if
                        set nearbyDate to TZDate + shift
                        set GMTDate to nearbyDate - (GMTtoTZ(nearbyDate, TZ) - nearbyDate) - shift
              end if
              return GMTDate
    end TZtoGMT
    --=====
    (* Transpose an AppleScript date/time from GMT to the given time zone. *)
    on GMTtoTZ(GMTDate, TZ)
      -- Subtract date "Thursday 1 January 1970 00:00:00" from the GMT date. Result in seconds, as text.
              copy GMTDate to date19700101
              tell date19700101 to set {year, its month, day, time} to {1970, 1, 1, 0}
              set eraTime to (GMTDate - date19700101)
              if (eraTime > 99999999) then
                        set eraTime to (eraTime div 100000000 as text) & text 2 thru 9 of (100000000 + eraTime mod 100000000 as integer as text)
              else if (eraTime < -99999999) then
                        set eraTime to (eraTime div 100000000 as text) & text 3 thru 10 of (-100000000 + eraTime mod 100000000 as integer as text)
              else
                        set eraTime to eraTime as text
              end if
              return isotToDate(do shell script ("TZ='" & TZ & "' /bin/date -r " & eraTime & " +%Y%m%dT%H%M%S"))
    end GMTtoTZ
    --=====
    --{code}
    Yvan KOENIG (VALLAURIS, France) samedi 5 novembre 2011 14:14:26
    iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.2
    My iDisk is : <http://public.me.com/koenigyvan>
    Please : Search for questions similar to your own before submitting them to the community

  • SSRS reports in text format

    hi
    how can i save a report in text format using ssrs 2008 R2

    Hi Gourav,
    By default, SQL Server Reporting Services render a report to .CSV File Extension with CSV rendering extension. While device information settings for the CSV rendering extension allow us to change its format from .csv to .txt format, we can modify FileExtension
    setting in the RSReportserver.config file as below:
    Please navigate to RSReportserver.config file: <drive:>\Program Files\Microsoft SQL Server\MSRS10_50.MSSQLSERVER\Reporting Services\ReportServer\RSReportserver.config.
    Backup the RSReportserver.config file before we modify it, open the RSReportserver.config file with Notepad format.
    In the <Render> section, modify the code for the CSV extension like this:
    <Extension Name="CSV" Type="Microsoft.ReportingServices.Rendering.DataRenderer.CsvReport,Microsoft.ReportingServices.DataRendering">
       <OverrideNames>
            <Name Language="en-US">TXT (Pipe Delimited Text File)</Name>
        </OverrideNames>
        <Configuration>
            <DeviceInfo>
                <FileExtension>TXT</FileExtension>
            </DeviceInfo>
        </Configuration>
    </Extension>
    Save the RSReportserver.config file.
    For more information about CSV Device Information Settings, please see:
    http://msdn.microsoft.com/en-us/library/ms155365(v=sql.105).aspx
    If you have any other questions, please feel free to ask.
    Thanks,
    Katherine xiong
    Katherine Xiong
    TechNet Community Support

Maybe you are looking for

  • Problem with Sun Outlook connector Microsoft LDAP Directory MAPI Service Pr

    Dear All I have big problem with sun outlook connector and I can find any way to fix the problem, I am using sun java system connector deployment to create installation script for my clients. in the tool I have specify the location of Microsoft LDAP

  • Calling stored procedure from JSP

    I call a stored procedure from a JSP, but I want to show a page which tells the user that the query is busy executing (it's a big one!) while the stored procedure is executing. I have a page where I select an option, which forwards the request to the

  • Spry accordion open panel

    Hello, is there a way, that if I have a page without the accordion, and I click on that page a link, that link goes to the accordion panel page, and when it goes, specifically opens one of the pannels. THank you

  • Can we turn off backorders in OM?

    My boss wants me to look into turning off backorders in OM. Are sales order currently backorder when insufficient line item quanities are pick released. We see this when we open the shipping transaction form to ship confirm the sales order. Our "OM:

  • Symbian Anna Web Browser Problem

    Symbian Aana is Not good for Web browser, There is No RELOAD Option in Web browser of Symbain aana Version 7.3.1.37 How to Reload a Page if i'm using Facebook and other websites. plz Update this RELOAD option in Web browser and Web browser is Shaking