ADP ideosyncrocies

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



I have a form that is based on a view on SQL server. When I edit the record,
instead of updating the view (which is updatable), the sql script generated
by ADP actually updates the underlying table that makes up the view.

Now the reason I wanted to use view is so that I could isolate security and
grant user permissions on the view rather than the underlying table.
However, due to the fact that update is translated against the base table,
rather than the view, I am forced to grant user access to the base table as
well.

Is there any workaround for this?

In addition, I have noticed that IsDirty flag is never set when user closes
the form based on this view. I intended to provide a simulated unbound user
interface to the user. i.e., providing cancel, save command. On close, it
should prompt user to either cancel or save the form. However, IsDirty flag
is always false, and hence I couldn't detect if user has made any change.
Any idea where it might be wrong?

I also have a problem with datasheet view's column name. Despite changing
the column name in design view, the old column name still gets shown in
datasheet view. Any idea what could be causing this?

Is there a way to clear, say a subform, which is bound to an underlying
table/view, without actually causing the underlying data to be deleted. This
is like semibound control. I want to be able to load the data when as if
it's bound, and then be able to control the display of it subsequently. Is
this at all possible?

Thanks in advance


.



Relevant Pages

  • Re: Access Front End and SQL Server 2000 Record Level Access Control
    ... > We are using Access ADP as a front end, SQL Server 2000 as a back end. ... but they cannot see clients located in the Northern Region. ... > Access allows users direct access to the underlying table. ... > tblCustomers into smaller, separate tables based on group access). ...
    (microsoft.public.sqlserver.programming)
  • Re: Tables Views Functions
    ... You can deny permissions to underlying tables and use stored ... SQL Server books online. ... How to Return Values from SQL Stored Procedures ...
    (microsoft.public.sqlserver.security)
  • Re: Error when using linked SQL Server View
    ... You have to re-link all objects in Access whenever you modify the underlying ... I always use code to re-link my tables at the touch of a button. ... > Got an Access XP databse that has ODBC links to SQL Server ... > with a WHERE clause). ...
    (microsoft.public.access.externaldata)
  • Re: boolean expression
    ... Well, if it were me, I would explicitly cast the underlying value ... to its appropriate sqltype then check for null. ... kind of underlying data you are dealing with. ... Gerald ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Error when using linked SQL Server View
    ... modify the underlying ... Thanks Joe, but something else is actually happening. ... can't get Access to see the data unless I refresh the View ... *in SQL Server* (got a sproc that executes the ...
    (microsoft.public.access.externaldata)