NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: kashiash on December 22, 2009, 01:13:56 PM
-
one issue few questions:
Is this possible in easy way to make update web page for 2 files at
the same time ?
how to hide ok/cancel button on child form and save all childforms when parent form is accepted ?
In example i have customerFormControl and want to enter few types of
customer adresses (home,work, and few more ;))
In standard way i have form with browse for adresses, but i looking
for method where on customer form in specified condition i want to
hide or unhide AdresFormControl (one for home adres , next for work
adres next for mail adress etc)
where user can enter data. I hope its clear for You ?
i try this and i can do it in NTWS but in child forms i have save and
cancell buttons - this not looks good
Is possible to hide buttons for adresformcontrol and when user press
save on custoerformcontrol i get save on customer form and on few (2
or more adressformcontrols)
-
Is this possible in easy way to make update web page for 2 files at
the same time ?
> you would probably need some hand code to update the second file when the user clicks ok
how to hide ok/cancel button on child form and save all childforms when parent form is accepted ?
> If you have SV In-Memeory Driver you could leave the ok\cancel button and then just add some code to move the data from the memory table to the actual file when they click ok on the parent form.
-
Hi Jacek,
You can't easily embed multiple forms onto the same page.
If you need to collect data, for multiple tables, in a single page then you will probably be better off using some temporary variables for all the related stuff. Then when the parent record is save (postInsert / postUpdate routines) you can add normal code to read the other tables and write new values where appropriate.
Are you thinking of a Invoice / LineItem type setting, or a Checkout type setting where the user captures customer, and order information at the same time?
cheers
Bruce
-
This is part where you eneter customer details and few adreses (usually more then 4, max 8).
Of course i can set variables for entry but i need to declare 8 times about 5-6 variables for each adress. I hope i can do only one subform and use this when i need for each of necessary adress type.