I can do the TL symbol as seen in the sample code below. But I can make usd euro symbols

This forum is for the exchange of ideas and suggestions regarding the 1C:Developer Network

#1
People who like this:0Yes/0No
Just came
Rating: 1
Joined: May 8, 2018
Company: Profsis Yazılım Ltd. Şti.

I can do the TL symbol as seen in the sample code below.
But I can make usd euro symbols

CASE
WHEN SatışİrsaliyesiSatırlar.DövizTürü = VALUE(Enum.DövizTürleri.TRY)
THEN "TL"
WHEN SatışİrsaliyesiSatırlar.DövizTürü = VALUE(Enum.DövizTürleri.EUR)
THEN "€"
WHEN SatışİrsaliyesiSatırlar.DövizTürü = VALUE(Enum.DövizTürleri.USD)
THEN "$"
ELSE ""
END

If the symbol I want to make is ₺

 
#2
People who like this:0Yes/0No
Administrator
Rating: 23
Joined: Oct 3, 2019
Company:

Dear Harun,
unfortunately, there is no way to write a lyre sign in the query text.

Nevertheless, the developer can print the "₺" sign. The "Char(Unicode)" function can be used for this. Pls, see the example:

Code
&AtClient
Procedure Command2(Command)
   
      Message(Char("8378"));
   
EndProcedure

Download 1.png (3.86 KB)
 
#3
People who like this:0Yes/0No
Just came
Rating: 0
Joined: Apr 28, 2021
Company:

Dear Harun,

May be it will be better if you'll make currency to be a Catalog, not Enumeration. And in this Catalog you'll be able to specify any unicode string in name (or other field).

 
Subscribe
Users browsing this topic (guests: 1, registered: 0, hidden: 0)
Be the first to know tips & tricks on business application development!

A confirmation e-mail has been sent to the e-mail address you provided .

Click the link in the e-mail to confirm and activate the subscription.