Complicated Query

  • Thread starter Thread starter khanhly246 via AccessMonster.com
  • Start date Start date
K

khanhly246 via AccessMonster.com

hi all

I want to write a query in MS Access2003 for Search feature in my application,
I try to write it like a store proceduce in SQL server but I don't know how,
somebody help me,
ex : can i use If ... esle , form and control objects in the code or just use
Select , insert , update, ...

help me, ASAP thanks
best regard !
 
hi all

I want to write a query in MS Access2003 for Search feature in my application,
I try to write it like a store proceduce in SQL server but I don't know how,
somebody help me,
ex : can i use If ... esle , form and control objects in the code or just use
Select , insert , update, ...

SQL/Server uses the T-SQL programming language in which you can mix
programming constructs and SQL constructs. Access JET SQL does not.

You can write VBA code with programming constructs, SQL queries with
(just) SQL constructs, and you can execute the queries from the code
(or call VBA functions from the query) - but no, you cannot write
mixed languages.

John W. Vinson[MVP]
 

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