🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: pl.comp.lang.delphi.bazy-danych
2 messages
2 total messages Started by vojarz Fri, 23 Apr 1999 00:08
Czy u Was DataBase Desktop widzi programowo wygenerowane Tablice DBase Level 7 ?
#383
Author: vojarz
Date: Fri, 23 Apr 1999 00:08
41 lines
1606 bytes
Jak w tytule ........
bo u mnie nie, natomiast BDE je obsluguje prawidlowo  ?????


przykladowa procedura
---------------------------------------------------
Procedure TForm1.CreateCzesci;
begin
    { TABELA CZESCI }
  with TTable.Create(Self) do
  begin
    DatabaseName:='GDBASE';
    TableName := 'Z_CZESCI.DBF';
    TableType := ttDbase;

    with FieldDefs do
    begin
      Clear;
      Add('ID_CZ_ZLEC',ftAutoInc  ,0 , True);
      Add('ID_ZLEC'   ,ftInteger  ,0 , True);
      Add('ID_MAG'    ,ftInteger  ,0 , True);
      Add('ILOSC'     ,ftInteger  ,0 , True);
    end;
      with IndexDefs do
      begin
      Clear;
      Add('ID_CZ_ZLEC_IDX','ID_CZ_ZLEC', [ixPrimary]);
      Add('ID_ZLEC_IDX'  ,'ID_ZLEC',[]);
      end;
    try
    TableLevel:=7
    CreateTable;
    finally
    Free;
    end
  end;
end;


Pozdrowienia.
Vojar
Re: Czy u Was DataBase Desktop widzi programowo wygenerowane Tablice DBase Level 7 ?
#384
Author: Krzysztof Szyszka
Date: Fri, 23 Apr 1999 05:19
16 lines
1400 bytes
vojarz napisał(a) w wiadomości: <7fodnb$g0u$1@polonez.man.lodz.pl>...
>Jak w tytule ........
>bo u mnie nie, natomiast BDE je obsluguje prawidlowo  ?????
[ciach]

Z przykładu, ktory załączyłeś wynika, że pod Delphi tworzysz tabelę dBase
w wersji wyższej, niż te, które są obsługiwane przez DataBase Desktop.
(Dla sprawdzenia usuń pole autoincrement).
--
pozdrowienia
Krzysztof
======================
Krzysztof Szyszka
e-mail: kszyszka@priv.onet.pl
ICQ: 13241014
======================
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads