How is a NEW key added to a Table? Customer Table?
emulsified
Member Posts: 139
My goal is to print Customer Labels sorted in Ascending order by Post Code/Zip Code.
I have created LABEL reports with report writer. It seems the only closest KEY I can SORT by is "City, State, Zip" which is not what I need to do. :shock:
We send BULK MAILERS & CATALOGS via USPS and these labels need to be in order by Zip Code.
I have been using NODBC with Excel and Word Avery Templates to accomplish this on a temporary basis. :evil:
:?: How do I add a KEY "Post Code/Zip Code" to the customer table so that I may use the following in my On-Pre sections:
I am not really interested in using a temptable, want to keep coding to a minimum.
Any help would be great...
I have created LABEL reports with report writer. It seems the only closest KEY I can SORT by is "City, State, Zip" which is not what I need to do. :shock:
We send BULK MAILERS & CATALOGS via USPS and these labels need to be in order by Zip Code.
I have been using NODBC with Excel and Word Avery Templates to accomplish this on a temporary basis. :evil:
:?: How do I add a KEY "Post Code/Zip Code" to the customer table so that I may use the following in my On-Pre sections:
SETCURRENTKEY("Post Code");
ASCENDING(TRUE);
I am not really interested in using a temptable, want to keep coding to a minimum.
Half-empy or half-full how do you view your database?
Thanks.
Thanks.
0
Comments
-
In the customers tables design view
go to view>keys & add the new keys you neededWith thanks
Anand Kumar
Navision Technical Consultant0 -
\:D/ Added the KEY for Zip Code and now I have my sort I needed!
:arrow: Now the fun of making the report align to Avery 5260 mailing labels. If only a template report existed. :-kHalf-empy or half-full how do you view your database?
Thanks.0 -
Hi,
My developers License doesn't allow me to change the key on the table so that my reports sorts properly.
How do I change the way the report sorts without having to add a key in the table?
I need this specific report to first sort on, Picking Slip No. in the key below.
Reservation Status,Source Type,Source Subtype,Source ID,Source Ref. No.,Picking Slip No.,Picking Slip Line No.Ivan Lötter0 -
Are you trying to change a key, or to add key?
If you have a dev license, you should be able to add a key in any table (except tables from an add-on).
Keep in mind, if you add a key for only this report, I suggest you to uncheck the "maintainSQLIndex" property.0 -
I'm afraid that is not possible. NAV needs a key to be able to sort. It cannot sort without a key.ivanlotter wrote:How do I change the way the report sorts without having to add a key in the table?0
Categories
- All Categories
- 75 General
- 75 Announcements
- 66.7K Microsoft Dynamics NAV
- 18.8K 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
- 610 NAV Courses, Exams & Certification
- 1.9K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 251 Dynamics CRM
- 103 Dynamics GP
- 6 Dynamics SL
- 1.5K Other
- 991 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 28 Design Patterns (General & Best Practices)
- Architectural Patterns
- 9 Design Patterns
- 4 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1K General Chat
- 1.6K Website
- 77 Testing
- 1.2K Download section
- 23 How Tos section
- 249 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions

