I'm running Access 2003 on an XP machine, and there are multiple
developers who are working on different "assignment s" of our large
database project. We all work on a local copy and export changes made
to various objects. Version controlling is becoming more of an issue,
so we've developed a real basic version control system that tracks
"exports" to the primary DB (which is then version-controlled prior to
distribution to the client--which occurs on an ongoing basis). Note
that the DB is merely a front-end, with SQL-Server 2005 running the
back-end.
The problem lies within our code that exports the objects as each
developer completes them. The codes uses the transferDatabas e method
of DoCmd, but is occasionally corrupting the target DB (objects within
the target DB are becoming corrupt, and Access can't seem to figure
out if they're there or not. This is quite a nuisance, as once the
target DB becomes corrupt, we have to replace with a previous version
and export manually. No data is lost, but it defeats the purpose of
handling the whole operation with a neat interface and VB code.
The following article describes (almost identically) the problem We're
experiencing: http://support.microsoft.com/kb/158923
This article is for Access 95, but MSDN has nothing about v2003.
Wondering if anybody else has experience the same problem, and ideally
if there's a workaround. 3 2587
Chris, I posted this reply in another group where you posted this q:
I have not experienced that, so perhaps someone who does this sort of
thing will respond with some real-world answers.
In the mean time, you might like to try getting users to do a compact,
decompile, compact before exporting. If your developers have different
versions (even different service packs in some versions), the binaries are
incompatible, and could be the issue here. Let us know if that works.
If all developers use the same version, an alternative might be to use the
undocumented SaveAsText and LoadFromText to upload the objects. That's the
approach this Backup Wizard uses: http://www.mvps.org/access/modules/mdl0045.htm
If you are trying to investigate the kind of corruption you are
experiencing, you said:
Access can't seem to figure out if they're there or not.
Access 97 and earlier rely on the list in MSysObjects (typically exposed by
DAO.) Access 2000 introduced a second canonical list, which is exposed as
collections such as AllForms. There is a kind of corruption where these 2
don't match, e.g. a form listed in AllForms, but has a different name or is
not found in MSysObjects. If this happens, the solution is to import all the
other objects into a new database (after decompiling and compacting), and
then importing this particular form again from whoever developed it.
Hope something there is of help.
--
Allen Browne - Microsoft MVP. Perth, Western Australia
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.
<ch*********@gm ail.comwrote in message
news:19******** *************** ***********@d19 g2000prm.google groups.com...
I'm running Access 2003 on an XP machine, and there are multiple
developers who are working on different "assignment s" of our large
database project. We all work on a local copy and export changes made
to various objects. Version controlling is becoming more of an issue,
so we've developed a real basic version control system that tracks
"exports" to the primary DB (which is then version-controlled prior to
distribution to the client--which occurs on an ongoing basis). Note
that the DB is merely a front-end, with SQL-Server 2005 running the
back-end.
The problem lies within our code that exports the objects as each
developer completes them. The codes uses the transferDatabas e method
of DoCmd, but is occasionally corrupting the target DB (objects within
the target DB are becoming corrupt, and Access can't seem to figure
out if they're there or not. This is quite a nuisance, as once the
target DB becomes corrupt, we have to replace with a previous version
and export manually. No data is lost, but it defeats the purpose of
handling the whole operation with a neat interface and VB code.
The following article describes (almost identically) the problem We're
experiencing: http://support.microsoft.com/kb/158923
This article is for Access 95, but MSDN has nothing about v2003.
Wondering if anybody else has experience the same problem, and ideally
if there's a workaround.
Two suggestions:
In the destination database, do a rename of the object you are exporting,
prior to the export. I add a date/time stamp to the name. This gives you a
version history, too.
Make sure you refresh the destination container after each export.
Good luck!
John
<ch*********@gm ail.comwrote in message
news:19******** *************** ***********@d19 g2000prm.google groups.com...
I'm running Access 2003 on an XP machine, and there are multiple
developers who are working on different "assignment s" of our large
database project. We all work on a local copy and export changes made
to various objects. Version controlling is becoming more of an issue,
so we've developed a real basic version control system that tracks
"exports" to the primary DB (which is then version-controlled prior to
distribution to the client--which occurs on an ongoing basis). Note
that the DB is merely a front-end, with SQL-Server 2005 running the
back-end.
The problem lies within our code that exports the objects as each
developer completes them. The codes uses the transferDatabas e method
of DoCmd, but is occasionally corrupting the target DB (objects within
the target DB are becoming corrupt, and Access can't seem to figure
out if they're there or not. This is quite a nuisance, as once the
target DB becomes corrupt, we have to replace with a previous version
and export manually. No data is lost, but it defeats the purpose of
handling the whole operation with a neat interface and VB code.
The following article describes (almost identically) the problem We're
experiencing: http://support.microsoft.com/kb/158923
This article is for Access 95, but MSDN has nothing about v2003.
Wondering if anybody else has experience the same problem, and ideally
if there's a workaround.
On Jun 8, 12:32 pm, "JvC" <johnv...@earth link.netwrote:
Two suggestions:
In the destination database, do a rename of the object you are exporting,
prior to the export. I add a date/time stamp to the name. This gives you a
version history, too.
Make sure you refresh the destination container after each export.
Good luck!
John
<chris.sp...@gm ail.comwrote in message
news:19******** *************** ***********@d19 g2000prm.google groups.com...
I'm running Access 2003 on an XP machine, and there are multiple
developers who are working on different "assignment s" of our large
database project. We all work on a local copy and export changes made
to various objects. Version controlling is becoming more of an issue,
so we've developed a real basic version control system that tracks
"exports" to the primary DB (which is then version-controlled prior to
distribution to the client--which occurs on an ongoing basis). Note
that the DB is merely a front-end, with SQL-Server 2005 running the
back-end.
The problem lies within our code that exports the objects as each
developer completes them. The codes uses the transferDatabas e method
of DoCmd, but is occasionally corrupting the target DB (objects within
the target DB are becoming corrupt, and Access can't seem to figure
out if they're there or not. This is quite a nuisance, as once the
target DB becomes corrupt, we have to replace with a previous version
and export manually. No data is lost, but it defeats the purpose of
handling the whole operation with a neat interface and VB code.
The following article describes (almost identically) the problem We're
experiencing: http://support.microsoft.com/kb/158923
This article is for Access 95, but MSDN has nothing about v2003.
Wondering if anybody else has experience the same problem, and ideally
if there's a workaround.
Allen & JvC,
Thanks both for your comments/suggestions... I'll try playing around
with some of your ideas and see what happens. Will post results... This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Johan |
last post by:
Hi,
The problem is :
You have a class A with one or more data variables. You want to store the
data variables in a database for example MySQL. Also you do not want to have
SQL code in your class A. Is there a way to translate the Object A to a sql
independed structure. I think it is something with persistent objects or am
I wrong. has anyone experience with this ?
|
by: PamelaDV |
last post by:
I have a database split for back end and front end and my back end (my
data) has been corrupting like crazy lately. Today we have compacted
and repaired like 4 times within an hour. The database is not
experiencing a lot of bloat. We have had instances in the past where
the database has gotten up to 200,00KB before indicating it needed to
be compacted and repaired. After C&R it is usually at 31,700 KB.
Lately when it gets to about...
|
by: AccessStarters |
last post by:
I am trying to Import a simple dbase file into my Ak2 TABLES.
If I do this manually, it works fine. I get a new table called DBASE with
all the data looking good.
If I try and do this using VBA code (see below) I get a path is not valid
for "C:\Databases\dbase.dbf". I know it's valid and have tried putting it on
the C root and still same error message. I am running Wk2 on single
wstation. Any help on this will be much appreciated
D....
|
by: Dave Gehrig |
last post by:
Hi guys,
Using Access 2003 on XP.
First time caller, long time listener. I am not a programmer per se,
and all my training in coding in the past year or so has come from the
wealth of info in these newsgroups, but I've finally hit a brick wall
re importing tables from one Access db to another.
I have set up an import routine that loops through db's in a specified
|
by: astro |
last post by:
I'm trying to copy some ODBC linked tables from one access2k mdb to another.
This is an example of the code i'm using:
DoCmd.TransferDatabase acExport, "Microsoft Access", (strPath &
strTemp), acTable, "woCost", "woCost", False, True
I do not have to provide login information when I open the link in my 'home'
mdb file (I've used the 'save password' check when I originally setup the
link).
| |
by: amitkumar19 |
last post by:
hello dear
when i use this statements in vb6 for transfer data to one another
DoCmd.TransferDatabase acImport, "dBase III", "C:\Data", acTable, _
"Test112A.dbf", "TempFile"
then give a error msg " this operation required open data base.
whats the reason can i open databse connection or not
i used refrence like
|
by: amitkumar19 |
last post by:
hello dear
when i use this statements in vb6 for transfer data to one another
DoCmd.TransferDatabase acImport, "dBase III", "C:\Data", acTable, _
"Test112A.dbf", "TempFile"
then give a error msg " this operation required open data base.
whats the reason can i open databse connection or not
i used refrence like
|
by: Cuaracao |
last post by:
This is my code:
Code1:
'DoCmd.OpenTable "tblImport"
'DoCmd.TransferDatabase acExport, "dBASE IV", strOutputDir,acTable,"sel_TblImport", strDbfName & ".dbf", False
'
DoCmd.Close acTable, "tblImport"
========================================================
Code2:
|
by: Dean |
last post by:
My client has a db I am working that uses temp tables. During an
update procedure, I had the code If fTableExists(tempTblName) = True
Then DoCmd.DeleteObject acTable, tempTblName
Then I thought of using: If fTableExists(tempTblName) = True Then
CurrentDb.Execute "DROP TABLE " & tempTblName
Is there an advantage to either? What really be cool is DROP TABLE
deleted the table and I didn't have to compact the db so much.
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |