Lightwave
Ad astra
- Local time
- Today, 09:34
- Joined
- Sep 27, 2004
- Messages
- 1,537
Access 2003 linked to SQL Express 2005 via a DSN Less connection.
Bear with me just starting to experiment with this - seems to be going well so far.
I have created a "View" in SQL Express and using some DSN Less code got it automatically being imported into Access 03 Front end.
Questions
Firstly -Is a View the SQL equivalent of a Query? (It seems to be from what I've seen)
Secondly -The code that I have imported in seems to have brougth it in so the View looks like a linked table - I was thinking it might be brought into the query section of the front end as some kind of link. Is this correct or would it be more normal to bring it into the query section? I'm thinking this as I assumed there would be a query link somewhat like the links in the table section and I used the DSN less code to import the "View" subsituting the name of the table with the name of the view so it might be something in the code that determines which section it goes into.
Thirdly - I note that I don't seem to be able to edit or add records to the view when getting to the information through the Access 03 front end but I can make a query on the DSN Less linked table and add and edit the same information that way. I also note that I can add and edit the same view if I go into the SQL Server back end and open the view directly. Is this correct?
Bear with me just starting to experiment with this - seems to be going well so far.
I have created a "View" in SQL Express and using some DSN Less code got it automatically being imported into Access 03 Front end.
Questions
Firstly -Is a View the SQL equivalent of a Query? (It seems to be from what I've seen)
Secondly -The code that I have imported in seems to have brougth it in so the View looks like a linked table - I was thinking it might be brought into the query section of the front end as some kind of link. Is this correct or would it be more normal to bring it into the query section? I'm thinking this as I assumed there would be a query link somewhat like the links in the table section and I used the DSN less code to import the "View" subsituting the name of the table with the name of the view so it might be something in the code that determines which section it goes into.
Thirdly - I note that I don't seem to be able to edit or add records to the view when getting to the information through the Access 03 front end but I can make a query on the DSN Less linked table and add and edit the same information that way. I also note that I can add and edit the same view if I go into the SQL Server back end and open the view directly. Is this correct?