Microsoft Dynamics Support Forum Index Microsoft Dynamics Support
Visit the Microsoft Dynamics newsgroups and exchange ideas with a community of business professionals and product experts from around the globe.
 
   ProfileProfile   Log in to check your private messagesLog in to check your private messages  |  FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups Log inLog in   RegisterRegister 

Max String Character for SQL in SP5

 
Post new topic   Reply to topic    Microsoft Dynamics Support Forum Index -> Microsoft XAL
Author Message
Larsson Eskil
Guest





PostPosted: Fri Jan 25, 2008 10:29 pm    Post subject: Max String Character for SQL in SP5 Reply with quote

The character used for filling out empty searchfields has been changed from
ASCII 255 to 253., for SQL.
This does not work in Forms like CredPurchaseStat, but works alright in
Qtx'es.

What is the reason for this change. I can't find any documentation on this
change.

/Eskil
Back to top


Hannsjörg Zdarsky (Micro
Guest





PostPosted: Mon Jan 28, 2008 5:54 pm    Post subject: RE: Max String Character for SQL in SP5 Reply with quote

Hi, Eskil,

the reason for the change is the existence of NULL and NaN values in SQL
databases, which do not exist in the Native database.
If a SQL query performs a comparison against these special values, the
result will be false.

If you think, that the usage of the new maximum characters has not been
implemented correctly throughout the kernel, then I kindly ask you to send
the description with a reproduction scenario to the XAL support, so that the
report gets verified officially.

Thank you very much in advance
Hannsjörg Zdarsky
Software Design Engineer
Microsoft Deutschland GmbH


"Larsson Eskil" wrote:

Quote:
The character used for filling out empty searchfields has been changed from
ASCII 255 to 253., for SQL.
This does not work in Forms like CredPurchaseStat, but works alright in
Qtx'es.

What is the reason for this change. I can't find any documentation on this
change.

/Eskil


Back to top


A.Bommersbach
Guest





PostPosted: Tue Feb 19, 2008 1:08 pm    Post subject: Re: Max String Character for SQL in SP5 Reply with quote

Hi,

so that's the reason for some wrong values in reports especially in
accounting. When there is a box where you enter a "centre" and you do
not enter a value for the "to"-field, then all transactions with a
centre given are ignored and the results are wrong. I mean, my own
work-around is to fill the fields with "9999999999" and the results
are the right ones...

Is it better to change the Macro MaxStr to how it was in older
versions to make sure results are right?

Axel
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Microsoft Dynamics Support Forum Index -> Microsoft XAL All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Powered by phpBB © 2001, 2005 phpBB Group

eXTReMe Tracker