[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 955
  • Last Modified:

QBE table does not exist

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
weimha
Asked:
weimha
1 Solution
 
rfwoolfCommented:
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
 
spk2000arCommented:
Just remove "ANSWER: :PRIV:ANSWER.DB" line and try again.
0
 
Geert GruwezOracle dbaCommented:
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
2018 Annual Membership Survey

Here at Experts Exchange, we strive to give members the best experience. Help us improve the site by taking this survey today! (Bonus: Be entered to win a great tech prize for participating!)

 
diniludCommented:
make sure "FileA.db" and "PM001.db"  is exists
0
 
diniludCommented:
sorry for duplicate.
0
 
kretzschmarCommented:
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

[Webinar] Kill tickets & tabs using PowerShell

Are you tired of cycling through the same browser tabs everyday to close the same repetitive tickets? In this webinar JumpCloud will show how you can leverage RESTful APIs to build your own PowerShell modules to kill tickets & tabs using the PowerShell command Invoke-RestMethod.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now