WUGNET, the Windows User Group Network
Your Complete Resource Center for "The Best" in Shareware, Computing Tips and Support, Windows Industry News... and much more!
Home Forums Shareware Windows Tips Hot Offers FREE Newsletters Arcade Contact Us About Partners
Search WUGNET: RSS Feeds RSS Feeds Advertise with WUGNET    |    Shareware eBooks
HomeHome FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Potential Bug in Access 2007

 
   Home -> Office other -> Table Design RSS
Next:  Making Check Boxes  
Author Message
oracle8202

External


Since: Jul 02, 2008
Posts: 11



(Msg. 1) Posted: Wed Oct 01, 2008 10:32 am
Post subject: Potential Bug in Access 2007
Archived from groups: microsoft>public>access>tablesdbdesign (more info?)

I have noticed behavior in Access 2007 that could potentially delete/remove
relationships in your database when you try to split the database into a
front end and a back end using the “Database Tools”->”Access Database”
option. If you have a table locked (such as having the table open or a form
(such as the switchboard) accessing a table) when you try and split the
database you will get the following error “The database engine could not lock
table ‘table_name’ because it is already in use by another person or
process.” After clicking okay you will notice the split did not succeed
because you still have all of your local tables and no linked tables. You
will also notice all of your relationships defined in the database have been
deleted. Now the back end is created correctly. The tables exist and the
relationships are still defined. Now if you don’t realize your relationships
have been deleted you might delete the back end (since it does not contain
any of your custom objects, form, reports and so on) and try to redo the
split after releasing the lock on your table. The problem is the split works
but the back end is created without any relationships.

I just thought I would share this in hopes that somebody could avoid losing
their relationships. Always backup you database before doing a split.
Back to top
Login to vote
Allen Browne

External


Since: Nov 08, 2003
Posts: 9645



