prevent accidental change on table content

dsatria
Member Posts: 80
As IT support, we occasionally run a table (via Object Designer) for investigation purposes.
Is there a way to avoid unintended change on a field's content?
We're thinking of something like Object Designer form itself where we cannot modify a field until we press F2 (or click it again).
Is there a way to avoid unintended change on a field's content?
We're thinking of something like Object Designer form itself where we cannot modify a field until we press F2 (or click it again).
0
Comments
-
1) we all have that problem, so we have to be very carefull.
2) if you change a field and you haven't left the field, you can use ESC to exit the field without changing it.
3) if you are using the developpers license, you can create a form on-the-fly for the table you want to see and put property "InlineEditing"=Yes on the tablebox. In this way you cannot change the fields unless you hit F2. And you don't have to create a form for all the tables you MIGHT want to run.Regards,Alain Krikilion
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!0 -
Hi, Alain!
Thank you for your reply!
Would you kindly share with us how to create such a form that can access content of any table a user may choose at runtime?0 -
I think that Kriki means, that instead of run the table you can go to the forms, click new, use wizard to create new table form with all fields, change the property and run the form without saving... :-)0
-
IC
Does it also mean that there is no way we can modify SourceTable property at runtime?0 -
No, you can't change the sourcetable-property at runtime.
But since version 3.60 you have recordreference. So you might put the Sourcetable-property to Integer (=the integer table).
On the form you might ask the user wich table he wants to see.
Open a recordreference on that table and let the form (with OnFindRecord and OnNextRecord) take a record from that table.
How to show the fields on the form:
You have to define lot's of fields of type text (they can contain all types). In the OnAfterGetRecord-trigger, you can fill the variables.
For the column-caption, I posted a method to use the captions you want, you can look at http://www.mibuso.com/forum/posting.php?mode=reply&t=6744 (I hope this URL works, if not search the forum for "CaptionClass").
To put filters on the table, you will need an extra form in which the user can put them, and then set them on the recordreference.
In all, if you want to do this, you will have some programming to do.Regards,Alain Krikilion
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!0 -
Hmm :-k I think it will take some time for me to "digest" what you suggest since I'm still new on navision programming
But it always pleasant to learn something new (except when we are overwhelmed by daily tasks)
I'll post again as soon as I make progress0
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