identity wrote:Hi
thank you domebil for your nice script and thank you Derek for your help
I know about page control / tab sheet functionality and used it in my form but the information that should be included are a lot more than a form and some page controls.
For example all the personal info should be included in one form
all the information regarding marriage and spouses should be included in another form
and finally all the information regarding children should be included in the third form
So I desperately need to combine 3 different forms together
Is there any way to connect them using scripts or buttons or etc?
thank you
It's possible to do it, but it's a bad idea. You will get confused in the conventions of the logic of work.
The point of the edit form is that it allows you to:
1. Prepare data for adding
2.1 Record prepared data or
2.2 Refuse to record data.
If you have several editing / adding forms for the same record in the database, then you will have to implement all the logic using scripts, without support from the MVDB components - there should be a handler on the "Save" canopy that will collect all the data from all forms of editing and will execute the required SQL query to add or update data. And every time you modify your forms, you will be forced to edit this script.
There must be a very good reason to make such an engineering decision. In my three years of development in the MVDB environment, I had no such reasons.
Визуальное программирование:
блог и
телеграм-канал.