(Msg. 2) Posted: Thu Oct 02, 2008 6:30 pm
Post subject: Re: Potential Bug in Access 2007 [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Following your steps, I ended up with a different result.

As you stated, the back end tables were created, but the attempt to create
the relations in the back end failed because a form was open in the front
end. Therefore the back end tables lacked the relationships.

However, the front-end relations were still intact. So deleting the
(incomplete) back end would not cause any grief.

Tested in A2007 SP1.

--
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.

"oracle8202" <oracle8202.DeleteThis@discussions.microsoft.com> wrote in message
news:4E928715-89AA-4497-9036-DF4AFCF1DE39@microsoft.com...
>I have noticed behavior in Access 2007 that could potentially delete/remove
> relationships in your database when you try to split the database into a
> front end and a back end using the “Database Tools”->”Access Database”
> option. If you have a table locked (such as having the table open or a
> form
> (such as the switchboard) accessing a table) when you try and split the
> database you will get the following error “The database engine could not
> lock
> table ‘table_name’ because it is already in use by another person or
> process.” After clicking okay you will notice the split did not succeed
> because you still have all of your local tables and no linked tables. You
> will also notice all of your relationships defined in the database have
> been
> deleted. Now the back end is created correctly. The tables exist and the
> relationships are still defined. Now if you don’t realize your
> relationships
> have been deleted you might delete the back end (since it does not contain
> any of your custom objects, form, reports and so on) and try to redo the
> split after releasing the lock on your table. The problem is the split
> works
> but the back end is created without any relationships.
>
> I just thought I would share this in hopes that somebody could avoid
> losing
> their relationships. Always backup you database before doing a split.
Back to top
Login to vote
oracle8202

External


Since: Jul 02, 2008
Posts: 11



(Msg. 3) Posted: Thu Oct 02, 2008 6:30 pm
Post subject: Re: Potential Bug in Access 2007 [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

That is strange. In mine the front end relationships are lost. I am also
using Access 2007 SP1. Microsoft Office Access 2007 (12.0.6211.1000) SP1 MSO
(12.0.6320.5000) to be exact.

"Allen Browne" wrote:

> Following your steps, I ended up with a different result.
>
> As you stated, the back end tables were created, but the attempt to create
> the relations in the back end failed because a form was open in the front
> end. Therefore the back end tables lacked the relationships.
>
> However, the front-end relations were still intact. So deleting the
> (incomplete) back end would not cause any grief.
>
> Tested in A2007 SP1.
>
> --
> 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.
>
> "oracle8202" <oracle8202.RemoveThis@discussions.microsoft.com> wrote in message
> news:4E928715-89AA-4497-9036-DF4AFCF1DE39@microsoft.com...
> >I have noticed behavior in Access 2007 that could potentially delete/remove
> > relationships in your database when you try to split the database into a
> > front end and a back end using the “Database Tools”->”Access Database”
> > option. If you have a table locked (such as having the table open or a
> > form
> > (such as the switchboard) accessing a table) when you try and split the
> > database you will get the following error “The database engine could not
> > lock
> > table ‘table_name’ because it is already in use by another person or
> > process.” After clicking okay you will notice the split did not succeed
> > because you still have all of your local tables and no linked tables. You
> > will also notice all of your relationships defined in the database have
> > been
> > deleted. Now the back end is created correctly. The tables exist and the
> > relationships are still defined. Now if you don’t realize your
> > relationships
> > have been deleted you might delete the back end (since it does not contain
> > any of your custom objects, form, reports and so on) and try to redo the
> > split after releasing the lock on your table. The problem is the split
> > works
> > but the back end is created without any relationships.
> >
> > I just thought I would share this in hopes that somebody could avoid
> > losing
> > their relationships. Always backup you database before doing a split.
>
>
Back to top
Login to vote
oracle8202

External


Since: Jul 02, 2008
Posts: 11



(Msg. 4) Posted: Thu Oct 02, 2008 6:30 pm
Post subject: Re: Potential Bug in Access 2007 [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

You might try it with the switchboard form open. That is when I notice the
behavior on mine. Although I don't really see why this would make a
difference other than it is not a table actually included in any of my
relationships.

"Allen Browne" wrote:

> Following your steps, I ended up with a different result.
>
> As you stated, the back end tables were created, but the attempt to create
> the relations in the back end failed because a form was open in the front
> end. Therefore the back end tables lacked the relationships.
>
> However, the front-end relations were still intact. So deleting the
> (incomplete) back end would not cause any grief.
>
> Tested in A2007 SP1.
>
> --
> 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.
>
> "oracle8202" <oracle8202 DeleteThis @discussions.microsoft.com> wrote in message
> news:4E928715-89AA-4497-9036-DF4AFCF1DE39@microsoft.com...
> >I have noticed behavior in Access 2007 that could potentially delete/remove
> > relationships in your database when you try to split the database into a
> > front end and a back end using the “Database Tools”->”Access Database”
> > option. If you have a table locked (such as having the table open or a
> > form
> > (such as the switchboard) accessing a table) when you try and split the
> > database you will get the following error “The database engine could not
> > lock
> > table ‘table_name’ because it is already in use by another person or
> > process.” After clicking okay you will notice the split did not succeed
> > because you still have all of your local tables and no linked tables. You
> > will also notice all of your relationships defined in the database have
> > been
> > deleted. Now the back end is created correctly. The tables exist and the
> > relationships are still defined. Now if you don’t realize your
> > relationships
> > have been deleted you might delete the back end (since it does not contain
> > any of your custom objects, form, reports and so on) and try to redo the
> > split after releasing the lock on your table. The problem is the split
> > works
> > but the back end is created without any relationships.
> >
> > I just thought I would share this in hopes that somebody could avoid
> > losing
> > their relationships. Always backup you database before doing a split.
>
>
Back to top
Login to vote
Display posts from previous:   
       Home -> Office other -> Table Design All times are: Eastern Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Categories:
 Windows XP
 Windows Vista
 Windows Other
 Office
  Office Other
 Security
 WinRAR
  • Home |
  • Shareware |
  • Windows Tips |
  • Hot Offers |
  • FREE Newsletters |
  • Arcade |
  • Forums |
  • eBooks |
  • About WUGNET |
  • Partners |
  • Contact

  • WUGNET Privacy Policy |
  • Link to WUGNET