🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.lang.pascal.delphi.databases
1 messages
1 total messages Started by Bill Artemik Sun, 29 Nov 1998 00:00
Hey, TEAMB...Need some real help with TTable and CreateTable in SQL Back end
#81
Author: Bill Artemik
Date: Sun, 29 Nov 1998 00:00
31 lines
1948 bytes
I am using Delphi 3.0 and need to create an InterBase 5 table.

I am using a TTable component and have populated the FieldDefs
property. When I call the CreateTable method things work fine. When I
include a IndexDefs statement (IndexDefs.Add('','Field1',[ixUnique])
and call the CreateTable method I get an error "INvalid Index/Tag
name". Where is this coming from and how do I fix it? I have to create
2 indexes (one primary and one secondary) and can't seem to get around
this. I cannot use TQueries here...need on a TTable. When I run the
same thing against Paradox it works just fine.

Any help on fixing this is greatly appreciated!

Thanks!
----
Bill
------------------------
artemik@worldnet.att.net
bartemik@neri.org
Programmer / Analyst
New England Research Institutes

"I believe that five out of 
     four people have trouble with fractions."

             <?>

           \\\|///
          \\ ~ ~ //
           ( @ @ )
/-------oOOo-(_)-oOOo--------\
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