How can a  variable display the first character that's on the page?

I'm creating a telephone directory and want each page to display the alphabet of the first listing on the page on the top - only one character.
Can you tell me how to do this?

Hmmmmm, seems I was wrong about the GREP styles. I just tried it and they don't get picked up. I consider that a bug, but it's probably "as designed."
That leaves you having to work with nested styles only, or Find/Change. I think what you'll need to do is redefine the Paragraph style so it has two nested styles that apply the correct style to whatever needs to be styled at the start of the paragraph, one for the first character and the second for the rest of the word(s) if you can figure out a trigger (can InData add an end nested style character or is thew some punctuation you can use?), then find/change to remove the applied character style. For that I'd serach for ^.+ with the find format set to the character style that InData applied and the chane format set to [None], which will only remove it from the beginning of your paragraphs. If this is done correctly there will be no change in appearance since the redefined paragraph style will do the formatting.
If that won't work, you can use find/change to apply a new style to the first characters. Search for ^. and set the change format to the new character style that you'll use in the variable. It needs to have the same attributes as the style applied by InData or the appearance will change.
The second method is probably easier since you don't need to redfine the paragraph style, but both methods require you to use find/change to alter the text, which means if more text is added you'll need to re-do the find/change. Not a big deal, but don't forget. I'd be tempted to wait until the last minute and just ignore the headers for the moment, if editing is ongoing. I'd also test this on a copy of the file for safety.

