473,322 Members | 1,431 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

MS SQL to MS Access ASP problem

Hi,
I need to get this ASP program to work with ms access instead of ms
SQL... I have converted the DB now I just wanted to know should I just
change the DB
connection settings or there is more to be seen and taken care of.
will I have to change the intire sql commands or its just the database
connection setting.

Warm Regards
Jaunty Edward
Jul 19 '05 #1
2 1370
Depends on the SQL statements you used in your program. E.g. Access does not
support the sub-queries that T-SQL supports. Second, the date representation
within the queries is different. My suggestion is to regression-test your
application to catch any errors.

--
Manohar Kamath
Editor, .netWire
www.dotnetwire.com
"Jaunty Edward" <sm***********@hotpop.com> wrote in message
news:1e**************************@posting.google.c om...
Hi,
I need to get this ASP program to work with ms access instead of ms
SQL... I have converted the DB now I just wanted to know should I just
change the DB
connection settings or there is more to be seen and taken care of.
will I have to change the intire sql commands or its just the database
connection setting.

Warm Regards
Jaunty Edward

Jul 19 '05 #2
Jaunty Edward wrote:
Hi,
I need to get this ASP program to work with ms access instead of ms
SQL... I have converted the DB now I just wanted to know should I just
change the DB
connection settings or there is more to be seen and taken care of.
Look up the correct OLEDB connection string for your database at
www.connectionstrings.com or www.able-consulting.com/ado_conn.htm. I
recommend avoiding the ODBC examples since the OLEDB Provider for ODBC
(MSDASQL) has been deprecated. This means that if you are currently using a
DSN, you should switch to a DSNless connection string using the OLEDB
Provider for Microsoft Jet.
will I have to change the intire sql commands or its just the database
connection setting.


Start here:
http://www.aspfaq.com/show.asp?id=2214

Your best recourse is to use the Access Query Builder to test your queries.
For one thing, if your queries involve joins of 3 or more tables, you will
find that Jet insists upon the use of parentheses to group those joins. It's
very maddening and the Query Builder allows you to avoid errors.

Bob Barrows

--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"
Jul 19 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

11
by: Wolfgang Kaml | last post by:
Hello All, I have been working on this for almost a week now and I haven't anything up my sleeves anymore that I could test in addition or change.... Since I am not sure, if this is a Windows...
49
by: Yannick Turgeon | last post by:
Hello, We are in the process of examining our current main application. We have to do some major changes and, in the process, are questionning/validating the use of MS Access as front-end. The...
0
by: bettervssremoting | last post by:
To view the full article, please visit http://www.BetterVssRemoting.com Better VSS Remote Access Tool including SourceOffSite, SourceAnyWhere and VSS Remoting This article makes a detailed...
13
by: Al the programmer | last post by:
I need to access the serial ports on my webserver from an asp.net page. I have no problem accessing the serial ports from a windows form application, but the code doesn't work in asp.net. I have...
17
by: DaveG | last post by:
Hi all I am planning on writing a stock and accounts program for the family business, I understand this is likely to take close to 2 years to accomplish. The stock is likely to run into over a...
5
by: B1ackwater | last post by:
We've fooled around with Access a bit, but only using the single-user store-bought version. It seems to be a good database - versatile and infinitely programmable - and can apparently be used as a...
34
by: Mathieu Trentesaux | last post by:
Hello I downloaded Office 2007 for this reason : It seems, once again, that it is impossible to save any modification done in a VBA library, from the main project in Access. The save button...
21
by: Bigpond News | last post by:
Work at a large site - 1000+ PC's. Mixture of Win98 & WinXP. Majority of applications using Access 97. If I compile the Acc97 application on a Win98 PC, the .mde will run perfectly on both...
18
by: surfrat_ | last post by:
Hi, I am having the following problems in getting Microsoft Visual Studio 2005 Professional to link to an Access .mdb database. Please help me to sort this out. Problem 1: The Microsoft...
7
by: clintonG | last post by:
To all Microsoft partners and customers who have been unable to download recently or access ASP.NET documentation from the msdn2 website and for all of those customers who have been lied to and...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.