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

Smartform problem

Former Member
0 Likes
1,039

Hi guys.

i am printing variables on the smartform.

if the value of variable is blank still i get blank lines on the smartform.

I have already used the condition for all the variables i am displaying:

/: IF V_STREET NE ' '

  • &V_STREET&

/: ENDIF

and so on for other variables also.

How can i supress the blank spaces displayed on smartforms if the variables are blank.

Regards,

GURU

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,023

Double click on the text element & goto CONDITIONS tab.

Put the condition there.

11 REPLIES 11
Read only

Former Member
0 Likes
1,024

Double click on the text element & goto CONDITIONS tab.

Put the condition there.

Read only

Former Member
0 Likes
1,023

Hi,

Go to conditions and write variable name ne ''.

Regards,

Himanshu

Read only

Former Member
0 Likes
1,023

hi,

Hope you use smartforms in the TEXT node for printing the V_STREET, In that text node click on the tab CONDITIONS there you can find three column,

In first column type V_STREET second select NE symbol,and in the third put INITIAL..

regards,

Prabhu

reward if it is helpful.

Read only

0 Likes
1,023

Hi,

I am displaying 10 variables each with condition NE ' ' and the text type i have used Text element.

Is there any other solution to this problem.

If i go by yours solution i will have to create 10 text for 10 variables.

Thanks in advance for your efforts.

Regards,

GURU

Read only

Former Member
0 Likes
1,023

Hi,

Plese try using space also .

Hope this helps .

Praveen.

Read only

0 Likes
1,023

i tried with space.

it does not work.

Regards,

GURU

Read only

Former Member
0 Likes
1,023

Hi,

Use No-gap with condess command.

Rewards points if it is useful.

Read only

Former Member
0 Likes
1,023

HI Guru,

Pleaes changed the code as:

/: IF <b>&V_STREET&</b> NE ' '

  • &V_STREET&

/: ENDIF

Hope it will work fine.

Regards

Krishnendu

Read only

0 Likes
1,023

Already have in &

Typing mistake in question.

Read only

Former Member
0 Likes
1,023

try with

/: IF &V_STREET& NE &SPACE&

  • &V_STREET&

/: ENDIF

Regards

Krishnendu

Read only

Former Member
0 Likes
1,023

hI,

By using CODENCE Statement we can suprewss the blank lines in programe.

if it use full answer please reward me a points.

regards.

praveen