Virtual table 2000000022 - File - Which keys?

andy76
Member Posts: 616
Hello,
how do I know the keys of virtual table 2000000022 - File.
Is that possibile order the file by date?
Is it possible to see the structure/design of virtual tables?
Thank you
how do I know the keys of virtual table 2000000022 - File.
Is that possibile order the file by date?
Is it possible to see the structure/design of virtual tables?
Thank you
0
Comments
-
use function currentkey and also you can use virtual table(key);0
-
If I write this code:
gRecFile.SETCURRENTKEY(Date);
I have this error message:
The file table does not have an active key that start with the following field(s): Date0 -
If I create a new form on this table and run it, then by changing the sorting I only see the primary key.
I suppose there is no other key...0 -
I made same thing and only see this primary Path,Is a file,Name
Isn't there a method for which I could order the file by Date?
Thank you0 -
You can create a similar table with any key you like, move that data in that table and sort it there.
This could also be a temporary table.0 -
kapamarou wrote:If I create a new form on this table and run it, then by changing the sorting I only see the primary key.
I suppose there is no other key...
hi,
As far as my knowledge virtual table is use only for exicute we can not change (insert,delete,modify,rename..etc).
so if we use SETCURRENTKEY, will not work b'coz that key must be placed on this table.0 -
vijay_g wrote:hi,
As far as my knowledge virtual table is use only for exicute we can not change (insert,delete,modify,rename..etc).
so if we use SETCURRENTKEY, will not work b'coz that key must be placed on this table.
I don't understand what exactly you mean.
Yes, virtual tables are not editable.
But you can transfer the data to a "real" table declared as temporary that has a usable key.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