BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Paradox Database SQL SELECT INTO Functionality?

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (SQL Servers)
View previous topic :: View next topic  
Author Message
Nick Weaver
Guest





PostPosted: Wed Mar 09, 2005 2:14 pm    Post subject: Paradox Database SQL SELECT INTO Functionality? Reply with quote



I am trying to use the SELECT INTO command within Delphi using Paradox as a
database. Bassically, I need a way to create a Temp table (#Temp.db) for
storing some data just to be displayed in a datagrid which gets deleted and
reconstructed every time the screen is brought up. The biggest problem is
that I cannot get a table to allow itself to be emptied because other users
(with the same screen open) lock the table from being emptied, hence the
need for a Temp table. I would just use a Query, but the "table" being
created must be edited as a result of user input and a Query is not
"editable". Does such fuctionality exist in Delphi? Any help would be
greatly appreciated. thanks!


Back to top
Bill Todd
Guest





PostPosted: Wed Mar 09, 2005 2:32 pm    Post subject: Re: Paradox Database SQL SELECT INTO Functionality? Reply with quote



SQL has nothing to do with Delphi. Each database system implements its own
SQL dialect. Delphi components just pass the SQL statements to the
database management system for execution. Paradox tables use a dialect
called Local SQL. You can get help with Local SQL from the Local SQL help
file in your BDE directory. Local SQL does not support SELECT INTO. Use
INSERT INTO SOME_TABLE SELECT ... FROM ... instead.

The best way to handle temporary tables with a Paradox database is to set
Session.PrivateDir to a directory on the user's local hard drive and
create the table there. That way each user will have their own copy.

The best place to ask questions about Paradox tables is the
database.desktop newsgroup.

--
Bill Todd (TeamB)
TeamB cannot answer questions received via email
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (SQL Servers) 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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.