Solved

TDAOQuery problem

Posted on 2002-06-24
3
200 Views
Last Modified: 2011-09-20
TDAOQuery problem

I'm tring to create table in some ACCESS (DAO) database.
I want to use TDAOQuery to do that, but I have problems.

Here is example of SQL :

CREATE TABLE A
(
A1 CHAR(200),
A2 CHAR(200),
A3 CHAR(200),
A4 CHAR(200),
A5 CHAR(200),
A6 CHAR(200),
A7 CHAR(200))

When I try to put it in active (SQL) I get this ERROR :

The query is a DDL query and cannot be used as a row source.

How to fix that

Thanks.
0
Comment
Question by:cvbmn
3 Comments
 
LVL 27

Accepted Solution

by:
kretzschmar earned 100 total points
ID: 7103293
look, if there is a method like execSQL or execute
and use this method instead of active or open

(don't know anything about tdaoquery)

meikl ;-)
0
 

Expert Comment

by:gi7mhl
ID: 7103473
TDAOQuery or TADOQuery??
0
 

Author Comment

by:cvbmn
ID: 7104093
Thanks Meikl !

Yess that was a problem !
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Sending Gmail through Delphi 3 106
how to update exe applicatio from internet ? 6 76
Dynamically Created Query 3 55
Tvertscrollbox like a whatsapp layout delete messages 1 16
Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

775 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question