Article View: comp.databases.ms-access
Article #551Re: Access/SQL Server
From: arsen_cro
Date: Sat, 13 Jan 2001 04:24
Date: Sat, 13 Jan 2001 04:24
55 lines
3399 bytes
3399 bytes
Agree with Steve on this one. My approach is the same in the way. In A97 I use PassTrough query to execute my stored procedures, let the SQL Server manage DML. I also use PassTrough for viewing records again by executing procedures. Linked tables, I dont use any more to much maintenance and overhead with them. In article <Vh0M9IGjc4X6Ewpm@execfrog.demon.co.uk>, Albert Marshall <albert@execfrog.demon.co.uk> wrote: > In article <DCJ76.170296$eT4.13196254@nnrp3.clara.net>, TEST > TESTPOP_Server=pop.freeuk.net <testx@freeuk.com> writes > >I am running MS Access 97 with an SQL Server 7 attached Table. > >I have an Access Form open based on an Access Query that shows a quantity of > >records from the attached SQL Server Table. > >I can update, delete and add records. > >The problem is that when a Field is changed in one record several other > >records have to be updated. The Field which is updated is a number and is > >part of the Primary Key. I am using the same DAO code that worked fine in > >Access when the table was an Access Table - the updates happenned and you > >could see the numbers in other records change. While the code runs fine > >with the attached SQL Server Table the updates are not visible unless a > >requery operation is performed which is unacceptable because of the delay > >this introduces to user activity and the fact that the cursor moves to the > >first record. In addition, if I attempt to edit a record where the number > >Field has been changed I get error messages and #Deleted appears in the > >record Fields. > >How do I resolve this problem? > >I want the changes in the number Fields of other records to show immediately > >and the records to be available for editing - just like when the underlying > >Table was in Access. > > > You'll probably need to change the ODBC Refresh Interval. This can be > set between 1 and 32766 seconds. I just looked in my Access setup and > it's set to 1500, so you would only get ODBC data refreshed every 25 > minutes! > -- > Albert Marshall > Sent via Deja.com http://www.deja.com/
Technical Details
Message-ID:
<93ol9v$ojb$1@nnrp1.deja.com>Path:
arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!news.gv.tsc.tdk.com!falcon.america.net!sunqbc.risq.qc.ca!cpk-news-hub1.bbnplanet.com!news.gtei.net!nntp2.deja.com!nnrp1.deja.com!not-for-mailReferences:
<DCJ76.170296$eT4.13196254@nnrp3.clara.net> <Vh0M9IGjc4X6Ewpm@execfrog.demon.co.uk>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: ff0ac,e3db6de17c8debd X-Google-Attributes: gidff0ac,public X-Google-Thread: 10f31b,e3db6de17c8debd X-Google-Attributes: gid10f31b,public X-Google-Thread: f8db2,e3db6de17c8debd X-Google-Attributes: gidf8db2,public X-Google-Thread: 115bcb,e3db6de17c8debd X-Google-Attributes: gid115bcb,public X-Google-ArrivalTime: 2001-01-12 20:35:59 PST Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!news.gv.tsc.tdk.com!falcon.america.net!sunqbc.risq.qc.ca!cpk-news-hub1.bbnplanet.com!news.gtei.net!nntp2.deja.com!nnrp1.deja.com!not-for-mail From: arsen_cro@my-deja.com Newsgroups: comp.databases.ms-access,free.database.access,it.comp.database.access,microsoft.public.access.odbcclientsvr Subject: Re: Access/SQL Server Date: Sat, 13 Jan 2001 04:24:35 GMT Organization: Deja.com Lines: 55 Message-ID: <93ol9v$ojb$1@nnrp1.deja.com> References: <DCJ76.170296$eT4.13196254@nnrp3.clara.net> <Vh0M9IGjc4X6Ewpm@execfrog.demon.co.uk> NNTP-Posting-Host: 209.178.159.242 X-Article-Creation-Date: Sat Jan 13 04:24:35 2001 GMT X-Http-User-Agent: Mozilla/4.0 (compatible; MSIE 5.0; Windows 98; DigExt) X-Http-Proxy: 1.1 x64.deja.com:80 (Squid/1.1.22) for client 209.178.159.242 X-MyDeja-Info: XMYDJUIDarsen_cro