A
astro
I have a datagrid that is two levels down from the dataview (i.e.
grandchild). I have spent 3 hours trying to get the syntax of determining
it's real datasource (i.e. not it's source based on it's relationship with
the dataview).
argh!
company
---> person
--->contact
-contact is the 'real' datasource for the grid
-company is a dataview used to populate several text controls on the form
and is the binder that the navigation ctrls use.
-the datagrid binds to the dataview with the datamember set to
"companyPerson.PersonContact" which of course is the relationship name
between the dv and the grandchild table.
Of course - if is do the following:
mydatatable = ctype(me.mydatagrid, dataview).table.tablename I get the
Company table! which is NOT what I need.
Is there a simple way of determing that the underlying table my datagrid is
hitting is 'contact' ?
Thank you.
grandchild). I have spent 3 hours trying to get the syntax of determining
it's real datasource (i.e. not it's source based on it's relationship with
the dataview).
argh!
company
---> person
--->contact
-contact is the 'real' datasource for the grid
-company is a dataview used to populate several text controls on the form
and is the binder that the navigation ctrls use.
-the datagrid binds to the dataview with the datamember set to
"companyPerson.PersonContact" which of course is the relationship name
between the dv and the grandchild table.
Of course - if is do the following:
mydatatable = ctype(me.mydatagrid, dataview).table.tablename I get the
Company table! which is NOT what I need.
Is there a simple way of determing that the underlying table my datagrid is
hitting is 'contact' ?
Thank you.