FORM1.RUN :- SETTABLEVIEW & Temporary Table

navuser1
Member Posts: 1,334
Hi,
How to run a form object variable whose SETTABLEVIEW has Temporary Record set.
kindly reply.
How to run a form object variable whose SETTABLEVIEW has Temporary Record set.
formobjcet.SETTABLEVIEW(TemporaryTable); formobjcet.RUN;
kindly reply.
Now or Never
0
Comments
-
It is not possible to do this via a tableview, because the data isn't really in the database, and the form you are calling does not have access to the temporary table in the code you are calling from. What you can do is the following : Set "SourceTableTemporary" of the form you are calling to "yes", add a function that copies records from the original temp. table to the one of the form.1
-
and the form you are calling does not have access to the temporary table in the code you are calling from.
Please explain.Now or Never0 -
A temporary table is only in-memory for the code it is declared in and not really present in the database. SETTABLEVIEW would filter the form you are calling, but because that form will be looking at the real table in the database.0
-
SourceTableTemporary" = "yes"
Could it solve my both the purposes ?
Actually I want to see real data & temp data from the same form object.
In default Cronus Database, Item list form shows real data by default and now I change its
SourceTableTemporary" = "yes" to show temp data (may be the pk which I want to display is not available in real database).
Now will it work for both the purposes ?
I've not tested it. :-#Now or Never0
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