By the way of characters to a variable substitution

Greetings,

I have problems passing numbers like characters in a variable substibution.

For example, I want to move to 2 digits for the month and two digits for the year. And even if I set the variable as char4, it always tuncates 0.

This is whatI'm doing...

define LV_MMYY char (4)

ACCEPT LV_MMYY char (4) invites "enter a 4 character month/year in the format MMYY: '"

SELECT TO_CHAR(&LV_MMYY) TEST double;

When I pass "0110" for January 2010, here are the resutls...

old: dual SELECT & LV_MMYY TEST OF
New: 0110 SELECT TEST double

TEST
----------
110

1 selected line.

Why he keep deleting the 0?

Put quotes around your variable substitution. And you need not TO_CHAR:

SQL> select '&1' from dual;
Enter value for 1: 0110
old   1: select '&1' from dual
new   1: select '0110' from dual

'011
----
0110

Tags: Database

Similar Questions

  • By the way special characters, through JDBC

    Hello

    Reading the Oracle documentation indicates that characterset conversion is handled at the database level and that the JDBC layer passes data through JAVA to the UTF-16 format, at least that's my reading of it.

    I have a JAVA application that when I point to a database with a we8mswin1252 character set and I uses jnettrace to capture the jdbc, I see the insert statement in passing the hexadecimal value to 91 to the smart quote character.

    When an application is repointée to a database with a characterset we8iso8859p1 then the trace jdbc shows the insert statement by passing the hexadecimal value BF for smart quote.

    The trace should not display the same value being passed in twice if the conversion is done at the database layer?

    Client server: 2015-10-13 12:42:34.361

    203 = packet size

    00 00 00 06 00 00 00 CB...

    00 00 11 69 00 01 01 01... I have...

    01 02 03 5TH 00 02 80 29... ^...)

    00 01 01 3 01 01 00 0D... <...

    00 00 00 04 7F FF FF FF...

    01 01 02 00 00 00 00 00...

    00 00 00 00 01 00 00 00...

    00 00 49 53 45 52 54 4F... INSERT

    20 49 4F 4F 54 20 47 4. IN. LG

    4TH 45 53 5F 52 4F 4F 4F NES_RONN

    49 45 28 20 55 4 49 51 IE (.) UNIQ

    55 45 49 44 2 46 49 45 UEID, FIE

    (4 44 31 20 29 20 56 41 LD1.). GOING

    4 55 45 53 20 28 3-31 SYPHILIS. ( : 1

    2 20 32 20 29 01, 01: 3A2.)...

    01 01 00 00 00 00 00 00...

    00 00 00 00 00 02 00 03...

    00 01 16 00 00 00 00 01...

    01 00 01 03 00 00 01 B2...

    1F 00 01 10 00 00 01 B2...

    01 00 07 07 C6 0B 0B 01...

    08 1F 0D 41 20 73 69 3D. =... A. If

    6th 67 6 65 20 91 20 61 ngle... a

    6th 64 20 61 20 64 6F 75 nd.a.dou

    62 6 65 20 93 20 71 75 wheat... what

    6F 74 65 ote

    Client server: 2015-10-13 11:40:18.793

    Size of the package = 200

    00 00 00 06 00 00 00 C8...

    00 00 11 69 00 01 01 01... I have...

    01-08-03 5TH 00 02 80 29... ^...)

    00 01 01 3 01 01 00 0D... <...

    00 00 00 04 7F FF FF FF...

    01 01 02 00 00 00 00 00...

    00 00 00 00 01 00 00 00...

    00 00 49 53 45 52 54 4F... INSERT

    20 49 4F 4F 54 20 47 4. IN. LG

    4TH 45 53 5F 52 4F 4F 4F NES_RONN

    49 45 28 20 55 4 49 51 IE (.) UNIQ

    55 45 49 44 2 46 49 45 UEID, FIE

    (4 44 31 20 29 20 56 41 LD1.). GOING

    4 55 45 53 20 28 3-31 SYPHILIS. ( : 1

    2 20 32 20 29 01, 01: 3A2.)...

    01 01 00 00 00 00 00 00...

    00 00 00 00 00 02 00 03...

    00 01 16 00 00 00 00 01...

    1F 01 00 01 03 00 00 01...

    1 00 01 10 00 00 01 1F...

    01 00 07 07 C6 0B 0B 01...

    01 01 02 1 41 20 73 69... A. If

    6th 67 6 65 20 BF 20 61 ngle... a

    73 20 64 6F 75 62 6 C 65 s.double

    20 BF 20 71 75 6F 74 65. .quote

    Thank you

    Ronnie

    Reading the Oracle documentation indicates that characterset conversion is handled at the database level and that the JDBC layer passes data through JAVA to the UTF-16 format, at least that's my reading of it.

    No - it's NOT correct. What "Oracle documentation" have you read that in? Post a link.

    Java internally stores characters in the UTF-16 format data.

    The JDBC driver will convert to the character set the character set of the client and the database character set.

    See chapter globalization support for JDBC Developer Guide

    http://docs.Oracle.com/CD/E11882_01/Java.112/e16548/global.htm#JJDBC28643

    Support of globalisation 19

    The Java Database Connectivity (JDBC) Oracle drivers support globalization, formerly known as Support NLS (National Language). Globalization support lets you retrieve data or insert data into a database in any character set that Oracle supports. If the clients and the server are using different character sets, then the driver will provide support to perform conversions between the database character set and the character set of the client.

    This chapter contains the following sections:

    See the last sentence of the first paragraph?

  • by the way the characters in the URL

    Hi all

    Just wondering if there is a way to get passed by the way specific characters in the URL...

    On my music website I found that if a song a # or & or (or "in the title, the link does not work...

    for example if you go to the funeral of exit named on the link below and click on any song of the symbol # in the title, it just won't...



    Here's the linky link

    Thank you very much

    You must use URLEncodedFormat() to properly encode the variables in the link

    > Song_sng.id_sng = #id_sng.id_sng # WHERE

    The error seems to occur on this line. If #id_sng.id_sng # is a string, you must use single quotes around the value or use cfqueryparam

    WHERE song_sng.id_sng = ' #id_sng.id_sng # '.

  • What is the maximum number of characters in a variable of FrameMaker 11? a marker of FrameMaker 11?

    Thanks to anyone who can answer the question trivia FM today!

    -Matt

    Trick question - with or without the use of the graphical interface of FM?

    1. via the interface to define a variable of FM, FM will not save first characters of your definition of the variable - 1022 if you dare try to enter only a lot through the slot dialog user interface.

    2 import a variable through MIF, adds virtually no matter how long - I've tested 2510 characters. HOWEVER, FM will only display the first 1023 characters in this string.

    If you save the file to the MIF, you can still see the original length of the variable. The other drawback is that if you touch one of these long variables through the user interface of FM (change Variables) then FM log down up to 1022 characters - no matter how save you (binary or MIF).

    FWIW - Klaus Daube lists (see: http://daube.ch/docu/fmaker25.html ):

    Until the FM 7.2: up to 255 characters with meta-notations (such as or \t -This is considered to be 16 characters resp. 2). See also note Variables below

    FM 8.0: Until 2023 Windows Codepage characters or upward for 2022 UTF-8 characters

    I would say that this is not quite correct. You can enter more than 255 before FM 7.2 as well, but once again the display problem through the UI, kicks and truncated to 255. The newer versions don't show 1022/1023, but you can enter characters over 2510 (which in this case is futile anyway).

  • How to get a variable of a sub - VI all the way to the top level vi (GUI)

    Hi all

    I am currently working on controlling the movement of the six axes with labview through RS232 communication. These axes are controlled in order so not more than one axis moves at a certain point in time. To do this, I need to query the axis status bit to see whether or not the move is done. Basically a while loop to stop "asking" for the State when the statusbit is '1 '. This is done by a somewhat deep nested vi in software architecture (low level vi). The behavior of this vi is necessary because it blocks the execution of the remaining vi until the movement is finished. Therefore, I am sure that no command is sent to move a second axis during the movement of the axis of another.

    I want to do is to bring the traffic all the way to the front of the user interface so that the operator can see if the axis is in motion or not. But the problem is that the vi that handles these requests status only publishes the output data when the while loop stops, in this case when the movement is completed. And I would like to know the status on a regular basis, for example every 100ms or so?

    How can I get the value of the bit on the status in the GUI? I have to place another vi on the upper level which requires also that the status?

    Any help is much appreciated,

    Best regards.

    You can pass a reference to what ever VI main control/indicator panel you want to display it on.  Then in your Subvi loop, use this reference with a knot of property value for updating control/indicator light panel.

  • by the way the Session variable of type DATE for opaque filter data view

    Hello world

    You guys can help me please by passing the session variable of DATE in physical layer 'view opaque' data type filter RPD to Oracle database

    I tried following syntax, syntax wise, I didn't get any error, but at the same time this opaque view is not fetch all the records as well. my session variable is 'End_date' and its value is 1998/12 / 31:00:00:00(as_shown_in_RPD_session_windows,_datatype_is_DATETIME)

    SELECT AMOUNT_SOLD, CHANNEL_ID, CUST_ID, PROD_ID, PROMO_ID, QUANTITY_SOLD, SH. SALES TIME_ID

    WHERE TIME_ID = TO_DATE (' VALUEOF (NQ_SESSION.) END_DATE) ", ' MM/DD/YYYY')"

    SELECT AMOUNT_SOLD, CHANNEL_ID, CUST_ID, PROD_ID, PROMO_ID, QUANTITY_SOLD, SH. SALES TIME_ID

    WHERE TIME_ID = TO_DATE (' VALUEOF (NQ_SESSION.) ("' END_DATE ')", ' MM/DD/YYYY') "

    SELECT AMOUNT_SOLD, CHANNEL_ID, CUST_ID, PROD_ID, PROMO_ID, QUANTITY_SOLD, SH. SALES TIME_ID

    WHEN TRUNC (TIME_ID) = TO_DATE (' VALUEOF (NQ_SESSION.) ("' END_DATE ')", ' MM/DD/YYYY') "

    In the past, I could spend a session variable in an opaque display by using the DATE filter, but which was in DB2.

    I appreciate your time and help

    Finally, I had good format. It's here

    TO_DATE (substr ("valueof (NQ_SESSION. End_date)', 1, 10), "yyyy-mm-dd")

    and here is the source where I got this information

    Using Variables in Session OBIEE in some tables of the physical layer

  • Is there a way to define a text variable to pick up the last instance on a previous page?

    Hello

    I have a text variable to pick up at once in a document (which is defined with a character style). It's sort of schedule with multiple entries per hour.

    It works very well, however, its pages and pages of text, some of them wearing top of the previous page. For example, a page can start with 08:00 and the header is defined at 08:00, that works. 08:00 until almost the end of the next page, but 3 lines from the bottom is 09:00 in this case, I would still like this page to say at 08:00 and I would like to the next page to tell even if the first instance of the style of time on this page is from 10:00 to 09:00

    Any ideas if this is possible?

    Thank you! Much appreciated!

    Probably not without adding a non-printable tag at 08:00 in the page. ID running header variables are defined to use the page in progress, or look back only if there is no instance on the current page.

  • By the way the table of Clusters with binary strings via adapter LabVIEW

    I need to go through LabVIEW adapter table clusters containing binary strings.
    These data will be subsequently stored in the MySQL database.

    I need to force the option "Binary string" for the ValBinary element, even if my output array is empty.

    Is this possible?

    Used versions: TestStand 4.2.1 + LabVIEW 8.6.1

    Attached file: valbinary2.vi containing the clusters of test output array.

    Howdy Jean-Louis,

    My apologies, I'm not quite your question. You're right that LabVIEW does not know that a string is a binary star strong; LabVIEW, chain stores in a format of Pascal, looks like all the strands in the same way. Because TestStand stores strings in the C type format, on the other hand, the null (0x00) characters can be confusing when interpreting strings in TestStand as you learned to understand. That is of course why TestStand offers the feature to interpret strings as binary strings.

    As Sylvie refers to his post, to illustrate his point I created within TestSTand an array of the same type of data customized to store past out of your valbinary.vi of test data. Test patterns, I also edited the outputsome constant values to the cluster VI. (See the following screenshot). Note that the last string (named ValBinary) in the cluster contains a hexadecimal string with a null character that is inserted as the 3rd on-screen character (before the actual end of the string).

    Here is a screenshot of the created sequence file that calls the VI and then displays the number of items in the table from the VI to the user.  Note that the Locals.MyTestData table is empty before the execution of the sequence.

    Finally, as the execution of the sequence, I opened the Variables pane to view the contents of the Locals.MyTestData table. Here, I have confirmed that the "binary" string of LV was successfully passed in and stored by TestStand.

    Finally, the popup message in the second step of the sequence shows indeed a message indicating there were two elements in Locals.MyTestData.

    This sequence has been able to run successfully even without manually specifying a size of Locals.MyTestData beforehand. TestStand dynamically allocated the necessary elements to store the results of test valbinary.vi.

  • to BIND the variable SUBSTITUTION

    I have a code where I find dates START and end range for the past 3 years, the beginning Date must start on a Sunday and the end Date is at the end on Saturday using the weird system they have here:-)

    the end usable VARIABLE must be in YYYYMMDD format as number, because that's how they set up Date here... can anything about...

    So I thought to all the Dates, performing a combination of Variables of SUBSTITUTION AND LINKING, why I do like that it is because

    I received an error when I used just the variables SUBSTITUTION (maximum 240 characters used on the START DATE of the year2, in)

    switching to this, the error has disappeared), well that's what I thought he'll fix it.

    But now, when I try to use and VARIABLE in SQL, I get an error that it cannot use BIND variables, so try to pass values to a SUBSTITUTION

    afin_que this error disappears) - unless there is a better way?

    If there is a better way to stay maybe everything inside SUBSTITUTION and don't imply any LINK, maybe it would be better, if you guys know a way around the 240 character error...

    :-)

    My variables are:

    -find YEAR 1

    SET LY_END_DATE_NUM = "TO_NUMBER (TO_CHAR (NEXT_DAY ((SYSDATE-7), 'SATURDAY'), 'YYYYMMDD'));

    variable BIND_LY_END_DATE_N number;

    run: BIND_LY_END_DATE_N: = & LY_END_DATE_NUM;

    PRINT BIND_LY_END_DATE_N;

    SET LY_START_DATE = ' TO_DATE (: BIND_LY_END_DATE_N, 'yyyy-mm-dd')-363;

    SET LY_START_DATE_NUM = "TO_NUMBER (TO_CHAR (& LY_START_DATE, 'YYYYMMDD'));

    variable BIND_LY_START_DATE_N number;

    run: BIND_LY_START_DATE_N: = & LY_START_DATE_NUM;

    PRINT BIND_LY_START_DATE_N;

    -find YEAR 2

    SET YRS2_END_DATE = ' TO_DATE (: BIND_LY_START_DATE_N, 'yyyy-mm-dd')-1;

    SET YRS2_END_DATE_NUM = "TO_NUMBER (TO_CHAR (& YRS2_END_DATE, 'YYYYMMDD'));

    variable BIND_YRS2_END_DATE_N number;

    run: BIND_YRS2_END_DATE_N: = & YRS2_END_DATE_NUM;

    PRINT BIND_YRS2_END_DATE_N;

    SET YRS2_START_DATE = ' TO_DATE (: BIND_YRS2_END_DATE_N, 'yyyy-mm-dd')-363;

    SET YRS2_START_DATE_NUM = "TO_NUMBER (TO_CHAR (& YRS2_START_DATE, 'YYYYMMDD'));

    variable BIND_YRS2_START_DATE_N number;

    run: BIND_YRS2_START_DATE_N: = & YRS2_START_DATE_NUM;

    PRINT BIND_YRS2_START_DATE_N;

    -find YEAR 3

    SET YRS3_END_DATE = ' TO_DATE (: BIND_YRS2_START_DATE_N, 'yyyy-mm-dd')-1;

    SET YRS3_END_DATE_NUM = "TO_NUMBER (TO_CHAR (& YRS3_END_DATE, 'YYYYMMDD'));

    variable BIND_YRS3_END_DATE_N number;

    run: BIND_YRS3_END_DATE_N: = & YRS3_END_DATE_NUM;

    PRINT BIND_YRS3_END_DATE_N;

    SET YRS3_START_DATE = ' TO_DATE (: BIND_YRS3_END_DATE_N, 'yyyy-mm-dd')-363;

    SET YRS3_START_DATE_NUM = "TO_NUMBER (TO_CHAR (& YRS3_START_DATE, 'YYYYMMDD'));

    variable BIND_YRS3_START_DATE_N number;

    run: BIND_YRS3_START_DATE_N: = & YRS3_START_DATE_NUM;

    PRINT BIND_YRS3_START_DATE_N;

    Hello

    Kodiak_Seattle wrote:

    I have a code where I find dates START and end range for the past 3 years, the beginning Date must start on a Sunday and the end Date is at the end on Saturday using the weird system they have here:-)

    the end usable VARIABLE must be in YYYYMMDD format as number, because that's how they set up Date here... can anything about...

    So I thought to all the Dates, performing a combination of Variables of SUBSTITUTION AND LINKING, why I do like that it is because

    I received an error when I used just the variables SUBSTITUTION (maximum 240 characters used on the START DATE of the year2, in)

    switching to this, the error has disappeared), well that's what I thought he'll fix it.

    But now, when I try to use & VARIABLE in SQL, I get an error that it cannot use BIND variables, so try to pass values to a SUBSTITUTION

    afin_que this error disappears) - unless there is a better way?

    If there is a better way to stay maybe everything inside SUBSTITUTION and don't imply any LINK, maybe it would be better, if you guys know a way around the 240 character error...

    :-)

    My variables are:

    -find YEAR 1

    SET LY_END_DATE_NUM = "TO_NUMBER (TO_CHAR (NEXT_DAY ((SYSDATE-7), 'SATURDAY'), 'YYYYMMDD'));

    variable BIND_LY_END_DATE_N number;

    run: BIND_LY_END_DATE_N: = & LY_END_DATE_NUM;

    PRINT BIND_LY_END_DATE_N;

    SET LY_START_DATE = ' TO_DATE (: BIND_LY_END_DATE_N, 'yyyy-mm-dd')-363;

    SET LY_START_DATE_NUM = "TO_NUMBER (TO_CHAR (& LY_START_DATE, 'YYYYMMDD'));

    variable BIND_LY_START_DATE_N number;

    run: BIND_LY_START_DATE_N: = & LY_START_DATE_NUM;

    PRINT BIND_LY_START_DATE_N;

    -find YEAR 2

    SET YRS2_END_DATE = ' TO_DATE (: BIND_LY_START_DATE_N, 'yyyy-mm-dd')-1;

    SET YRS2_END_DATE_NUM = "TO_NUMBER (TO_CHAR (& YRS2_END_DATE, 'YYYYMMDD'));

    variable BIND_YRS2_END_DATE_N number;

    run: BIND_YRS2_END_DATE_N: = & YRS2_END_DATE_NUM;

    PRINT BIND_YRS2_END_DATE_N;

    SET YRS2_START_DATE = ' TO_DATE (: BIND_YRS2_END_DATE_N, 'yyyy-mm-dd')-363;

    SET YRS2_START_DATE_NUM = "TO_NUMBER (TO_CHAR (& YRS2_START_DATE, 'YYYYMMDD'));

    variable BIND_YRS2_START_DATE_N number;

    run: BIND_YRS2_START_DATE_N: = & YRS2_START_DATE_NUM;

    PRINT BIND_YRS2_START_DATE_N;

    -find YEAR 3

    SET YRS3_END_DATE = ' TO_DATE (: BIND_YRS2_START_DATE_N, 'yyyy-mm-dd')-1;

    SET YRS3_END_DATE_NUM = "TO_NUMBER (TO_CHAR (& YRS3_END_DATE, 'YYYYMMDD'));

    variable BIND_YRS3_END_DATE_N number;

    run: BIND_YRS3_END_DATE_N: = & YRS3_END_DATE_NUM;

    PRINT BIND_YRS3_END_DATE_N;

    SET YRS3_START_DATE = ' TO_DATE (: BIND_YRS3_END_DATE_N, 'yyyy-mm-dd')-363;

    SET YRS3_START_DATE_NUM = "TO_NUMBER (TO_CHAR (& YRS3_START_DATE, 'YYYYMMDD'));

    variable BIND_YRS3_START_DATE_N number;

    run: BIND_YRS3_START_DATE_N: = & YRS3_START_DATE_NUM;

    PRINT BIND_YRS3_START_DATE_N;

    Let me make sure I understand the problem.

    One year, in this problem, is exactly 364 days.

    You want the year that ended on the most recent Saturday (otherwise said, the year ending Saturday between 6 days ago and today) and two years ago.

    You want the first date in each of those years and the last date each year, in the format YYYYMMDD.

    Is this fair?

    Here's a way to define variables of substitution (with names like year_1_start):

    COLUMN y1_start new_value by year_1_start

    COLUMN y1_end new_value by year_1_end

    COLUMN y2_start new_value by year_2_start

    COLUMN y2_end new_value by year_2_end

    COLUMN y3_start new_value by year_3_start

    COLUMN y3_end new_value by year_3_end

    WITH got_y1e AS

    (

    SELECT NEXT_DAY (SYSDATE - 7 'SATURDAY') AS y1e

    OF the double

    )

    SELECT TO_CHAR (y1e + 1 - (364 * 3), 'YYYYMMDD') AS y3_start

    , TO_CHAR (y1e - (364 * 2), 'YYYYMMDD') AS y3_end

    , TO_CHAR (y1e + 1 - (364 * 2), 'YYYYMMDD') AS y2_start

    , TO_CHAR (y1e - 364, 'YYYYMMDD') AS y2_end

    , TO_CHAR (y1e + 1-364, 'YYYYMMDD') AS y1_start

    , TO_CHAR (y1e, 'YYYYMMDD') AS y1_end

    OF got_y1e

    ;

    If you prefer that bind variable, write an anonymous PL/SQL block and use the same logic to 6 variables.

  • Am I able to configure a wireless iMac keyboard to emulate the way a Windows keyboard responds to a depression of the DELETE keys and BACKSPACE?

    Am I able to configure a wireless iMac keyboard to emulate the way a Windows keyboard responds to a depression of the DELETE keys and BACKSPACE? I want to delete either to the left right GOLD of the cursor. By pressing the DELETE key on Mac does remove one way, but I want the ability to delete in both directions. The Windows keyboard provides a delete key to remove to the right and a key to return back to remove to the left. So I can configure an iMac for this keyboard? My thought is to keep the delete key as it is and ADD a new function to one of the function keys to delete characters to the left. Thanks for your time and your help.

    Mac can go both ways, in case this is useful.  You can use fn more delete to delete to the right.  Also control more.

  • Does anyone know if you are limited in the number of characters in the text field?

    I have the scrolling text of the distant rear side right up to the edge on the left front. I only get to halfway through the message of full text and letters are mixed at the any end. is there a limit on the number of characters I can use? Is there a setting a limitation I can increase?

    It seems to be. I figured it at approximately 16000 characters more or less (or even lower). (Estimated from the original character TextEdit limit as it seems to be this type of core service text text handling in movement and FCPX.)  I drew this conclusion during the development of a method to create a movement subtitles. It finally turned out that I had to cut the scripts into pieces 'chapter of size' to keep the character countdown. I never got to finish this tutorial and it has been quite some time now (and I can't not find my notes on the subject). It could be that the number of characters estimated is actually lower.

    There is no way to reset the limit.

  • The analysis of the non-numeric characters in a string

    Hello

    I am communicating a robot to LabVIEW (2013) via TCP/IP and sockets. The robot is the server, and LV is the customer.

    I start with the target data in this format (in a string):

    "[0 ~ 100 ~ 0] ~ [0.96593 ~-0.25882 ~ 0 ~ 0] ~ [1 ~ 0 ~ 0 ~ 0] ~ [150 ~ 50]."

    [X, Y, Z], [Q1, Q2, Q3, Q4], [C1, C4, C6, Cx], [TCPVel, OrientVel] except replacement ',' (comma) with a ' ~ ' (tilde) because I load the target data in a spreadsheet which is a comma-delimited file.

    In LV, I take this string, the analysis of the chain and split individual items. I then pulled the singular elements as unique, 32-bit of real numbers. I take each one and convert them individually to a string, concatenate them and send them to the robot. The robot decompresses these raw bytes individually and converts them to a target of robot (position in space).

    I train (BT) check if the user has sent a bad character (non-digital) in the target data. Example of this is:

    [- 50 ~-150 ~ 0] ~ [0.96593 ~-0 ] [B2has5D882 ~ 0 ~ 0] ~ [1 ~-1 ~ 0 ~ 0] ~ [150 ~ 50]

    Now in BT, when I'm scanning the chain, these bad character becomes the entire element to zero and everything else then to zero as well. See attachment for example screen similar.

    My question is, my VI, I can analyze all non-numeric characters (that are inside the parentheses and characters that are NOT a ' ~ ' (tilde))? In this way, I can always get this item numbers and do not have this element or other items turn to zero?

    Thanks in advance for any help!

    Sorry for the question of the test

    SM


  • Scale along the way

    "Animation guide based on the width of the variable line", number 2, I can't find "Interpolation" to activate "scale along the way.

    The create link paths to animate CC

    Thank you

    You would have a layer that is a line that you want to track. This layer would be attached to a Guide layer. In the next layer, you have your object you want to follow the line. Drag the object on the layer of the line layer, so that it is off.

    Do a lot more images, to the duration of the desired animation. Right-click on the object's layer in the timeline and create a classic Tween.

    Go to the first image and drag the object until it snaps into the beginning of the line. Go to the last image and drag the object so that it snaps onto the end of the line. You should be able to scrub the timeline now and see the object to move along the line.

    Click on in the timeline, on the first frame of the layer of the object. In properties, you should now see the option to scale the long way and other things you can do with colour or orientation.

    If you click this box, that nothing will not be changed, you will need to use the width tool to change the thickness of the line. Do not get carried away, very slight changes in the width of the line will represent a large percentage of change. It might be interesting to start with a thick line.

  • Namespaces and the way how?

    I have a problem with the notion of namespaces and the path.

    I try this code

    xml_response variable varchar2 (4000);

    BEGIN

    : xml_response: =.

    ' <? XML version = "1.0" encoding = "UTF-8"? >
    " < s: Envelope = xmlns:S ' http://schemas.xmlsoap.org/SOAP/envelope/ ">
    < Body >
    " < GenerateLabelResponse xmlns =" https://www.mypostbusiness.ch/WSBC/barcode/v2_2/types ">
    <>envelope
    < LabelDefinition >
    < ImageFileType > PDF < / ImageFileType >
    < / LabelDefinition >
    < data >
    <>provider
    send to <>
    < item >
    < > 12346 ItemID < / ItemID >
    < code > 993314781300000277 < / IdentCode >
    < image > Base64 encoded data < / Image >
    < / point >
    < / shipping >
    < / provider >
    < / data >
    < / envelope >
    < / GenerateLabelResponse >
    < / Body >
    < / s: Envelope > ';

    END;
    /

    SELECT x1.*
    FROM XMLTable)
    XMLNamespaces (default 'https://www.mypostbusiness.ch/wsbc/barcode/v2_2/types"")
    , ' / GenerateLabelResponse/envelope/data/provider/consignment/Item.
    by the way xmltype(:xml_response)
    columns
    Path of varchar2 (30) ItemID "/ ItemID',"
    Path of varchar2 (30) IdentCode ' / IdentCode'
    ) x 1
    ;

    and have a return of any line.

    I think that the namespaces determine the root of the path and I have to follow the path since I was in the right column.

    What's wrong?

    Determine the correct path is very simple and intuitive.

    Do not be confused by namespaces.

    Namespace is only part of the name of the node.

    A node name is a qualified name that consists of two parts:

    -a local name

    -a namespace uri

    Consider your current sample where you want the item target .

    You just have to ask you this question:

    'Which node (s) that I have to cross to reach the node of the root target?'

    To answer this question, begin to navigate the XML from the root node:

    (1) s: Envelope

    (2) body

    (3) GenerateLabelResponse

    (4) envelope

    (5) data

    (6) provider of

    (7) shipment of

    (8) article

    Steps 1 and 2 are elements belonging to the namespace "http://schemas.xmlsoap.org/soap/envelope/", this namespace is bound to from the ' prefix in the XML document.

    Rest of the steps up to 8 are elements belonging to namespace "https://www.mypostbusiness.ch/wsbc/barcode/v2_2/types", without the prefix bound but a declaration of default namespace instead.

    If the path is:

    /env:envelope / env:Body / GenerateLabelResponse/envelope/data/provider/consignment/article

    where "env" is the prefix bound the SOAP name space, I could have chosen the of ' as in the document but I intentionally chose another, the only important is the uri that it represents.

    Other nodes in this way belong to the default namespace, so let's not forget declare it as well.

    Final request:

    SELECT x1.*
    FROM XMLTable(
           XMLNamespaces(
             'http://schemas.xmlsoap.org/soap/envelope/' as "env"
           , default 'https://www.mypostbusiness.ch/wsbc/barcode/v2_2/types'
           )
         , '/env:Envelope/env:Body/GenerateLabelResponse/Envelope/Data/Provider/Sending/Item'
           passing xmltype(:xml_response)
           columns
             ItemID    varchar2(30) path 'ItemID',
             IdentCode varchar2(30) path 'IdentCode'
         ) x1
    ;
    
  • Is it possible to change the limit of characters for a line of text?

    How can I get Indesign to allow more words/characters per line - is there settings that modify the way he hit the words to the next line.

    In the first example (1), there is plenty of room for "la" in the top line, and if I type "the" again or press ENTER after the first "the" (example 2) it includes it on the top line, but how to keep on the top line (without adding another word or hit enter whenever that happens) Please?

    Example 1

    Screen Shot 2016-04-18 at 00.46.09.png

    Example 2

    Screen Shot 2016-04-18 at 00.45.58.png

    Paragraph composer, what in fact the line by default, InDesign break decisions based on the good of the whole paragraph. Try the single-line composer.

    1. Click on the button after the lightning on the far right of the control panel:
    2. then choose single line composer:

Maybe you are looking for