I have a form with 2 views (1 item view and 1 list view).
What I want to do is an order confirmation. First I fill in the data in the main form and when I click the submit button I want to open the same form (subform) with the data entered so that they can see the details and in case of making a mistake something to be able to modify it.
I can show the data in the item view, but the data in the list view cannot. Any ideas or is there any other way to do it other than this?
Just to clarify, do you need help with creating the subform whereby a user can see and edit an order, or are you trying to do something with the listview?
Okay, theres at least 2 ways (probably even more) of doing this. I will try and reproduce something for you within the next 5 hours hopefully less.
Hi @IsaacLabuena ,
I have created 2 “options” that hopefully will help you. Option 2 is the easier one so I will be explaining that (to the best of my english). I will also upload a package which you can then deploy and go through everything if you want to.
Note: You can also just use the “set subform’s control property rule” instead that way you dont have to have a data label in the item view.
Lastly, use the “open a subform” rule, and configure it:
Create a listview from your SMO (this isnt the same one as in your form, this we will use to edit and display the data in the subform):
In the get list me, edit only the filter tab, filter the view by the data label:
So, for option 1, it will be very difficult to explain, but basically i just transfered the data from the item view into texboxes, and when you want to edit them, it reads the ID from the data label and uses the save method just like from in option 2. Let me know if you need any more explantions/help. I cant upload the packaged file here unfortunately as it is not supported, though i will leave a download link by tomorrow, if not today. Hope this helps.
Hello @Prineel, good morning
Thanks for your explication! But I think it’s not what I need. But I really appreciate your dedication
I will try to describe with more detail, I have a form with two views:
And when I click the submit button I want open pop up with the details entered in the form before clicking the button. And since these items have not yet been created, I can't find a way to list them in the subform that I open when I click the button.
Example Item List:
And when I click submit button, I want something like this (but with the items in the previous form):
I think now I have been more specific.
Apologies, I thought that it saved the data to the database when the submit button was pressed, I will try and re-repro it and see if maybe a transfer rule will work. Thanks for the explanation, I have a better understanding of what you are trying to do :)
Just to confirm, the data from the ListView that you want to transfer to the sub form has not been saved to the SMO, but rather just typed in the list view?