Similar Messages

  • How can I change fullscreen background color, so that it is the same when viewing on mac and iPad? I want this to be able to use MathType in widget text.

    How can I change fullscreen background color, so that it is the same when viewing on mac and iPad? I want this to be able to use MathType in widget text.
    As an example, html widget has white background on iPad, and black on mac. The same goes for interactive widget.
    The MathType text inserted is inserted as a image, and will have the same color when in fullscreen as when not. So I need the textcolor to be the same in both views. Anyone know how to fix this?

    We're still not communicating. This is why I wanted an example .iba.
    Here's a re-creation of my own, going off what you described. You said "all html widgets and all gallery widgets" have this problem. So I inserted a blank HTML widget and a blank Gallery widget, and typed into both. Inserted a MathType equation into both. I don't see any difference when I preview it on my Mac compared to the preview on the iPad. I want to help, but I can't help if I can't duplicate the issue.
    I've attached the screen shots and the .iba file [link to .iba file].
    Feel free to email me directly at bobm at dessci dot com. If you're uncomfortable giving some information here, tell me anything you want in email. I work for the "MathType company", Design Science.

  • How can I stop when the first character I type into start page search matches my thunderbird password the whole password is revealed.

    Typing into the Mozilla start page my thunderbird/gmail password is revealed as a suggestion pop-up when the first character is typed.

    See:
    * http://kb.mozillazine.org/Deleting_autocomplete_entries

  • TestStand database logging problem: only the first character is put in the table.

    I am using TestStand 2.0.1 and Microsoft SQL server database. There is a weird problem when I use database logging. At first, all the database logging ran good.
    Then one day after I moved the test equipment to production line, TestStand only logs the first character of each string field in the tables! There is no error message.
    I setup another SQL server running locally on the same machine as the TestStand is and move the database to the local server, database logging has no problem. Schemas in TestStand Dabasebase Options are the same.
    I tried to run TestStand from another computer on the network. There was no problem before, too.  But now, TestStand always shows a Run-time error message like this:
    Details:
    An exception occurred calling 'LogResults' in 'ITSDBLog' of 'DBLog 1.0 Type Library'
    An error occurred executing a statement.
    Schema: New.
    Statement: STEP_RESULT.
    Connection failureMultiple-step OLE DB operation generated errors. Check each OLE DB status value, if available. No work was done.
    Source: TSDBLog
    Error Code:
    -2147467259; User-defined error code.
    Location:
    Step 'Log Results to Database' of sequence 'Log To Database' in 'Database.seq'
    I have checked that the connection is good and also the table UUT_RESULT has been logged correctly.
    Anyone can help?
    Thanks.

    Thank you very much, Santiago.
    Yes, I have a customized schema, but it is based on the pre-existing schema. I tried the schema:TS 1.x Access/SQL (NI), which  came with TestStand, the results were the same. 
    I have tried to run different sequences. On one computer, I always get only the first character of each string entry logged in the remote database, however for the local server, everything is fine. On the other computer, there is no local SQL server, I always get similar error message as I mentioned in my post. The sequence step reports error is  "Log Results to Database".
    Any more suggestion?
    Thanks again.
    Best regards,
    Jaso

  • How can make JTextField display all ASCII character?

    I am writing a java app. There is a Jtextfield . I need display some special character in this jtextfield such as ASCII code is 135(&#135), 164(&#164), 167(&#167) and so on. Thees characters whose ASCII code is 164, 167 can correctly display in spite of you set any font to this jtextfield. But the character whose ASCII code is 135 can`t correctly display. It display as a [];. Who knows and has some ideas?
    Thx. Bob

    Thx any way.
    Now I found a another way to display the (char)135(display as "�").
    First, i defined a static attribute :
    public final static String ASCII_CODE_IS_135 = "�";
    Then, When I need display the char, I display the static attribute value. I found the textfield almost can display all special character by this way in spite of using what font.
    Thx again.

  • Had my computer serviced recently and had to reinstall itunes. Now I two accounts. How can I switch to my original account that has all the music I imported into itunes and get rid of the new account?

    Had my computer serviced recently and had to reinstall itunes. Now its saying I have two accounts. How can I switch to my original account where all my music that I imported is and get rid of the new one that only shows my purchased music?

    Had my computer serviced recently and had to reinstall itunes. Now its saying I have two accounts. How can I switch to my original account where all my music that I imported is and get rid of the new one that only shows my purchased music?

  • Whenever I go to the camera app, the first image that you see (the grey image thing) won't go away and on instagram the screen is just black. How do I fix this?

         I've already tried to restore and reset  the iPad. I have also found that every app that I have that uses a camera can't take pictures except facetime and photo booth, but only the front camera works.

    Try this.
    Reset the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons.

  • When I´m editing a pallete - be it the controls palette or the function one - How can I edit a .mnu file, so that it shows the picture I want?

    When one decide to edit controls or functions palletes, one of the options available is the insertion of a submenu and, when it´s done, the user is prompted to select which menu file - a file with a .mnu extension - he wants to use. All I want to know is how I can create a .mnu file so that it shows a picture I want - if instead of choosing a existent .mnu file I choose one that doesn´t exist, it will be created and a default picture will be shown. I went through the LabVIEW help without avail, so ...any help would be deeply appreciated !

    If you wish to change the default submenu Icon to yours, simply right-click on the submenu Icon and select "Edit Submenu Icon..."
    Is that what you wanna do?
    Cheers!
    Ian F
    Since LabVIEW 5.1... 7.1.1... 2009, 2010
    依恩与LabVIEW
    LVVILIB.blogspot.com

  • How can i find different piano options, pianos that fill up the screen not just a small piano?

    So when i first bought my mac i messed around with garageband and i pulled up all of these painos and synthisizers and the piano would cover about half of the screen. Well now i'm in college and i need to know pitches for my music courses and thought this would help me but i cant find the "big" pianos anymore just the small one for recording. please help me

    The "big" piano is called "Musical Typing": You launch from the "Windows" menu:
         Windows > Musical Typing ⇧⌘ K
    Regards
    Léonie

  • Safari cannot open the page because the first character is invalid, how can I fix?

    I cannot open PDF's.  Error message appears saying, Safari cannot open the specified webpage because the first character is unrecognizable".  What do I need to do to fix it?

    Hi..
    Go to   /Library/Internet Plug-Ins
    Move the Adobe PDF browser plugin  (or PDF browser plugin) to the Trash.
    Quit then relaunch Safari.

  • Only display the first character issue

    Hi,
    I'm using CR 2008 to generate reports.
    I use oracle database.
    I use a stored procedure to get data and everything working fine ,it return correct data.
    I have five details section but i display one details section and i suppress others
    My issue is execute the rpt file to presssig F5 key;   string type record is only able to print the first character on the preview.
    eg: record with value 'ABCDE', after printed on rpt file, only character 'A' was printed on the preview.
    if i verify database, it display correct data but a few times later problem occurs again
    Anyone know how to fix it?

    if you create a blank report as follows , you will take same error
    my reports section;
    section - formula fieds 
    a - - - - a b f g
    b - - - - a b e f g
    c - - - - a b c e f g
    d - - - - c f g
    e - - - - d e f g
    my details sections suppress formula;
    if {CR_TEST.CODE}=1 then false else true
    if {CR_TEST.CODE}=2 then false else true
    if {CR_TEST.CODE}=3then false else true
    if {CR_TEST.CODE}=4 then false else true
    if {CR_TEST.CODE}=5 then false else true
    my procedure is just like this;
    CREATE OR REPLACE PROCEDURE CR_TEST(
       P_MONTH IN VARCHAR2
    , P_YEAR IN VARCHAR2
    , CODE IN NUMBER
    , P_CURSOR OUT GP.REF_CURSOR
    IS
    BEGIN
       IF CODE = 1
       THEN
          OPEN P_CURSOR FOR
             SELECT A
                  , B
                  , 'X' C
                  , 'X' D
                  , 'X' E
                  , F
                  , G
                  , CODE CODE
               FROM CR_TEST_TABLE
                                 --WHERE conditions
       ELSIF CODE = 2
       THEN
          --A, B, E, F, G
          OPEN P_CURSOR FOR
             SELECT A
                  , B
                  , 'X' C
                  , 'X' D
                  , E
                  , F
                  , G
                  , CODE CODE
               FROM CR_TEST_TABLE
                                 --WHERE conditions
       ELSIF CODE = 3
       THEN
          OPEN P_CURSOR FOR
             SELECT A
                  , B
                  , C
                  , 'X' D
                  , E
                  , F
                  , G
                  , CODE CODE
               FROM CR_TEST_TABLE
                                 --WHERE conditions
       ELSIF CODE = 4
       THEN
          OPEN P_CURSOR FOR
             SELECT 'X' A
                  , 'X' B
                  , C
                  , 'X' D
                  , 'X' E
                  , F
                  , G
                  , CODE CODE
               FROM CR_TEST_TABLE
                                 --WHERE conditions
       ELSIF CODE = 5
       THEN
          OPEN P_CURSOR FOR
             SELECT 'X' A
                  , 'X' B
                  , 'X' C
                  , D
                  , E
                  , F
                  , G
                  , CODE CODE
               FROM CR_TEST_TABLE
                                 --WHERE conditions
       END IF;
    END;
    Edited by: assaulter on Oct 12, 2011 11:50 AM
    Edited by: assaulter on Oct 19, 2011 1:50 PM

  • Getting zero to display as the first character

    I know this should be simple, but I'm trying to get a zero to display as the first character in a field when necessary.  For example last 4 of SSN.  Any help would be appreciated.

    Hi,
    You can achieve this in the Patterns dialog. Select the object and go to the Object > Field palette. There you can click the Patterns button and edit the Display Pattern.
    For example, this would display a number without leading zeros: 12
    num{zzz9}
    Whereas if you use 9 it will display leading zeros: 0012
    num{9999}
    Hope that helps,
    Niall

  • Can not run the calc scripts by mxl, if the first character is Number

    I found that if you create the calc scrpt like 1abc.csc. You can not run it by mxl. I tried for times but do not know the reason for that. I found that you can use number in the name of the calc scripts(like abc1.csc, a1bc.csc), but not for the first character(like 1abc.csc).
    Below is my mxl scripts:
    ×××××××××××××××××××××××××××××××××××
    login admin identified by password on localhost;
    spool on to 'C:\abc.log' ;
    execute calculation sample.basic.1abc;
    spool off;
    logout;
    ×××××××××××××××××××××××××××××××××××
    I write a bat file below:
    ×××××××××××××××××××××××××××××××××××
    D:\Hyperion\AnalyticServices\bin\essmsh C:\abc.mxl
    ×××××××××××××××××××××××××××××××××××
    I can run the scripts if I change the name "1abc" to "abc1"or "a1bc".
    Of course I can run this calc in EAS, no matter the name is "1abc" or "abc1".
    Anybody find the same problem with me?

    I agree, if ever there was a "best practice" to developing scripts (especially when using variables) it is to enclose in single quotes. I actually use double quote, single quote.
    execute calculation "'$4'"."'$5'"."'$6'";

  • How can I delete photos from my ipad that came in when I connected for the first time to my pc?

    how can I delete photos from my ipad that came in when I connected for the first time to my pc? HELP

    Photos that were synced from your computer using iTunes can only be deleted by de-selecting them from the folder from where they were synced -  and then re-syncing.
    Connect the iPad to the PC and launch iTunes.
    Click on the iPad name on the left side under devices.
    Click on the Photos Tab on the right.
    If you want to remove all of the Photos - uncheck the Sync Photos from Heading
    Click on Apply in the lower right corner of iTunes
    If you are using iTunes 11 - this will be helpful, Setting up syncing in Windows.
    http://support.apple.com/kb/PH12313

  • How can i air display the Screen from mac to the more than 3 iPads?

    how can i air display the Screen from mac to the more than 3 iPads?
    thanks

    Energy Saver, you can keep the computer awake while the screen saver shuts the monitor off but I'm not sure that would do it for you.

Maybe you are looking for

  • Inserting multiple rows in a table automatically

    Hello everyone, A question about SQL/PLSQL. I have a homework to create a table in SQL and to insert 10,000 rows in the table regardless of what the values are. The question is: is there a way (like a PLSQL code that has a loop) to inserts values in

  • How to clear and nullify all values in various controls on a Search Form?

    I have a page with search control mainly comprising of List Box, Text Box and Radio Buttons, I wish to provide user with a 'Clear' Button which should refresh the page and nullify all values user may have filled in the controls. How can I do this?

  • If I move my wacom pen tool on the screen I get a yellow note. How do I get rid of it or turn it off?

    I just installed OS X Mountain Lion. I have a wacom pad and pen. When I move the pen to highlight text, or move the cursor anywhere on the screen, a yellow lined sheet note shows up and a scribble (the pen movement) is shown in black. If I click else

  • Migrating image database in Informix 9.21 to Oracle 9i

    I am going to be migrating an image database from Informix 9.21 to Oracle 9i and am needing to know what Oracle9i has to offer as far as options in storing large media types - image, video, audio, etc... Specifically, does Oracle have anything compar

  • Challenge to all

    On the client side of a web based application I am filling a text filed named "text1" with some baltic characters with Hex dump 66 f6 and e5 a servlet is supposed to read this from the form Carrying out a snoop shows that the data is transferred corr