Re: Link table alternative
From: B Nieds (bnieds_at_wieler_and_wieler.com)
Date: 04/29/04
- Next message: chris: "DoCmd.RunSQL error Help"
- Previous message: Bill Taylor: "Re: Help with hiding/showing forms"
- In reply to: MGFoster: "Re: Link table alternative"
- Next in thread: MGFoster: "Re: Link table alternative"
- Reply: MGFoster: "Re: Link table alternative"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 29 Apr 2004 16:34:03 -0500
Hi:
Simple query really:
Select tbl1.phsmgr, (Select Sum(tbl1.phscst) as TCost from tbl1 Group by
tbl1.phscde;) as Total from Tbl1;
Now I know I could use grouping in the above example but I wanted to show
the simplicity which would cause the error. The above query will when run
return the error "database engine could not lock table 'tbl1' because it is
already in use by another person or process". If I run the above query
against an imported table then I get the error that only one record can be
returned but at least it runs.
Normally tbl1 has a join to tbl2 which is joined to tbl3 which combine to
provide the information that I want. I can circumvnent the problem by
importing the data rather than linking but as I mentioned earlier the data
is only as current as the import.
Thanks
Bill
"MGFoster" <me@privacy.com> wrote in message
news:4qdkc.17579$e4.572@newsread2.news.pas.earthlink.net...
> Post your query's SQL statement. Maybe something there we can analyze.
>
> --
> MGFoster:::mgf00 <at> earthlink <decimal-point> net
> Oakland, CA (USA)
>
>
> B Nieds wrote:
>
> > Hi:
> >
> > I am using Access to report on data maintained outside of Access. I have
> > created links to the ourside files and have then created Queries, Forms,
and
> > Reports using these links. All of that is working reasonably ok.
> >
> > The problem I encounter is when I need to get more complex. Access will
then
> > complain that the linked table is in use (or opened exclusively) by
another
> > user. I tested with a copy of the files locally on my computer with the
same
> > results. Example is a subquery use the same table as the main query.
> >
> > Is this a limitation of linked tables? Is there a workaround or
alternative
> > method for getting the data? I know I can import the data but seems to
> > defeat the purpose of linked tables.
>
- Next message: chris: "DoCmd.RunSQL error Help"
- Previous message: Bill Taylor: "Re: Help with hiding/showing forms"
- In reply to: MGFoster: "Re: Link table alternative"
- Next in thread: MGFoster: "Re: Link table alternative"
- Reply: MGFoster: "Re: Link table alternative"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
|