Hi Everyone,
Greetings.
Please help me in complete my required functionality.
At present when a new record is created details view of the form is getting open. As per my requirement when new record is created it should open in grid view instead of details view which is opening now.
Please help me in finding solution for this.
Try setting the Action pane and button group Datasource property to the datasource which belongs to "Attribute and Value filter" Grid.
Also setting the same for grid property and check.
For the "Attribute and Value filter" grid you created new table or added the fields to existing standard table?
Thanks,
Girish S.
It's not working with the new command Button. It is opening Create dialog box.
Thank you.
I am little bit confused here - The property you have pasted belongs to the New button specified in the standard.
You have created custom grid and custom add button - There is no rule to make the New button and custom New button must have the same property.
You can create Command button itself and map the New record command. It will not effect the standard New button which New record action mentioned.
Thanks,
Girish S.
when new button is clicked as in propertied New record action is mentioned..it is opening EcoResProduct create form.
I'm using the dataSource which is related to grid only
Can you elaborate why you don't want to use New command button?
Also which datasource create method you called on the clicked method?
You must call the datasource create method which is used for "Attribute and Value filter" Grid.
Thanks,
Girish S.
This is the form Design it is standard form and added Attribute and Value filter grid to the form.
I want to create new record in the grid. I tried by creating command button with property New.
In form design level New Record Action value is given. so we cant use Command button for it.
I created normal button in the clicked method of that button called dataSource.create().
At that time it is going to detail view of the form. once i closed the details view then record is getting created in Grid.
What menu item you mapped to the new button on the grid view form?
Can you paste the screenshot of the form UI - So it will be easy to give suggestions based on that.
Thanks,
Girish S.
Hi Girish S,
Thanks for you reply.
Already the property is set to GRID in menu item level and when form is initializing it is opening in grid view only.
I need this to happen when new record is getting created.
Hi,
You need to set the FormViewOption property on the menu item to Grid. Setting this property will open the grid view instead of details views when you create new record on the form.
Based on the FormViewOption porperty it will show grid or details view.
Thanks,
Girish S.
André Arnaud de Cal...
291,979
Super User 2025 Season 1
Martin Dráb
230,848
Most Valuable Professional
nmaenpaa
101,156