Hi,
i have created a new table, which is a child table of custTable, have relation with it. i have added the new table to custTable form as a datasource, my task is to provide some new information on a seperate tab, on the custTable. All these work i have did correctly, but i am seeing the strange problem only on custTable form.
when i try to create a new record (Ctrl+N) in my table using CustTable form, on a seperate tab which is also added by me, the form auto creates the custTable record as well, which i dont want, i want to associate some additional information with existing custTable record.
after research i found that on all the tabs the behavior is same ie it will create the customer record if you press Ctrl+N, except on Address tab, i want this similar functionalty. i try to find out how it is handle on the form but no luck yet.
if anyone have experience of adding new datasource to custTable form then do share with me
Thanks
Amir
I hope you have added the field in a Grid… Check the data source property of the Grid… Set this to table what you have added…
yes it is to my table, and in the Grid, this is something really with the CustTable form. when i press ctrl+N the focus is move to overview Tab, and it creates the Customer record. dont know where i am wrong.
well Thanks for the response. any more suggestion please
one more amazing thing, Ctrl+N move me to overview table and create customer record, i just tried an alternative and add a button on my tab, and write mydatasource_ds.create(). Amazingly this is working fine and create a new row in my grid…but again i need to know why not on Ctrl+N
i never think that this 10 min work requires good enough time in reasearch:)
HI Amir,
Check these properties…
In the Data source of the CustTable form you have added the new table –
- For the new table properties … Did you give the JoinSource poperty as CustTable…
2.In the newly added[Tabpage – grid – new table fields…] So in the newly added Tabpage and Grid properties give the datasource as new Table Name.
Check these then it will work…
Naresh Kolli