MS SQL 2000

wochm
Member Posts: 26
I use Navision Financials 2.60 on Microsoft SQL Server 2000 and I have problem with sorting text and code fields.
I mean, on native db we have e.g. this order: 1, 2, 3, 10, 12, 100, but on SQL order looks as follows:
1, 10, 100, 12, 2, 3.
So could someone help me to solve this problem?
Please, send answers on my private address:
marcinwoch@wp.pl
Marcin Woch
I mean, on native db we have e.g. this order: 1, 2, 3, 10, 12, 100, but on SQL order looks as follows:
1, 10, 100, 12, 2, 3.
So could someone help me to solve this problem?
Please, send answers on my private address:
marcinwoch@wp.pl
Marcin Woch
0
Comments
-
In the Navision field properties the SQL-FieldType is "Varchar" as a default. So the sorting is as described. If the field-values are always numeric, then you could change the SQL-Field to "Integer".
See the Doku of the upgrade-toolkit, that comes with your product-cd. There the upgrade from the C/Side-Database to SQL is explained in detail.0 -
Thanks for your reply.
I know this property, but it is not solution to my problem. A can not use non-integer values.
Other problem but connected with above mentioned, is:
I put one record into e.g. Customer table and the number of customer is 'A', and I put another record with number 'A-1'.
In NF database 'A' is before 'A-1', int SQL 'A-1' is first. So when I try to fill an invoice with 'A' customer, program automatically fills in "Sell-to Customer No." field value 'A-1' even though I choose 'A' customer.
I can not fill any document with 'A' customer on SQL 2000 database using NF client.0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions