PC Review


Reply
Thread Tools Rate Thread

Access2000: Relationships & database splitting

 
 
Arvi Laanemets
Guest
Posts: n/a
 
      28th Jan 2006
Hi

Where is information about relationships keeped in splitted database - in
front- or back-end. I.e. when I change something in reltionship definitions
(p.e. turn on/off referential integrity) afterwards, then is it enough to
send new front-end to user?


Thanks in advance!
Arvi Laanemets


 
Reply With Quote
 
 
 
 
Douglas J. Steele
Guest
Posts: n/a
 
      28th Jan 2006
While it's possible to have relationships in the front-end, they don't do
any good there.

The only place where the relationships will allow, for instance, enforcing
referential integrity is in the same database as the tables: the back-end.
Remember: it's possible to interact with the data in the back-end database
with other front-ends, so relying on the front-end isn't sufficient.

--
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no private e-mails, please)


"Arvi Laanemets" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi
>
> Where is information about relationships keeped in splitted database - in
> front- or back-end. I.e. when I change something in reltionship
> definitions
> (p.e. turn on/off referential integrity) afterwards, then is it enough to
> send new front-end to user?
>
>
> Thanks in advance!
> Arvi Laanemets
>
>



 
Reply With Quote
 
Guest
Posts: n/a
 
      28th Jan 2006
Relationships are only in the back-end.

Any relationships in the front-end are ignored.

You might put code in your front end to open the
back-end and drop the relationship.

(david)

"Arvi Laanemets" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi
>
> Where is information about relationships keeped in splitted database - in
> front- or back-end. I.e. when I change something in reltionship

definitions
> (p.e. turn on/off referential integrity) afterwards, then is it enough to
> send new front-end to user?
>
>
> Thanks in advance!
> Arvi Laanemets
>
>



 
Reply With Quote
 
Arvi Laanemets
Guest
Posts: n/a
 
      29th Jan 2006
Thanks you both!

It looks like I have to have a 80-km trip in near future. :-(((

I used a lot of dropdowns on project's forms, where dropdown sources were
queries to other tables. And only afterwards I discovered, that when those
tables were related to form's source table, and the referential integrity
was on, then when user creates a new record, and then thinks otherwise and
navigates to some existing record, the referential integrity causes an
error. The user has to press Esc at first, and only after that is allowed to
leave new record. Not fatal, but annoying enough.


Arvi Laanemets


<david@epsomdotcomdotau> wrote in message
news:(E-Mail Removed)...
> Relationships are only in the back-end.
>
> Any relationships in the front-end are ignored.
>
> You might put code in your front end to open the
> back-end and drop the relationship.
>
> (david)
>
> "Arvi Laanemets" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > Hi
> >
> > Where is information about relationships keeped in splitted database -

in
> > front- or back-end. I.e. when I change something in reltionship

> definitions
> > (p.e. turn on/off referential integrity) afterwards, then is it enough

to
> > send new front-end to user?
> >
> >
> > Thanks in advance!
> > Arvi Laanemets
> >
> >

>
>



 
Reply With Quote
 
Douglas J. Steele
Guest
Posts: n/a
 
      29th Jan 2006
If you're thinking you have an 80 km trip so that you can add relationships
to the back-end database, that may not be necessary. It's pretty easy to
write a routine that will add the relationships for you, and then have
someone at the remote site run the routine for you.

--
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no private e-mails, please)


"Arvi Laanemets" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Thanks you both!
>
> It looks like I have to have a 80-km trip in near future. :-(((
>
> I used a lot of dropdowns on project's forms, where dropdown sources were
> queries to other tables. And only afterwards I discovered, that when those
> tables were related to form's source table, and the referential integrity
> was on, then when user creates a new record, and then thinks otherwise and
> navigates to some existing record, the referential integrity causes an
> error. The user has to press Esc at first, and only after that is allowed
> to
> leave new record. Not fatal, but annoying enough.
>
>
> Arvi Laanemets
>
>
> <david@epsomdotcomdotau> wrote in message
> news:(E-Mail Removed)...
>> Relationships are only in the back-end.
>>
>> Any relationships in the front-end are ignored.
>>
>> You might put code in your front end to open the
>> back-end and drop the relationship.
>>
>> (david)
>>
>> "Arvi Laanemets" <(E-Mail Removed)> wrote in message
>> news:(E-Mail Removed)...
>> > Hi
>> >
>> > Where is information about relationships keeped in splitted database -

> in
>> > front- or back-end. I.e. when I change something in reltionship

>> definitions
>> > (p.e. turn on/off referential integrity) afterwards, then is it enough

> to
>> > send new front-end to user?
>> >
>> >
>> > Thanks in advance!
>> > Arvi Laanemets
>> >
>> >

>>
>>

>
>



 
Reply With Quote
 
david epsom dot com dot au
Guest
Posts: n/a
 
      29th Jan 2006
You can use CreateRelation and Relation().Delete to add
and remove relationships, but it sounds like you have
another problem.

> error. The user has to press Esc at first, and only after that is


If the user does not press Escape, you will have a new
record in your database.

But you just said that the user decided NOT to create
a record.

If you press Escape, the record is removed. If you don't
enforce referential integrity, the new record will be
created with missing or bad fields.

(david)



"Arvi Laanemets" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Thanks you both!
>
> It looks like I have to have a 80-km trip in near future. :-(((
>
> I used a lot of dropdowns on project's forms, where dropdown sources were
> queries to other tables. And only afterwards I discovered, that when those
> tables were related to form's source table, and the referential integrity
> was on, then when user creates a new record, and then thinks otherwise and
> navigates to some existing record, the referential integrity causes an
> error. The user has to press Esc at first, and only after that is allowed
> to
> leave new record. Not fatal, but annoying enough.
>
>
> Arvi Laanemets
>
>
> <david@epsomdotcomdotau> wrote in message
> news:(E-Mail Removed)...
>> Relationships are only in the back-end.
>>
>> Any relationships in the front-end are ignored.
>>
>> You might put code in your front end to open the
>> back-end and drop the relationship.
>>
>> (david)
>>
>> "Arvi Laanemets" <(E-Mail Removed)> wrote in message
>> news:(E-Mail Removed)...
>> > Hi
>> >
>> > Where is information about relationships keeped in splitted database -

> in
>> > front- or back-end. I.e. when I change something in reltionship

>> definitions
>> > (p.e. turn on/off referential integrity) afterwards, then is it enough

> to
>> > send new front-end to user?
>> >
>> >
>> > Thanks in advance!
>> > Arvi Laanemets
>> >
>> >

>>
>>

>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Splitting kills relationships? =?Utf-8?B?TmluaWVs?= Microsoft Access 11 25th Mar 2009 01:52 PM
size of database Access2000...plz... azlina Microsoft Access 9 3rd Oct 2006 10:19 AM
Access2000 database using Access97 problem Sharp Microsoft Access 1 10th Feb 2005 11:51 AM
Is there any way to prevent the database bloat in access2000? rao ijaz Microsoft Access 1 31st May 2004 03:49 PM
Database Splitting and relationships Deb Struble Microsoft Access Database Table Design 1 8th Sep 2003 01:42 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:49 PM.