logo

Warning: The forum is now for consultation only. Please use GitHub Discussions to post any questions or comments.


Welcome Guest ! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
hoseinyasad  
#1 Posted : Friday, January 8, 2016 10:46:14 AM(UTC)
hoseinyasad

Rank: Newbie

Groups: Registered
Joined: 1/8/2016(UTC)
Posts: 2
Iran (Islamic Republic Of)
Location: sanandaj

Thanks: 1 times
Would you tell me, please, where I can use N prefix before string in filter string?
seal will generate sql like:
SELECT ..... FROM a_table WHERE a_field in ('x','y')

but for unicode problem I must change pattern to

SELECT ..... FROM a_table WHERE a_field in (N'x',N'y')

Thank for guidence.
epf  
#2 Posted : Friday, January 8, 2016 1:21:51 PM(UTC)
epf

Rank: Administration

Groups: Administrators
Joined: 12/20/2013(UTC)
Posts: 1,209
Switzerland

Thanks: 14 times
Was thanked: 206 time(s) in 199 post(s)
I imagine you need that for special characters.
Actually you cannot do that with the current version,
you have to re-build the project and modify the function
GetSQLValue(string value, DateTime date, Operator op) in ReportRestrictions.cs to add the N

We will check if adding this option is relevant for the incoming 2.0 version.
thanks 1 user thanked epf for this useful post.
hoseinyasad on 1/8/2016(UTC)
hoseinyasad  
#3 Posted : Friday, January 8, 2016 2:44:36 PM(UTC)
hoseinyasad

Rank: Newbie

Groups: Registered
Joined: 1/8/2016(UTC)
Posts: 2
Iran (Islamic Republic Of)
Location: sanandaj

Thanks: 1 times
Originally Posted by: epf Go to Quoted Post
I imagine you need that for special characters.
Actually you cannot do that with the current version,
you have to re-build the project and modify the function
GetSQLValue(string value, DateTime date, Operator op) in ReportRestrictions.cs to add the N

We will check if adding this option is relevant for the incoming 2.0 version.


i need that for special characters and this problem is for all right to left Languages like Hebrew and Arabic that uses unicode characters.
Users browsing this topic
Guest (3)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.