Solved

QBE table does not exist

Posted on 2008-06-23
6
927 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 36

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
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

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…
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…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

746 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now