Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 5 of 5 total
Thread Sensitive Views
Mon, Feb 23 2009 8:24 AMPermanent Link

Roy Lambert

NLH Associates

Team Elevate Team Elevate

Sensitive views using joins as part of the WHERE clause but not having any of the joined columns as part of the result set would be really nifty. Any chance?

EG

SELECT Companies.*
FROM Companies
JOIN Career ON Career._fkCompanies = _ID



Roy Lambert
Mon, Feb 23 2009 9:03 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Roy,

<< Sensitive views using joins as part of the WHERE clause but not having
any of the joined columns as part of the
result set would be really nifty. Any chance? >>

Views already act like tables in that they reflect changes in the underlying
tables and can be refreshed, etc.  The only part that they don't do is
updating, which is something that I'm working on fixing in a future release
with something like INSTEAD OF triggers on view INSERT, UPDATE, or DELETE
operations.

--
Tim Young
Elevate Software
www.elevatesoft.com

Tue, Feb 24 2009 2:22 AMPermanent Link

Roy Lambert

NLH Associates

Team Elevate Team Elevate

Tim

>Views already act like tables in that they reflect changes in the underlying
>tables and can be refreshed, etc. The only part that they don't do is
>updating, which is something that I'm working on fixing in a future release
>with something like INSTEAD OF triggers on view INSERT, UPDATE, or DELETE
>operations.

I was hoping to be just able to use a table component.....

Roy Lambert
Tue, Feb 24 2009 9:46 AMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Roy,

<< I was hoping to be just able to use a table component..... >>

You *can* use a TEDBTable component to open any view.   The only problem is
that, right now, you can't update any views that can't return a sensitive
(in the TEDBQuery sense) result set.

--
Tim Young
Elevate Software
www.elevatesoft.com

Tue, Feb 24 2009 10:22 AMPermanent Link

Roy Lambert

NLH Associates

Team Elevate Team Elevate

Tim

>You *can* use a TEDBTable component to open any view.

Figured that one out already Smiley

>The only problem is
>that, right now, you can't update any views that can't return a sensitive
>(in the TEDBQuery sense) result set.

This is what prompted my original question. The one about table components was prompted by "The only part that they don't do is
updating, which is something that I'm working on fixing in a future release with something like INSTEAD OF triggers" which makes me think Query.

Roy Lambert

Image