Notifications
Announcements
No record found.
Hello,
I have a lookup form control which included tables and views.I need to get the datasource and field from the properties of view field if the view was selected from the control.I didn't found how to determine whether the value is a View or a table.
Any advice would be appreciated.
Hi Akshi, I haven't tested it but since this article is looping menu items, you can probably leverage it to find if it's table or view.
dynamicsnavax.blogspot.com/.../loop-through-aot-display-menu-items.html
Hi Akshi,
You can use the DictTable and SysDictTable classes where you can use e.g. the method is View() to find out if the datasource is a view.
Hi André Arnaud de Calavon,
Thanks a lot for your help.
I found that the method isView() of DictTable class.
It worked fine for checking if it is a table or view.
Please, note that this method also returns True for Data Entity.
Hi akshi,
There is also a specific method on the DictTable class called isDataEntity(). Technically, a view is created for a data entity. That explains why the method isView() is returning True for data entities.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Martin Dráb 660 Most Valuable Professional
André Arnaud de Cal... 512 Super User 2025 Season 2
Sohaib Cheema 291 User Group Leader