473,386 Members | 1,698 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,386 software developers and data experts.

Upsizing questions

Hi

I have a fairly complex access frontend/backend app which I need to upsize
to SQL Server. At this stage I would prefer to use access as frontend. I
have the following questions;

1. Should I keep using the mdb as frontend or switch to an adp (access
project) instead? Any reasons?

2. I have used IIF (immediate if) frequently in access queries. When
converting queries to SQL Server, is there an easy way to replace the IIF
function?

3. Is it possible for access frontend to connect/link to two separate SQL
Server dbs, main and archive at the same time?

Thanks

Regards

Jul 31 '05 #1
3 1708
John (Jo**@nospam.infovis.co.uk) writes:
1. Should I keep using the mdb as frontend or switch to an adp (access
project) instead? Any reasons?
You ask in a newsgroup like comp.databases.ms-access about this one.
2. I have used IIF (immediate if) frequently in access queries. When
converting queries to SQL Server, is there an easy way to replace the IIF
function?
CASE WHEN <this condition> THEN <that value>
WHEN <this other condition> THEN <that other value>
..
ELSE <when nothing else fits>
END

But beware that this is far from the only difference. Access appears
to have quite a few pecularities (as SQL Server has its). One that
often bites Access programmers is:

SELECT a + b + c AS d, d + e AS f FROM tbl

That is, once you have defined a name for a column, you can use it
later in the query.

This does not conform with ANSI SQL, and neither does not work with SQL
Server. Instead you use derived tables.

SELECT d, d + e
FROM (SELECT a + b + c AS d FROM tbl) AS tbl2
3. Is it possible for access frontend to connect/link to two separate SQL
Server dbs, main and archive at the same time?


That's another question that you should ask in a place where they
know Access.

--
Erland Sommarskog, SQL Server MVP, es****@sommarskog.se

Books Online for SQL Server SP3 at
http://www.microsoft.com/sql/techinf...2000/books.asp
Jul 31 '05 #2
> 1. Should I keep using the mdb as frontend or switch to an adp (access
project) instead? Any reasons?
I have not been developing in Access for about 2 years now. In 2002 I
converted an Access mdb to ADP using Office 2000 then Office XP
with SQL Server 7.

Back then and now I am pretty sure nothing major changed (I might be wrong)
as most of the experienced Access developers would not bother switching
from MDB to ADP. They did not see any advantages of doing so.
Now I would not argue with that point as back then I did a lot of research
on the same question but I decided to switch to ADP. The reasons I did
so is because since I was switching to SQL Server as the backend, I
preferred to have my Access database directly connected to a SQL
Server backend instead of relying on ODBC and Linked tables.
I had to learn ADO too to make the data communication as I was
using unbound forms everywhere (which basically some people would
say it would defeat the purpose of using Access altogether and would
recommend using VB instead).

I would suggest you stay with mdb for the time being and not waste
your time with ADP. If you find the time to redo your frontend then
I recommend you use VB .NET instead of Access.

I also suggest you post the same questions here on
comp.databases.ms-access and see what the latest story is on
ADP/MDB and VB.NET.
I haven't followed the Access community for a couple of years now
so I am not sure where Microsoft Access is heading towards in the
future.

3. Is it possible for access frontend to connect/link to two separate SQL
Server dbs, main and archive at the same time?


Sure, if you use VB Code you can open as many connections as you want
to other SQL Server databases. You don't need to think you are limited
by the ODBC Linked Tables connection to one SQL Server database.
Nothing prevents you from creating a new connection using code, accessing
the data and then closing the connection.

Good Luck with your research and decision.

Aug 1 '05 #3
Response from VIPS:

1)If you are familiar with Access front, then use Access front rather
than ADP.
But using adp will give you close compatibility with SQL server, and
allows you the option of using triggers or RDI, views etc..

2)You cannot use IIF. But you can create a stored proc and use the IF
statement to achieve same result. If you want to use IIF, then select
MDF rather than ADP when upsizing.

3)It is absolutely possible to link to multiple SQL Servers.

John wrote:


I have a fairly complex access frontend/backend app which I need to upsize
to SQL Server. At this stage I would prefer to use access as frontend. I
have the following questions;

1. Should I keep using the mdb as frontend or switch to an adp (access
project) instead? Any reasons?

2. I have used IIF (immediate if) frequently in access queries. When
converting queries to SQL Server, is there an easy way to replace the IIF
function?

3. Is it possible for access frontend to connect/link to two separate SQL
Server dbs, main and archive at the same time?

Thanks

Regards


Aug 1 '05 #4

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

Similar topics

0
by: Gary Bouchard | last post by:
I have a Visual Basic 6 application that uses MDB or SQL Server databases. I was wondering if it was possible via Automation or ADO or some method, where I could programmicatlly upsize an MDB...
1
by: Big Time | last post by:
I have an Access 2000 DB that I've been considering upsizing to SQL Server 2K. I'm wondering if anyone can share their experiences in upsizing and let me know of any tips or pratfalls. I've been...
0
by: Bon | last post by:
Hello All I got "Tables are skipped or export failed" error when I used upsizing wizard on migrating MS Access 2000 to MS SQL Server 2000. I am changing my application backend database from MS...
0
by: ImraneA | last post by:
Hi there I had pleasure of upsizing Access v97 db to Access v2K/SQL 2K. Wish to provide some knowledge gained back to community - hopefully help others. 1.Question how do you test stored...
1
by: Arthur Cheung | last post by:
I use the upsizing wizard to upsize a db in MS Access2K into MSDE 2000 (Both are running on my local W2K machine). After answering the wizard questions, the system returns an error message...
2
by: Big Time | last post by:
I have an Access 2000 DB that I've been considering upsizing to SQL Server 2K. I'm wondering if anyone can share their experiences in upsizing and let me know of any tips or pratfalls. I've been...
3
by: Devonish | last post by:
I am planning to convert an existing Access database which has a back end (data tables and relationships only) on a server and a copy of the front end (form, queries, reports) on each of about a...
7
by: JM | last post by:
I'm using Access 2003 to attempt an upsize to SQL Server 2000. The Upsizing Wizard is giving me tons of problems with error messages like: 1. "Object is invalid. Extended properties not...
1
by: Jim Devenish | last post by:
I am continuing my exploration about upsizing to SQLServer from Access 2000. I have a split database with a front-end and a back-end, each of which is A2K. I have spent some time in bookshops...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.