Query not working in Access Runtime

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,
I made an mde file and packaged it with the wizard. When I push a command
button that is supposed to display results of a query, I get an error msg
with the SQL language of the query highlighted.
Do queries not work in runtime?
Thank you,
Karl
 
They should work fine. Consider sharing your code and your SQL syntax.
 
Hi Duane,
Thank you for responding. I packaged a bunch of files that I didn't need to
include. When I re-packaged deleting the garbage files, the query is working
fine now. Thank you for your help.
Karl
 
Hi Duane,
This query works fine in the regular application, but when I make the mde
file I get a response that says:
Function is not available in expressions inquery expression
(((tblPilot.Class)="First") And
((DateDiff("d",[tblPilot.ExamDate],Date()))>150)) Or
(((tblPilot.Class)="Second") And
((DateDiff("d",[tblPilot.ExamDate],Date()))>330))

Please disregard the earlier post of mine.
Thank you,
karl
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top