NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: ntnewbies on August 04, 2020, 01:56:19 AM
-
hi friends,
i have a memory form and in it, i call a netwebform (registernewuser) as procedure.
In advanced tab of registernewuser procedure, i select default action as insert.
but, when i fill in the info and press the save button, the record is not created at all.
i need to open this form as in insert mode so that when the user press save button, it should auto add the record.
i have tried putting ans = 1 or ans = net:insertrecord in the preinsert but it is not working.
any clue?
jason
nt11.41
c11
-
Hi Jason,
I think you need to make a small example of what you have, so I can duplicate the effect here and see what is going on.
cheers
Bruce
-
hi bruce,
attached is the sample app with same effect.
thanks
jason
-
that zip file is invalid. try again please.
-
hi bruce,
can you try the attachment again please?
i have uploaded a new one.
thanks
jason
-
Hi Jason,
ok, I see what you are doing, and why it doesn't work. Thanks for the example.
The root of the problem is that you've got it sort-of "backwards". Typically the "form on form" approach is designed so that the internal forms are memory forms, and the outer form is the actual form. In your example you have this reversed because the outer form is a "container" and the inner form is a "working form".
There's nothing wrong with your approach - I can see it making sense in some cases - but there are a few moving parts that would need to cater for this approach. I'm investigating to see if it's do'able...
Cheers
Bruce
-
thanks bruce,
keep me posted.
jason
-
hi bruce,
is this doable in nt 11.43? :)
jason
-
no, not in 11.43...