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

Error in extended program check

Former Member
0 Likes
2,043

Hello Everybody,

In my program i have declared a constant having a file path value, like this.

constants: file_path(30) value 'ac:/documents/file/'.

In extended program check I am getting the following error.

'Character strings without text elements will not be translated'.

As I need to make my program error free how to resolve this error.

Thanks&Regards,

Mungala.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
880

Hi ,

since you Hard coded the text it is showing error in EPC.

Create one text element with the same value and assign that text elment to the variable.

Regards,

RK

5 REPLIES 5
Read only

Former Member
0 Likes
880

Hi,

For this, you define your text as text elements.

in your report Goto->text elements->text symbols

write no 001 in sym column and your text in text column.

save and activate.

in program write text-001.

Or you can also write like 'your text'(002)

Double click on 002. This will automatically create a text element with your text and no 002. Save and activate this.

You need to write all your hard coded texts as text symbols.

This error is generated as it is advised to use text symbols in place of text as it is easier to translate the text symbols in other languages if the report needs to be run in a different language.

Hope this helps.

Regards,

Richa

Read only

Former Member
0 Likes
880

Hi,

You declare a Text variable for this or otherwise MAke them CAPITAL Letters

this will solve your problem

Regards

Shiva

Read only

Former Member
0 Likes
880

hi,

constants: file_path(30) value 'ac:/documents/file/'(001).

double click on 001 and create a text element ... save and activate to remove the error .

Regards,

Santosh

Read only

Former Member
0 Likes
880

Hi,

Go to- text element. make s text element for your file path and give it instead of your file name. it will not give error.

reward if useful

ruchika

Read only

Former Member
0 Likes
881

Hi ,

since you Hard coded the text it is showing error in EPC.

Create one text element with the same value and assign that text elment to the variable.

Regards,

RK