Hi there,
I am just starting with NAV customizations and have a question on best way to extend the long table. The customization I am working on requires new fields for the table with record length of 4000 so I cannot add the new fields into that table. I have to create an "extension" table with additional fields and the key matching the original table's key. The base table's triggers handle the creation / update of the extension table records. The new fields just need to be added to the existing maintenance form i.e. user should not know that the data is coming from another table.
Is there an example of card form that has editable fields from multiple table that I could use as a template?
Thanks,
Dmitriy Kuznetsov
0
Comments
Dmitriy I think if you need more than 4,000 then the issue is bad database design. better is to fix the design.
Thanks,
Dmitriy
I agree with David by the way, I'm not convinced that you're on the right track desin-wise, but to make that determination I'd have to be closely involved in your project. Good luck with your form
RIS Plus, LLC
MVP - Business Apps
Regarding the design approach, I thought about it but could not find a good solution so if you guys could give me an advice on other options I would greatly appreciate it. I am customizing the vertical line of business app that rides on top of NAV. There is a table in there (part of that package) that represents a certain entity from that app. As part of customization, for each instance (record) of that entity the application must capture some additional data elements. So naturally my first reaction was to add new fields to that table and form. Unfortunately the table is 4000 characters long so I cannot add a new field, not a single one. So I created another table that is an "extension" of the original table, and maintain one-to-one relationship between the two within the primary table's triggers. Then I will add the new fields to the original form (will try the subform approach) so that both tables could be maintained on the same form.
Thanks,
Dmitriy
4000 characters sounds more like you would put that into a Word document, which I would probably store in a network folder and provide access through document links. If it's straight text I would consider using waldo's navpad (search the download section)
RIS Plus, LLC
MVP - Business Apps
but remember one thing!
especially if you want to let the user edit the subform, keep in mind that the user can change the record he is in!
So take care that always the correct (and only) record of the table is shown.
If I understand right, you have only ONE additional record...
If you just have a few fields, consider of using form-variables displaying and editing the values.
Dmitriy
Tab 3 has no fields.
First I move all the field from tab 4 to 3
Second I move all the fields from tab 5 to tab 4.
Now I remove the tab field name of tab 3 & it's done.
Note: the tab removed is always the last one so you can't just "PULL OUT" a tab.
http://www.BiloBeauty.com
http://www.autismspeaks.org
So say your tabcontrol has the following pages: "General,Invoicing,Replenishment", and you want to remove the Invoicing tab. First you remove all the fields from the tab, and then you change the Pages property to "General,,Replenishment", note how the commas are still all there. No need to move the fields from the Replenishment tab first.
RIS Plus, LLC
MVP - Business Apps
http://www.BiloBeauty.com
http://www.autismspeaks.org
RIS Plus, LLC
MVP - Business Apps