Re: MS Access 97 vs. XP/2003

From: Brian (bcap_at_IHATESPAMclara.co.uk)
Date: 01/10/05


Date: Mon, 10 Jan 2005 16:44:43 -0000


"smk23" <smk23@discussions.microsoft.com> wrote in message
news:1FA2ACEF-A77E-45EE-AC7D-C7B6634B4EBF@microsoft.com...
> I really need to understand this. I am prototyping in MS Access with
unbound
> forms with the intention of taking that to .net, probably vb.net (this
will
> be a web-based app). All the connections to the SQL DB are via ADO. My
> expectation was that translation would be a snap. Am I wrong?
>
> Sam
>

Yes, I'm afraid you are very wrong. As others have pointed out, ADO.Net is
a completely different product to ADO, you cannot simply convert code using
ADO to ADO.Net. Furthermore, VB.Net is a very different product to all
preceding versions of VB e.g. VB6, VBA. You cannot simply run your VBA code
in VB.Net, it is a different language. There are enough similarities to
make conversion feasible, but it will not be a trivial exercise.

However, if you are ultimately targetting a web-based application, then your
entire architecture is going to be all wrong if you design it in Access. In
.Net, web forms and ADO.Net work on the basis that that the client data is
"disconnected" from the database: data gets queried from the database by the
web server, shipped out in a web page in the form of a disconnected
recordset, and then the web server forgets about it. The disconnected
recordset, containing modified data, may or may not come back eventually.
If it does, it then gets processed completely independently of the original
recordset created from the original query, which is by now long forgotten.

This is very different from the way that the "connected" recordsets that you
get in DAO and ADO work, which are closely tied into the database at all
times.

Also, you will find that what you can do in web forms in terms of the user
interface is very different to what you can do in Access, which means that
Access is a very questionable tool for prototyping web forms.



Relevant Pages

  • Re: ADO vs. ADO.NET
    ... Vaughn, Apress, ADO .Net and ADO - Best Practices ... > to a global variable (recordset). ... > other database operations to the connection unless the data reader is ... > database connections. ...
    (microsoft.public.dotnet.framework.adonet)
  • Re: Is ADO Dead (3)?
    ... The Design of ADO ... ADO uses a single object, the Recordset, as a common representation for ... a forward-only stream of results from a database, ... where data is updated at the data source or cached locally as with the ...
    (comp.databases.ms-access)
  • Re: Is ADO Dead (3)?
    ... The Design of ADO ... ADO uses a single object, the Recordset, as a common representation for ... a forward-only stream of results from a database, ... where data is updated at the data source or cached locally as with the ...
    (comp.databases.ms-access)
  • Re: Is ADO Dead (3)?
    ... The Design of ADO ... ADO uses a single object, the Recordset, as a common representation for ... a forward-only stream of results from a database, ... where data is updated at the data source or cached locally as with the ...
    (comp.databases.ms-access)
  • Re: Is ADO Dead (3)?
    ... The Design of ADO ... ADO uses a single object, the Recordset, as a common representation for ... a forward-only stream of results from a database, ... where data is updated at the data source or cached locally as with the ...
    (comp.databases.ms-access)

Loading