Solved

Not able to use some sql commands in access 2007

Posted on 2013-02-01
7
366 Views
Last Modified: 2013-02-06
Hello,
am studying out of a microsoft sql book for microsoft access- think it was written using 2003-
I am using access 2007-
Tried to use [on update cascade] and [on delete cascade] commands-
and access giving errors -
the book states that if not using sql 92 - some commands may not work-
what sql version does access 2007 use and should these commands work?
thank you
0
Comment
Question by:davetough
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
  • 2
7 Comments
 
LVL 48

Accepted Solution

by:
Dale Fye (Access MVP) earned 500 total points
ID: 38845088
Click the Windows button
Then click the Access Options button
Select Object Designers
About 1/2 way down the page there is a SQL Server Compatible Syntax, with a checkbox.SQL 92
0
 
LVL 75
ID: 38845089
The default is *not* ANSI 92 ... but, you can .. specify that.

SQL
Those command are not supported in the default mode - as far as I know.
0
 

Author Closing Comment

by:davetough
ID: 38845106
thanks
0
Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

 

Author Comment

by:davetough
ID: 38845323
one question:
If I enable this at work- and if I used one of commands in a database i create- would the other computers with access 2007 - (that this is disabled on) - not be able to recognize the commands?
thanks
0
 
LVL 75
ID: 38845351
Not sure.  I would *try* it to *be* sure ...
The setting implies ... it goes with the db ... but ?

Why do you need to do this - just curious ?
0
 
LVL 48

Expert Comment

by:Dale Fye (Access MVP)
ID: 38846013
to go along with dmx question.  I assume these commands simply provide the same referential integrity you can build into your database structure by building the table relationships and defining the cascading properties in the relationships.  Why not just implement this in that manner?
0
 

Author Comment

by:davetough
ID: 38860392
thanks-mainly working thru this book- but have been looking at other jobs and they all want sql server- since I cannot right now start any classes on server - I thought working through this book - creating some real databases with all sql- it might get me prepared to learn sql server-
thanks for help
0

Featured Post

SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

Question has a verified solution.

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

Access developers frequently have requirements to interact with Excel (import from or output to) in their applications.  You might be able to accomplish this with the TransferSpreadsheet and OutputTo methods, but in this series of articles I will di…
The Windows Phone Theme Colours is a tight, powerful, and well balanced palette. This tiny Access application makes it a snap to select and pick a value. And it doubles as an intro to implementing WithEvents, one of Access' hidden gems.
Basics of query design. Shows you how to construct a simple query by adding tables, perform joins, defining output columns, perform sorting, and apply criteria.
With Microsoft Access, learn how to specify relationships between tables and set various options on the relationship. Add the tables: Create the relationship: Decide if you’re going to set referential integrity: Decide if you want cascade upda…

710 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