Autor Beitrag
foxy
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 814

Ubuntu, Gentoo
C++, PHP, Java, Ruby, Perl (Eclipse)
BeitragVerfasst: Mo 05.05.03 08:24 
huhu

hab ma ne frage brauche ich für jede tabelle einen datensatz und eine datasource???

in einer IB-Datenbank

_________________
"Only wimps use tape backup: real men just upload their important stuff on ftp, and let the rest of the world mirror it." (Linus Torvalds)
OperatingSystem Laptop (Ubuntu Hardy)
hansa
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 3079
Erhaltene Danke: 9



BeitragVerfasst: Mo 05.05.03 08:42 
Hi,

ohne DataSet geht fast nichts. Und für die visuellen Sachen (DBGrid, DBedit usw.) brauchst Du eine DataSource

_________________
Gruß
Hansa
foxy Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 814

Ubuntu, Gentoo
C++, PHP, Java, Ruby, Perl (Eclipse)
BeitragVerfasst: Mo 05.05.03 08:45 
hmm alles klar noch ein schritt weiter ...

ey DB sachen sind zum k*****

;)

es gibt nur ein problem .... ich habe meine dbedits verbunden mit der datasource und diese mit dem entsprechendem grid .... NUR

1. ich kann nichts eintgragen in die felder ...also ka warum
2. ich kann auch nicht den nav. benutzen ... also irgendwas stimmt da noch nicht

_________________
"Only wimps use tape backup: real men just upload their important stuff on ftp, and let the rest of the world mirror it." (Linus Torvalds)
OperatingSystem Laptop (Ubuntu Hardy)
hansa
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 3079
Erhaltene Danke: 9



BeitragVerfasst: Mo 05.05.03 08:52 
wo ist das Dataset :?:

_________________
Gruß
Hansa
foxy Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 814

Ubuntu, Gentoo
C++, PHP, Java, Ruby, Perl (Eclipse)
BeitragVerfasst: Mo 05.05.03 08:56 
in meinem datamodul

_________________
"Only wimps use tape backup: real men just upload their important stuff on ftp, and let the rest of the world mirror it." (Linus Torvalds)
OperatingSystem Laptop (Ubuntu Hardy)
hansa
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 3079
Erhaltene Danke: 9



BeitragVerfasst: Mo 05.05.03 08:59 
1. ist active true oder false?
2. in der IDE oder zur Laufzeit?
3. ist das SelectSQL usw. vorhanden?

_________________
Gruß
Hansa
foxy Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 814

Ubuntu, Gentoo
C++, PHP, Java, Ruby, Perl (Eclipse)
BeitragVerfasst: Mo 05.05.03 09:57 
1. und 3. ja
2. zur laufzeit bei form.create

selectSQl sieht so aus

select * from Firma

_________________
"Only wimps use tape backup: real men just upload their important stuff on ftp, and let the rest of the world mirror it." (Linus Torvalds)
OperatingSystem Laptop (Ubuntu Hardy)
hansa
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 3079
Erhaltene Danke: 9



BeitragVerfasst: Mo 05.05.03 10:07 
foxy hat folgendes geschrieben:
...es gibt nur ein problem ....

wie ? nur eins ? Glückspilz!

Zitat:
ich habe meine dbedits verbunden mit der datasource und diese mit dem entsprechendem grid .... NUR

Ist mir zu hoch. Siehst Du in dem Grid irgendwas, oder ist das leer :?: Sind Daten zu sehen, weiß ich, was das ist. :mrgreen:

_________________
Gruß
Hansa
foxy Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 814

Ubuntu, Gentoo
C++, PHP, Java, Ruby, Perl (Eclipse)
BeitragVerfasst: Mo 05.05.03 12:15 
ok ganz von vorn :D

also ich habe 3 DBgrids mit den 3 tabellen über 3 verschieden datasources verbunden ... man sieht die Überschriften der spalten... also somit stimmt die zuordnung

nur ich kann nirgens einen datensatz eintrage

und da weis ich nich weiter

_________________
"Only wimps use tape backup: real men just upload their important stuff on ftp, and let the rest of the world mirror it." (Linus Torvalds)
OperatingSystem Laptop (Ubuntu Hardy)
hansa
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 3079
Erhaltene Danke: 9



BeitragVerfasst: Mo 05.05.03 12:24 
typischer "foxy - Thread", naja war sowieso klar. :lol: Und ich glaube, ich bin im ZDF, aber bei mir gibts nur eine Wiederholung. 8)

hansa hat folgendes geschrieben:
...Siehst Du in dem Grid irgendwas, oder ist das leer :?: Sind Daten zu sehen, weiß ich, was das ist. :mrgreen:


Du siehst die Überschrift, was ist mit dem Rest?

_________________
Gruß
Hansa
CenBells
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 1547

Win 7
Delphi XE5 Pro
BeitragVerfasst: Mo 05.05.03 14:07 
So typisch ist der doch nicht. Er sieht nur die spalten überschriften. das heißt, er hat halt noch keine daten eingegeben.

@foxy,

wenn du etwas in die tabelle firma eintragen willst, musst du vorher dem zugehörigen Datasource ds.insert; sagen. dann kannst du auch in die felder schreiben - und speichern geht mit ds.post

Gruß
Ken
hansa
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 3079
Erhaltene Danke: 9



BeitragVerfasst: Mo 05.05.03 14:22 
@foxy: wenn das alles war, warum schreibst Du nicht irgendwelche Daten mit einem Konsolenprogramm erst mal ohne Delphi in die DB? Wie das geht hab ich dir auch schon mal gesagt.

_________________
Gruß
Hansa