Solved

QBE table does not exist

Posted on 2008-06-23
6
929 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
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
Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

 
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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Suggested Solutions

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

776 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