G
Guest
I have a linked view based on four tables in SQL Server. This view is used
as the RecordSource for a form in Access. I am able to add new records, as
well as to update records, however if I try to update records from more than
one of the base tables I get this error:
ODBC--delete on a linked table "AllView" failed.
[Microsoft][ODBC SQL Server Driver][SQL Server]View or function 'dbo.MyView'
is not updatable because the modification affects multiple base tables.
(#4405)
I also get this error if I try to delete any record.
So, I am wondering whether or not it is feasible to use a view as the
RecordSource for my form.
Previously, I was simply using four separate forms and using Option buttons
to navigate between them, however my immediate superiors (the president and
CEO of the company) specified that they wanted everything on one page.
I know that it's possible to use subforms and use Master/Child fields to
link everything up, however if I do this then at no point are there more than
a few records in any of the subforms, which means that I can't effectively
use a Find or even a Filter function on any of the fields in my subforms.
This is potentially a problem because there are fields in my subforms (if I
use subforms) that I would like to be able to search.
Please let me know if you have any suggestions as to how I might solve this
problem.
Thanks,
Chris
as the RecordSource for a form in Access. I am able to add new records, as
well as to update records, however if I try to update records from more than
one of the base tables I get this error:
ODBC--delete on a linked table "AllView" failed.
[Microsoft][ODBC SQL Server Driver][SQL Server]View or function 'dbo.MyView'
is not updatable because the modification affects multiple base tables.
(#4405)
I also get this error if I try to delete any record.
So, I am wondering whether or not it is feasible to use a view as the
RecordSource for my form.
Previously, I was simply using four separate forms and using Option buttons
to navigate between them, however my immediate superiors (the president and
CEO of the company) specified that they wanted everything on one page.
I know that it's possible to use subforms and use Master/Child fields to
link everything up, however if I do this then at no point are there more than
a few records in any of the subforms, which means that I can't effectively
use a Find or even a Filter function on any of the fields in my subforms.
This is potentially a problem because there are fields in my subforms (if I
use subforms) that I would like to be able to search.
Please let me know if you have any suggestions as to how I might solve this
problem.
Thanks,
Chris