Menu

Missing View: Table view does not appear as an option

0 votes

I am trying to add a view to a table but it does not appear as an option?

in Customization by (3.7k points)

1 Answer

0 votes
 
Best answer

There are three possible reasons why a view will not appear as an option:

  1. dbFront does not have security to see the view,
  2. There are no common field names between the table and view,
  3. dbFront rejected the view.

No Security

When a view is defined you need to ensure that the dbFront connection user has SELECT access to that view. The name of the connecting user can be found by looking in the database connection properties in the dbFront advanced view.

Once the connection user name is known then you need to examine their properties to validate that they have SELECT access to the view you need.

For SQL Server you will need to look in the Securables area of the database user's properties as defined:

  • within that specific database and,
  • at the server level.

No Common Fieldnames

dbFront scans all available views and only shows those views that have at least one common field name. The search is not case-sensitive. dbFront skips certain classes of fields: passwords, XML fields, object/image fields and anything that is not indexable. It is also not possible to join a view to a view.

Rejected Views

There may be other reasons that dbFront will reject a view. As dbFront loads your database structure it will log issues. To look for rejected views open the dbFront Log Viewer from [Help] / [Log Viewer] and search for "View Error" or "Rejecting View".

by (44.5k points)
selected by
Welcome to the dbFront Q&A site, where you can ask questions and receive answers from other members of the community.
 | Minimalist Answer Theme by Digitizor Media
 |
Powered by Question2Answer
...