Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Software > Access Replication > URGENT - change...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 5 Topic 1595 of 1638
Post > Topic >>

URGENT - change retention period ?

by "info27 via AccessMonster.com" <u11672@[EMAIL PROTECTED] > Apr 24, 2008 at 09:38 PM

Hello,

In Sept. 2005 I changed the retention period of my access-DB (Access
2000-DB
in Office 2003) by using JRO:

------------------------------------------------------------------------------
---------------------------
In the Design Master, set a reference to "Microsoft Jet and Replication 
Objects 2.x Library". Then use the following code:

   Dim oReplica As JRO.Replica
   Set oReplica = New JRO.Replica

   oReplica.ActiveConnection = CurrentProject.Connection
   oReplica.RetentionPeriod = 1000 'Days

   Set oReplica = Nothing

Then synchronise all the replicas so the new value filters through the
set.
------------------------------------------------------------------------------
----------------------------

Now the 1000 Days are over ...
I tried today to change the retention period by using the JRO-method as
described above.
Now (1000 days later) It doesn't work - I got the following error
message:´

runtimeError: -2147024770 (8007007e)
method 'Connection' for the object '_CurrentProject' has failed

Has anybody an idea? What´s the problem?

Thanks Chris

-- 
Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/Forums.aspx/access-replication/200804/1
 




 5 Posts in Topic:
URGENT - change retention period ?
"info27 via AccessMo  2008-04-24 21:38:23 
Re: URGENT - change retention period ?
"David W. Fenton&quo  2008-04-25 02:27:36 
Re: URGENT - change retention period ?
"info27 via AccessMo  2008-04-25 07:16:20 
Re: URGENT - change retention period ?
"David W. Fenton&quo  2008-04-25 23:10:06 
Re: URGENT - change retention period ?
"info27 via AccessMo  2008-04-26 12:42:45 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Nov 22 3:08:19 CST 2008.