Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
mysql datentyp aus anderen datenbank definieren
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
JoHo42
l33t
l33t


Joined: 14 Feb 2004
Posts: 956
Location: Germany

PostPosted: Sun Jun 20, 2010 12:13 pm    Post subject: mysql datentyp aus anderen datenbank definieren Reply with quote

Hi Leute,

wenn ich mir z.B. eine Adress Datenbank erstelle.
Anrede
Name
Adresse
Postleitzahl
Ort

Dann kann die Anrede nur aus
Herr
Frau
Firma
bestehen.

Ich wuerde ganz gerne fuer die Anrede eine eigene Tabelle (anreden) erstellen und diese dann Verknuepfen.
So dass ich dann in der Tabelle aus drei Anreden waehlen kann (einen eigenen Datentyp).
Wenn ich spaeter eine vierte Anrede hinzufuegen moechte, gehe ich in die Tabelle anreden und mache
dort noch Familie dabei und kann dann aus vier Anreden waehlen.

Ich habe mir die Tabellen mit OOBase erstellt und wuerde das ganz gerne damit auch bewerkstaelligen.

Gruss Joerg
Back to top
View user's profile Send private message
manuels
Advocate
Advocate


Joined: 22 Nov 2003
Posts: 2146
Location: Europe

PostPosted: Sun Jun 20, 2010 1:16 pm    Post subject: Reply with quote

Das sollte eigentlich kein Problem sein.
Was ist denn genau deine Frage?
_________________
Build your own live cd with catalyst 2.0!
Back to top
View user's profile Send private message
JoHo42
l33t
l33t


Joined: 14 Feb 2004
Posts: 956
Location: Germany

PostPosted: Sun Jun 20, 2010 2:22 pm    Post subject: Reply with quote

Wie kann ich die Tabellen in eine Beziehung bringen.
Am Besten in OOBase da ich in einem Formular anrede auswaehlen kann und nicht eingeben muss.

Gruss Joerg
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot 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