Skip to content
View in the app

A better way to browse. Learn more.

Gay-Forum.It

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Relazioni molti a molti su OpenOffice Base

Featured Replies

Mi sento particolarmente cretina ma ho cercato in lungo e in largo e non trovo soluzioni...

Per un progetto mio devo creare un db e sto usando OpenOfficeBase (visto che non ho Access).

 

Ho 3 tabelle: Brani, Album, Keyword.

Ogni brano può stare in più di un album e ogni brano può avere più di una parola chiave, e viceversa, quindi dovrei impostare delle relazioni n:n

Ora da quel che mi ricordo io dal corso per l'Ecdl, per fare una cosa del genere bisogna creare una tabella intermedia con campi dalle 2 tabelle interessate, ma non ci riesco assolutamente. Mi viene il dubbio di aver sbagliato a impostare le chiavi primarie ma boh.

 

I campi delle tabelle sono

Brani

IdBrano

NomeBrano

NomeKanji

NomeTraduzione

Testo

TestoKanji

TestoTraduzione

Keyword

Note

NoteLinguistiche

NomeAlbum

NomeSingolo

NomeRaccolta

Album

IdAlbum

NomeAlbum

NomeSingolo

NomeRaccolta

 

Keyword

IdKeyword

Keyword

Premetto che non ho mai usato Office Base, però da quello che so quello che fai è il procedimento giusto.

Dovresti creare questa tabella intermedia e mettere, come primary key della tabella, entrambe le voci (cioè IdBrano e IdAlbum o IdBrano e IdKeyword). Cioè praticamente tutt'e due le voci devono essere la chiave di questa tabella intermedia.

Va?

  • Author

Ma nella tabella intermedia non devo definire una chiave primaria?

Si ma credo tu possa definire la chiave primaria come una chiave che è su entrambi i campi.

O in alternativa, se non la definisci, dovrebbe prenderla da solo come chiave primaria la chiave su entrambi i campi.

Nel senso, entrambi i campi dovrebbero formare, presi assieme, la chiave primaria.

  • 1 month later...

Non ci siano più viste e non ho avuto più occasione di chiederlo.

Ma alla fine ha funzionato o no? :P

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.