Autor Beitrag
aDm1n
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 37

Win XP
Turbo Delphi Explorer
BeitragVerfasst: Do 28.09.06 22:03 
N'Abend liebe Delphiler,
bei folgendem Code meckert delphi an den markierten Stellen rum:

ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
with frm_main.tbl_kopie do begin
  active := false;
  DatabaseName := SaveDialog1.FileName;
  TableName := dateiname(SaveDialog1.FileName);
  TableType := ttParadox; // Undefinierter Bezeichner: 'ttParadox'
  with FieldDefs do begin
    clear;
    Add('ID', ftAutoInc, 0, false); // Undefinierter Bezeichner: 'ftAutoInc'
    Add('Name', ftString, 33, false); // Undefinierter Bezeichner: 'ftString'
  end;
  CreateTable;
end;


Kann mir einer von euch sagen was ich falsch mache? Ich bin übrigens noch Anfänger ;-)
oldmax
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 380


D3 Prof, D4 Prof
BeitragVerfasst: So 01.10.06 17:55 
Hi
Auch dir mal den Tipp: Schau mal, was ich unter Adressbuch geschrieben habe. Findest du z.B. über die Suchfunktion Autor oder "Adressbuch"
Ich glaub, das helft schon.... :wink:
Gruß oldmax

_________________
Zier dich nich so, ich krieg dich schon....
mkinzler
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 4106
Erhaltene Danke: 13


Delphi 2010 Pro; Delphi.Prism 2011 pro
BeitragVerfasst: So 01.10.06 17:57 
Welche Delphiversion? Es werden die Units DB und DBTables benötigt.

_________________
Markus Kinzler.
aDm1n Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 37

Win XP
Turbo Delphi Explorer
BeitragVerfasst: So 01.10.06 19:03 
Ich wusste nicht, dass ich die Units brauche. Jetzt funktionierts, Dankeschön!

P.S. Delphi-Version hab ich jetzt eingetragen.