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

offset

Former Member
0 Likes
490

hi,

how to use offset in report.suppose if i want to use srtfd from table rfdt and want to match the user name and the document number separately .how do i separately use them for.eg : name = srtfd(+0(10)); or

doc no. = srtfd(+12(10));

can anyone show me by an example.???

regards

thanks

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
469

Hi,

If the First 10 charecters are User name then

NAME = SRTFD+0(10). " It will move the first 10 charecters

DOC_NO = SRTFD+11(12). " The it will take from 11th charecter to 23 charecter

Regards

Sudheer

3 REPLIES 3
Read only

Former Member
0 Likes
470

Hi,

If the First 10 charecters are User name then

NAME = SRTFD+0(10). " It will move the first 10 charecters

DOC_NO = SRTFD+11(12). " The it will take from 11th charecter to 23 charecter

Regards

Sudheer

Read only

Former Member
0 Likes
469

Hi Sudipta,

Name = strfd + 0(10)

doc no = strfd + 12(10).

here name contains first 10 char's of strfd and doc no contains from 12 th char to 21 rd char

Reward points for helpful answers,

kiran.M

Message was edited by:

KIRAN KUMAR

Read only

Former Member
0 Likes
469

hi,

use the offset as follows:

doc_number = srtfd+12(10).

regards,

Navneeth K.