🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.databases.ms-access
Article #550

Re: Access/SQL Server

#550
From: Albert Marshall
Date: Fri, 12 Jan 2001 22:37
28 lines
3067 bytes
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
Technical Details
Message-ID: <Vh0M9IGjc4X6Ewpm@execfrog.demon.co.uk>
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!newsfeeds.belnet.be!news.belnet.be!colt.net!dispose.news.demon.net!demon!news.demon.co.uk!demon!execfrog.demon.co.uk!albert
References: <DCJ76.170296$eT4.13196254@nnrp3.clara.net>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10f31b,e3db6de17c8debd
X-Google-Attributes: gid10f31b,public
X-Google-Thread: 115bcb,e3db6de17c8debd
X-Google-Attributes: gid115bcb,public
X-Google-Thread: f8db2,e3db6de17c8debd
X-Google-Attributes: gidf8db2,public
X-Google-Thread: ff0ac,e3db6de17c8debd
X-Google-Attributes: gidff0ac,public
X-Google-Thread: 1139e2,e3db6de17c8debd
X-Google-Attributes: gid1139e2,public
X-Google-ArrivalTime: 2001-01-12 14:39:35 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!newsfeeds.belnet.be!news.belnet.be!colt.net!dispose.news.demon.net!demon!news.demon.co.uk!demon!execfrog.demon.co.uk!albert
From: Albert Marshall <albert@execfrog.demon.co.uk>
Newsgroups: comp.databases.ms-access,free.database.access,it.comp.database.access,microsoft.public.access.odbcclientsvr,microsoft.public.sqlserver.clients
Subject: Re: Access/SQL Server
Date: Fri, 12 Jan 2001 22:37:23 +0000
Organization: Marshall Le Botmel Ltd
Message-ID: <Vh0M9IGjc4X6Ewpm@execfrog.demon.co.uk>
References: <DCJ76.170296$eT4.13196254@nnrp3.clara.net>
NNTP-Posting-Host: execfrog.demon.co.uk
X-NNTP-Posting-Host: execfrog.demon.co.uk:194.222.34.162
X-Trace: news.demon.co.uk 979339076 nnrp-02:26022 NO-IDENT execfrog.demon.co.uk:194.222.34.162
X-Complaints-To: abuse@demon.net
MIME-Version: 1.0
X-Newsreader: Turnpike Integrated Version 5.01 S <wpyO0vc+ZlXSuw4cinAPBdKCnG>
Lines: 28