Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Script Paragraph Format-TAB position Problem....

Former Member
0 Likes
1,097

In Script- Medruck , There is a line:

IM ,,,,,,Qty. ,,Unit ,,Deliv. date ,,,,&ETUHRTXT&

where IM is a paragraph format with TAB positions at:2,3,23,24,34,40,51,57.

what is the meaning of ,,,,,,Qty ????

what is the difference in writing :

IM ,,Qty,,Unit,,Deliv. date,,&ETUHRTXT& AND

IM ,,,,,,Qty. ,,Unit ,,Deliv. date ,,,,&ETUHRTXT&

How would the Display look like??

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,032

Hi,

,,,,,,Qty means that it would take the 3rd Tab i.e.it woudl start from 23 places.

Regards,

Ankur Parab

9 REPLIES 9
Read only

Former Member
0 Likes
1,033

Hi,

,,,,,,Qty means that it would take the 3rd Tab i.e.it woudl start from 23 places.

Regards,

Ankur Parab

Read only

0 Likes
1,032

Then if u declare as:

IM ,,Qty,,Unit,,Deliv. date,,&ETUHRTXT& AND

U are specify only one tab(,,) between all the Fields..

Then - Qty, Unit, Deliv. date & value &ETUHRTXT& all starts at first tab position .. which means the text is being overwitten every time from 2nd character..

Is this correct ??

Read only

0 Likes
1,032

Hi Srikar,

Yes if you give all in the first tab i.e (,,) for all fields it will overwrite.

so that the tab delimeter to be given to align in correct positions.

Read only

0 Likes
1,032

no.

two commas (,,) means one tab. if within the same paragraph format another ,, appears this means the second tab then.

Read only

0 Likes
1,032

Hi Srikar again,

If you are putting one tab position after every field, in this case count tab position from the starting i.e. from first variable and go on countin till end . This will take you adding position one after other and it will not overlap.

e.g. Mat,,qty,,price

and tab position as 1 : 5 2: 10 3: 15 4:20

then mat will start at 1 to 5 and qty will from 10 onward.

Regards,

Vijay

Read only

0 Likes
1,032

now lets take an example:

A Paragraph format with Tabs at- 1,5,10,15,20,25,30 CH

,,Qty,,,,Material,,Description,,,,Menge,,Amount

1---10


15
25

30
--


[character position at the Mentioned tab]

Hope this is the way.....

Any corrections......

Read only

0 Likes
1,032

Hi Srikar again,

I think you are right. Try this with your script. Because many thing you will get solved practically and don't forget to maintain alignment accordingly.

Regards,

Vijay

Read only

Former Member
0 Likes
1,032

Hi,

A double comma ,, means a tab position so if you are putting ,,,, it will take you to 2nd tab position, any set of ,, after that will take you further tab positions.

Regards

Vijai

Read only

Former Member
0 Likes
1,032

Dear Srikar,

Tab position indicates position to be fixed on the print.

In your case the Qty field appears after three tab position. i.e. ,,,,,,Qty

This indicate that Qty field will start at end end of third tab.

Hope this will help you solve your problem. Feel free to ask if you have any doubt.

Regards,

Vijay