Solved

QBE table does not exist

Posted on 2008-06-23
6
932 Views
Last Modified: 2013-11-23
I'm tryiing to run a qbe query.  This is something that was created by a programmer that no longer works here and I'm not very familar with them.  

I'm trying to open the qbe query in Database Desktop.  I get a message that says "Table does not exsit".  I opened the .qbe file in word pad and both tables in the .qbe file exist.  

What could be the problem?

Here's the .qbe file:

Query
ANSWER: :PRIV:ANSWER.DB

FileA.db | LPEIntCde | LPEName | LPEOptName | LPEAddr2 | LPE3City | LPE3State |
Insert     | _join1    | _join2  | _join3     | _join4   | _join5   | _join6    |

FileA.db | LPE3Zip |
              | _join7  |

PM001.db | LPEIntCde | LPEName | LPEOptName | LPEAddr2 | LPE3City |
                 | _join1    | _join2  | _join3     | _join4   | _join5   |

PM001.db | LPE3State | LPE3Zip |
                 | _join6    | _join7  |

EndQuery
0
Comment
Question by:weimha
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 
LVL 13

Expert Comment

by:rfwoolf
ID: 21850345
I'm not familiar with QBE so this is just a guess then.
if there are any parameters in there then that might be the problem, e.g. ":PRIV" looks like a paramater to me - Delphi might be programmed to replace that with a value at runtime - it seems then that ":ANSWER.DB" could also be a parameter. - perhaps the programmer gets the first line to be generated according to two parameters.
...just a guess.
0
 
LVL 4

Expert Comment

by:spk2000ar
ID: 21852118
Just remove "ANSWER: :PRIV:ANSWER.DB" line and try again.
0
 
LVL 37

Expert Comment

by:Geert Gruwez
ID: 21852702
is there an alias in the BDE admin that points to the directory containing the files FileA.db and PM0001.db ?
the BDE uses this to determine where the files are located
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 10

Expert Comment

by:dinilud
ID: 21852742
make sure "FileA.db" and "PM001.db"  is exists
0
 
LVL 10

Expert Comment

by:dinilud
ID: 21852757
sorry for duplicate.
0
 
LVL 27

Accepted Solution

by:
kretzschmar earned 500 total points
ID: 21854420
usual the qbe-syntax came with the paradox for dos frontend in the early 90ties

this entry
 "ANSWER: :PRIV:ANSWER.DB"
tells that the result should be stored in a table named answer.db in the privatedir

my only guess why this won't work is:

the workdie :WORK: did not contain the tables, so my advice would be

select as workdirectory the directory where the tables resides

meikl ;-)
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
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…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

737 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