on 12-22-2011 12:41 PM
Hello experts,
I am using two views namely EMP_MASTER and EMP_DETAILS. In first view i am getting the details of employee from dbase table ZTMASTER_VVR, in the first view EMP_MASTER i have set a button CREATE. So once i press this create button it should navigate to the second view and this second view is to enter the details of new employee. So once i go to the second view my fields already getting populated with first record of dbase table ZTMASTER_VVR. I dont want to get my fields populated with some record because i am using this view to store new employee details that means user has to fill in the blank fields. I am using the same node in both contexts in both the views.
Hi,
For first view display, I think you are using a node with cardinality(0:n) as it is a table display.
Now for the second view have another node with cardinality 1:1 as only one newly created record has to be inserted into
the Master table.
Thanks,
Shailaja Ainala.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello friend,
i think the second view fields are also populated at the first time because you have used the same node in both the view, also you have said that for the first view you are populating the values from the ZTMASTER_VVR table. So you must have used the binding property which brings the value at the second view.
Now what you can do is use a separate node or you can clear the values of the fields at WDDOBEFOREACTION method or WDDOINIT method or at the button action. I think this helps you to resolve your problem.
If you have still issues revert back to me.
Thanks,
Sri Hari.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I didnt understand what you are saying. I want to clear the values in the fields which i entered previously. For eg: When i am going to create the employee details in a create view after saving it and going back to the previous view and again going to the create view i could able to see the previous record wich i enetered, i want to clear the fields as soon as i come out from that view.
User | Count |
---|---|
83 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.