Errors Upsizing An Access 2002 Database To SQL Server 2005

Feb 25, 2007

I have an Access DB with about 50 tables. When I run the upsize wizard all bur four tables import beautifully, data and all. Four of the tables fail with the message 'Table was skipped, or export failed'

When I try to IMPORT the data I get 100 or so messages like this one:



Warning 0x80047076: Data Flow Task: The output column "AssessPlanPHPID" (23) on output "OLE DB Source Output" (11) and component "Source - tblAssessPlan" (1) is not subsequently used in the Data Flow task. Removing this unused output column can increase Data Flow task performance.
(SQL Server Import and Export Wizard)


And the import fails. Note that the upsize creates the tables just fine, it just won't import the data.



Any ideas?

I apologize for the fonts jumping around.

View 2 Replies


ADVERTISEMENT

How Do I Set Access 2002 Upsizing Wizard To Create Clustered-index On SQL 2005

Jun 3, 2006

Here is an extract from the Acc2Sql2.doc >>


By default, the Upsizing Wizard
transfers all indexes as nonclustered indexes. You can modify the Upsizing
Wizard to transfer the primary key index to a clustered index. To make this
change, start Microsoft Access and open the upsizing wizard library database.
For Microsoft Access 95, the filename is Wzcs.mda. For Microsoft Access 97, the
filename is Wzcs97.mda. When the database is open, click the Modules tab and open the
UT_ModUserConstants module. Search down to the UT_CLUSTERED constant. Change
the default value from False to True.

<<< end quote
Question: I am using ACCESS 2002 upsize wizard, I searched my computer for *.mda and could not find any wzcs*.mda. How do I set it so that it creates clustered-index instead of non-clustered-index?

View 1 Replies View Related

MS Access 2002 / SQL Server 2005 Express

Aug 31, 2006

I have few queries:

(1) What is the maximum database size of Access XP and SQL Server 2005 Express?

(2) Is SQL Server 2005 Express edition FREE for development use?

View 1 Replies View Related

Upsizing Access To SQL Server 2005

Apr 30, 2006

I am upsizing a number of Access 2003 databases to SQL Server 2005 with Access Project front ends. Access Tables all upsize OK, some Queries upsize to SQL Views, some to SQL Functions and some get skipped completely. I have fixed up data type issues with Yes/No and Date/Time fields.

I would like all my Access Queries to be SQL Views. Some queries may have calculated fields and I suspect this is one of the issues. The only log in the report states 'Query "QueryName" failed to upsize'. Where should I start looking.

Any ideas on this please.

Thanks,

George

View 4 Replies View Related

Error Upsizing Access Database To SQL Server 7.0

Sep 13, 2002

Hello,
I have a question about an error I am getting when upsizing my Access Database back end to SQL Server 7.0. My server has the following configuration:

Microsoft Windows 2000 Server, Service Pack 3
SQL Server 7.0, Service Pack 4, OLAP Services Service Pack 3
Microsoft Office 2000, Service Pack 2


When I attempt to upsize my database, the first four tables are upsized successfully, but the fifth table has the following error in a window that pops up called "Errors from Server":


SQL that Caused Error(s):
UT_CopyData

Error(s):
Server Error 0: Timeout Expired


The table that is having the error is very large, with 240,972 records. I have tried to perform the upsizing after cutting the size of the table down to only 20,000 records, and the error does not occur.
I would like to know if there is a timeout parameter in SQL Server 7.0 that I can configure that would keep this timeout error from occuring while upsizing my database with the full table of 240,972 records. I have already tried setting "remote login timeout" = 0 and "resource timeout" = 100000, but neither of these has helped. Thank you very much for any advice you can provide me!

Take care!
Bobby Goluba

View 1 Replies View Related

Access 2003 Database Upsizing To SQL Server Express

May 31, 2006

Is it possible to upsize an Access 2003 database to SQL Server Express without actually installing Access 2003 on my server....I would prefer to not have to do that. Currently, I only have the Access mdb file on the server...it is the backend to my ASP application. Can I download and run the Upsizing Wizard on it's own?

Thanks in advance,

Kris.

View 1 Replies View Related

Upsizing Access 2003 Database To SQL Server Express

May 31, 2006

Is it possible to upsize an Access 2003 database to SQL Server Express without actually installing Access 2003 on my server....I would prefer to not have to do that. Currently, I only have the Access mdb file on the server...it is the backend to my ASP application. Can I download and run the Upsizing Wizard on it's own?

Thanks in advance,

Kris.

View 4 Replies View Related

Upsizing Access 2000 DB To SQL Server 2005 Express Edition

Jul 26, 2006

Hi

I have an Access 2000 Database which I am upsizing to SQL Server 2005 Express Edition. The Database has 29 tables and 60 stored queries. Each time I upsize to SQL Server the tables come in fine but non of the queries are imported.

All of the queries are very simple Select, Insert, Update and Delete Queries with nothing special in them.

I have tried using the upsizing wizard in Access 2003 and also the SQL Server 2005 Migration Assistant for Access.

Is there anything special I need to do in the migration assistant to ensure that the queries are imported as well.

Cheers

Redav

View 4 Replies View Related

How To Connect To A SQL Database From Access 2002

Dec 11, 2007

Currently i have a SQL database on our server and an adp file that allows the end user to open the database to play with the data.

On the client side the user navigates to the adp file from above and opens it which allows them to do their work.

I need the same database but for another department, so i copied the SQL and adp file to another folder and renamed it. I then open the adp file from the new folder created using Access 2002 on Win XP Pro SP2, click File navigate to connection and refresh the data source and server name but i cant see the new database i copied over.

I then stop/start the Sql server but same issue. I now think i might need an ODBC connection but when going into ODBC the other database has no connection setup in there therefore i guess i dont need to for the new database. I type the name of the new database in connection (Access 2002) and comes back with an error (Cant find it)

Any idea about this one? all im trying to do is have the same database with a different name and allowing clients to connect to it?

Thanks

View 1 Replies View Related

Migrate Access 2002 To SQL Express 2005

Nov 26, 2005

Hello

View 5 Replies View Related

Upsizing From Access To SQL 2005 Express

Jul 23, 2007

I need some help upsizing  from Access2007 to SQL Server 2005 ExpressI need some URGENT HELP UPSIZINGIf you have done this before and are confident, then please can you help me, This is critical and very very URGENT I am on a dedicated server at RackSpaceWhen I try and upsize using the Wizard, it said that it cannot connect to the database, I get error number I select Upsizing to create a new database On the next screen, I select (local) database to  upsize toUsername and password are already confirmed and the user exists and has been granted Admin priv to operate on the DatabaseThe error I get is:SQL State 01000SQQL server state Error2Connection failedError 08001 connection failedError 17 When I list the databases it gives me an error as above.how do I upsize correctly, what steps am I missingRegardsAndrerw

View 6 Replies View Related

Access Project 2002 Compatibility With SQL Server Express

May 16, 2006

Hi,
When using an Access Project 2002 connected with SQL Server Express in OLE DB it's impossible to work in creation mode. A message explains that this Access version is not compatible with this SQL version.
Is there a service pack ?

View 1 Replies View Related

Upsizing An MS Access DB To SQL Server

Aug 19, 2004

I was just wondering if there were any problems or defects when upsizing a db from access to sql server..........i've been using access for awhile, but new to sql server and prefer the initial creating of a db to be done in access

just looking for any info on this

thanks

View 3 Replies View Related

Upsizing Access To SQL Server

Nov 9, 2005

Hi There,

We need to upsize serveral MS Access DB's to SQL Server. Herefor we use the standard upsize wizard from MS.
However, this tool does not convert all query's and functions.
Expample.
An standard query with an inner join will nog be upsized because access uses an different SQL statement order.

Does anybody knows a good tool with wich we can easier upsize the DB's

greetz,

Marcel

View 2 Replies View Related

Upsizing Access DB To Sql Server Error 15135

Jul 15, 2006

I am trying to upsize an Access DB to Sql Server. The upsizing wizard runs fine when I try it locally to Sql Server Express 2005.

When I try to upload it to our remote server, I keep getting a bunch of errors

"Server Error 15135: Object is invalid. Extended properties are not permitted
on 'dbo.<table>.<field>', or the object does not exist."


I googled the error but all I could find was a change in coding to correct it. Since this is a Microsoft Wizard, I can't change any coding.


Any ideas on what is causing it, how to correct it?



thanks



Paul P

View 2 Replies View Related

Upsizing Access Query To SQL Server Express

Jul 12, 2006

Hello,

I have an Access 2003 application that uses a query to supply sorted data to a combobox on a form. This bit works fine.

I've upsized to SSE and have now got a few learning opportunities! Can anybody suggest how I can get the same functionality in the upsized/SSE version? Do I need a stored procedure or a view (or something else) to deliver sorted data? As you can tell, what I know about SQL Server wouldn't cover a postage stamp! Any recommendations for good books on the subject?

TIA for any help.

Chris



View 4 Replies View Related

MS Access 2007 Db Upsizing T0 SQL Server Express 2008

Apr 24, 2008

Hi Folks,
I have an access 2007 data base for document control and it saves the received documents in a table in a attachment field type, I tried to upsize it to SQL Server 2005 but after upsizing realized that this field type is not supported by 2005 so I downloaded the SQL Express 2008 and installed it as it has this enhancement but Access 2007 doesn’t recognize the server for upsizing.
I appreciate you help
Thanks :beer:

View 13 Replies View Related

Visual Studio.net Academic (2002) With Sql Server Express 2005?

Sep 17, 2006



Can Visual Studio.net Academic (2002) be used with Sql Server Express 2005?

View 4 Replies View Related

Errors Accessingf Database SQL SERVER 2005 Exp From Asp.Net Vb 2.0 Web App

Feb 21, 2008

Hello everyone.
I have a problem in accessing my SQL SERVER Express 2005 database.

The error is:
Cannot open database "MyDB" requested by the login. The login failed.
Login failed for user 'NT AUTHORITYSERVIZIO DI RETE'.

My ConnectionString is:
Data Source=(local); User ID=ExtApp; Initial Catalog=MyDB; Trusted_Connection=yes; Connection Timeout=15

In SQL SERVER I have set the Database log in ExtApp with SQL Authentication mode, instead of Windows Auth mode, and even inserted in my database the user associated with this login

The debugger keeps on telling me the same error that occours when I Try to open a connection (please note that the code has no errors because it works in another application, a client app not an asp.net 2.0 web app, so I assume that there are no errors or mistakes in the code).

Please can anyone tell me something about this????

Thanks

View 1 Replies View Related

Moving Access 2002 Db To MS SQL

Nov 7, 2007

Hey guys,

I was just trying to get some information on how to move an Access 2002 db to MS SQL. Also, what all do I need to be able to access the db from the web. For instance, query the db for info from a website. I don't have that much experience in SQL but I quiet a few programming languages so i'm sure i'll learn it quick, I usually do. Right now I have a server set up with MS SQL server 2005 with all the other things required for testing over in my own little world. DNS, Active Dir., etc....

I'm trying to do this because a friend of a friend has a business(small businessish) who wants to be able to view reports from queries over the internet. And i'm sure I can do it but i told them to let me give it a test run to make sure I can before we commit.

Thanks in advance.

View 4 Replies View Related

HELP!!! How To Upsize From Access 2002 To SQL Express

Nov 29, 2005

Problem:Upsize a backend MSAccess 2002 Database to SQL Express 2005Explored:Tried using the upsizing wizard from Office XP(2002), Two tables always get skipped.***! The two tables skipped data only, the tablename and data structure were created.Tried to install UPSize Pro, installation failed.I decide to try it in VWD 2005, here is my code so far but it keeps erroring out.
Dim cn As System.Data.OleDb.OleDbConnectionDim cmd As System.Data.OleDb.OleDbDataAdapterDim ds As New System.Data.DataSet()cn = New System.Data.OleDb.OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source='C:Documents and SettingsBillMy DocumentsVisual Studio 2005WebSitesWebSite1App_DataData for Database.mdb';Persist Security Info=True")cmd = New System.Data.OleDb.OleDbDataAdapter("select * from Service_Orders", cn)cn.Open()cmd.Fill(ds)cn.Close()


Dim connDest As New Data.SqlClient.SqlConnection("Data Source=WLOCKLAPTOPSQLEXPRESS;Initial Catalog='Data for DatabaseSQLND1';Integrated Security=True")connDest.Open()Dim oBCP As New Data.SqlClient.SqlBulkCopy(connDest)oBCP.DestinationTableName = "Service_Orders"oBCP.WriteToServer(ds)oBCP.Close()connDest.Close()
It erors on Line oBCP.WriteToServer(ds)with......System.InvalidCastException was unhandled by user code  Message="Unable to cast object of type 'System.Data.DataSet' to type 'System.Data.IDataReader'."  Source="App_Web_hb6xyamq"  StackTrace:       at ASP.xfer_data_aspx.Button1_Click(Object sender, EventArgs e) in C:Documents and SettingsBillMy DocumentsVisual Studio 2005WebSitesWebSite1xfer data.aspx:line 30       at System.Web.UI.WebControls.Button.OnClick(EventArgs e)       at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)       at System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument)       at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)       at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)I'm open for ANY suggestions, I do not have access to DTS, its not in the Express addition. Thanks in advance.Bill

View 2 Replies View Related

Importing Access 2002 Into Reporting Services

Feb 24, 2004

Getting the following error when trying to import an Access 2002 database into Microsoft Reporting Services:

--The given path's format is not supported--

Please advise if you know what this is referring to.

View 2 Replies View Related

Importing Data From Access 2002 In SQL Express

Jan 18, 2007

Hi All,

At the moment i have a piece of software that uses Access to store the data into a number of tables.

I am developing a new piece of software that has been built around SQL express and need to upgrade users that are using access. I have managed to write the installation to install etc and also the start of a script to insert all of the tables. I cant work out how to get the data into SQL express using a script.

Basically the access db (CentralDb) will be stored a a given location C:Program FilesCentralDB.mdb

The tables within the SQL version are indentical to access but i need a way of pulling out the information stored and putting it into SQL, and as there is no DTS i am becoming stuck on how to automate the process.

Any ideas?

Thanks in advance

Martin

View 1 Replies View Related

Upsizing Access 97

Oct 24, 2000

I have four complex Access 97 Databases which I need to upsize to SQLServer 7. The first thing I did was convert them to Access2000 because I was told that the upsizing wizard wal great. When I ran the wizard the report said that the queries couldn't be upsized because they had criteria which referred to a textbox on a form and that SQLServer couldn't handle this. When I remove the criteria, the queries seem to upsize very nicely. Dows anyone have a way to get the criteria information from the form to the query without having to do a major rewrite of database?

View 2 Replies View Related

Upsizing From Access

Aug 18, 1999

Unfortunately I have not the faintest idea where to begin!


I have an existing project relying on an Access database
and using ASP to run queries etc.which has a requirement
to be upsized to run on SQL server.

This leads me to a couple of questions,

1)Do I have to rewrite the database / asp completely for
use with SQL?

2)Can I simply upsize the Access database to SQL and continue to
run my existing asp?

I feel completely out of my depth here and help or pointers as to
where to start would be much appreciated!

View 1 Replies View Related

Upsizing Access To MS SQL???

Mar 23, 2006

I'm quite new to MS SQL and I don't really have a clue in what I am doing. I set up an evaluation of SQL 2005 to help me create a DB locally for testing an development.

I would continue to use Access, but the db is quite large and has 18 tables with lots of relationships. It also has anywhere from 20 to 50 concurrent users at one time, so therfore I am getting a lot of "Too Many Client Tasks" errors.

I tried using the Upsizing Wizard from access, but everytime I try to create a new DB in SQL, I get an error saying "Overflow". Thats it, no more, no less. If it said more I could possibly troubleshoot, but I have no idea what this means. Has anyone encountered this issue before? Does someone know where I can go to get help? I'm lost, so any help will be much appreciated.

View 3 Replies View Related

Upsizing Of Access DB

Mar 30, 2007

Hi,

We have a document tracking application at my company which is extremely slow to load up and causes delays when staff log into their machines. This is because its launched from the login script. The application has an Access DB as the backend and is getting quite full which is why I think the performance is so poor.

My question is, can I upsize the DB to SQL server and link the tables into Access to improve performance?

I wasn't sure if this would make that much of a difference.

Thanks in advanced!

View 2 Replies View Related

Upsizing From Access

Mar 23, 2007

I keep getting the warning I don't have administrative privilege but I'm the only user on the computer and have verified in vb that I am the administrator.

Can somebody help?

Shabbat Shabbat Shalom

dennist

View 4 Replies View Related

Unable To Update Table Using Access 2002 Front End

Jul 20, 2005

I am unable to update a table (either by opening it and entering datadirectly or through a form). I have set the recordsettype property toupdateable snapshot and have set the permissions to update inside ofthe SQL Server 2000 to checked. Unfortunately, these items have notworked. Any advice is appreciated. Thanks.Dave Christman

View 1 Replies View Related

Access 2002 To MSSQL Upgrade Challenge With ASP Web Application

Mar 6, 2008



To whom it may concern,



I have developed a web application using ASP 3.0 with a Access DB 2002 backend. I have decided to recently to upgrade the database to SQL 2005 but I am having issues that I cannot work out because I am new to MsSql Language. It appears that the FORMAT function in Access does not work in MsSql ( does not recognise the function ) along with some of the PIVOT and TRANSFORM calls (coming up with "Syntax error near "..."") . Please see the below code. The areas that are showing up as errors when the application is run are highlighted in red.



Thanking you in advance

Darren





<!-- #include file="./../../common/includes/i_header_login.asp" -->

<link href="../../common/css/proceduremanual.css" rel="stylesheet" type="text/css">


<%Sub RecordsetToCSV(ByRef RS, ByVal CSVFilePath, ByVal IncludeFieldNames)
Set objCSVFile = CreateObject("ADODB.Stream")
Call objCSVFile.Open

If IncludeFieldNames Then
'string concatenation issues aren't a problem for a small string of field names
For Each Field In RS.Fields
If FieldNames = "" Then
FieldNames = Field.Name
Else
FieldNames = FieldNames & "," & Field.Name
End If

Next
FieldNames = FieldNames & vbCRLF
Call objCSVFile.WriteText(FieldNames, 1)
End If

Call objCSVFile.WriteText(FieldNames & RS.GetString(adClipString, , ",", vbCRLF, ""))
Call objCSVFile.SaveToFile(CSVFilePath, 2)
Set objCSVFile = Nothing
End Sub
%>

<%
function evaluate(pFormula, pUserID, pMonth, pYear)
if isnull(pFormula) then
evaluate = 0
exit function
end if
x = 0
key = ""
zero = "0"
nine = "9"
eFormula = ""
lf = len(pFormula)
for i = 1 to lf
c = mid(pFormula,i,1)
if x = 1 and c >= zero and c <= nine then key = key & c
if x = 1 and (c < zero or c > nine or i = lf) then
set rsd = cn.execute("select sum(total) from Data where UserID = " & pUserID & " and month(weekEnding) = " & pMonth & " and year(weekEnding) = " & pYear & " and GroupTaskID=" & key)
eFormula = eFormula & rsd.fields(0)
rsd.close
key = ""
if c < zero or c > nine then x = 0
end if
if c = "v" then
key = ""
x = 1
end if
if x = 0 then eFormula = eFormula & c
next
on error resume next
evaluate = round(eval(eFormula),0)
'if err then evaluate = err.description & ": " & eformula
if err then evaluate = 0
end function
%>

<%
period = split(request.form("period"),",")
if ubound(period) = 1 then
mmmm = period(0)+0
yyyy = period(1)+0
else
mmmm = 0
yyyy = 0
end if
%>


<div align="left" class="MainBodyText" style="width: 100%; height: 100%">


<div align="left" valign="top" width="200" style="margin:5; padding:3; font-family:arial; font-size:10pt; font-weight:bold; font-color000000;" >

<% if session("groupid") = 1 then%>
<a href="../main/administration.asp"> <<< Administration Home</a><br><br>
<a href="manager_report.asp"> <<< Managers Report Home</a>
<%end if %>
<%if session("groupid") = 2 then%>
<a href="../main/manager.asp"> <<< Manager Home</a><br><br>
<a href="manager_report.asp"> <<< Managers Report Home</a>
<%end if %>
<%if session("groupid") = 3 then%>
<a href="../main/user.asp"> <<< User Home</a>


<%end if %>

<%if session("groupid") = 4 then%>
<a href="../main/general.asp"> <<< Home</a><br><br>
<a href="manager_report.asp"> <<< Managers Report Home</a>


<%end if %>



</div>
<p align="center" class="MainBodyText">
<img src="../../images/si.gif" align="center"><br><b>Month to Date Dashboard</b></p>
<p align="center" class="MainBodyText">
To use the Print Page function please select the period required then select
view report. You can then select Print Page which will print out the rendered
page.</p>
<form name="f1" method="POST" action="dialmtd.asp">
<div id="printReady">
<table align="center" border="0" width="663" style="border-collapse: collapse" bordercolor="#111111" cellpadding="2">
<tr>

<td align="left" width="127"><font face="Arial" size="2">
<select name="benchmarkgroup" style="color: #000000; border: 0px solid #000000; background-color: #FFE737">
<option value="0" <%if request.form("benchmarkgroup") = "" then response.write "selected"%>>Select Report
<% set rs = cn.execute("select TaskGroupID,TaskGroup from BenchmarkGroups where Active = 1 order by TaskGroupID")
do until rs.eof
if request.form("taskgroupid")+0 = rs.fields(0) then selected = "selected" else selected = "" %>
<option value=<%=rs.fields(0) & " " & selected%>><%=rs.fields(1)%>
<% rs.movenext
loop
rs.close %>
</select>
</td>

<td align="left" width="143"><font face="Arial" size="2">
<select name="period">
<option value="" <%if request.form("period") = "" then response.write "selected"%>>Select Period
<% set rs = cn.execute("select year(WeekEnding), month(WeekEnding), format(Weekending,""mmmm yyyy"") from data group by Year(WeekEnding), Month(WeekEnding), format(WeekEnding,""mmmm yyyy"") order by 1,2")
do until rs.eof
x = rs.fields(1) & "," & rs.fields(0)
if request.form("period") = x then selected = "selected" else selected = "" %>
<option value=<%=x & " " & selected%>><%=rs.fields(2)%>
<% rs.movenext
loop
rs.close %>
</select>
</td>

<td align="left" width="117"><font face="Arial" size="2">
<select name="stateid">
<option value="0" <%if request.form("stateid") = "" then response.write "selected"%>>All States
<% set rs = cn.execute("select stateid,state from tblState where benchmarkactive order by state")
do until rs.eof
if request.form("stateid")+0 = rs.fields(0) then selected = "selected" else selected = "" %>
<option value=<%=rs.fields(0) & " " & selected%>><%=rs.fields(1)%>
<% rs.movenext
loop
rs.close %>
</select>
</td>

<td align="left" width="127"><font face="Arial" size="2">
<select name="countryid">
<option value="0" <%if request.form("countryid") = "" then response.write "selected"%>>All Countries
<% set rs = cn.execute("select countryid,country from tblCountry where benchmarkactive order by country")
do until rs.eof
if request.form("countryid")+0 = rs.fields(0) then selected = "selected" else selected = "" %>
<option value=<%=rs.fields(0) & " " & selected%>><%=rs.fields(1)%>
<% rs.movenext
loop
rs.close %>
</select>
</td>
<td align="left" width="129"><input type="image" src="../../Images/view-report.gif" onclick="f1.submit()" name="f1" alt="Click Here to Generate Report"></td>
<td width="127"><input type="image" src="../../Images/print-report.gif" rname="printMe" onClick="printSpecial()" alt="Click Here to Print the Page"></td>


</tr>
</table>

<% if mmmm > 0 then %>
<table border="0" width="450" align="left" style="margin-left:10px; border-collapse: collapse" bordercolor="#111111" cellpadding="2" cellspacing="4">
<thead>
<tr>
<% sql = " where 1 = 1 AND BenchmarkGroup =" & request("benchmarkgroup")
if request.form("stateid")+0 then sql = sql & " and stateid = " & request.form("stateid")
if request.form("countryid")+0 then sql = sql & " and countryid = " & request.form("countryid")
set rs = cn.Execute("TRANSFORM First(UserID) SELECT description, minimum, mintype, formula FROM BenchmarksActiveUsers" & sql & " GROUP BY displayOrder, description, minimum, mintype, formula ORDER BY displayOrder PIVOT Name")
lastfield = rs.fields.count-1
s = 4 %>
<td align="left" bgcolor="#C0C0C0"><font face="Arial" color="#000000" size="2"><b>Benchmark</b></font>&nbsp;</td>
<td align="center" bgcolor="#C0C0C0"><font face="Arial" color="#000000" size="2"><b>Company Average</b></font>&nbsp;</td>
<% for i = s to lastfield %>

<% next %>
</tr>
</thead>
<tbody>
<br>
<% dim v()
do until rs.eof
min = int(rs.fields("minimum"))
mintype = rs.fields("mintype")
sumv = 0
avg = 0
n = 0
for j = s to lastfield
redim preserve v(j)
v(j) = evaluate(rs.fields("formula"),rs.fields(j),mmmm,yyyy)
sumv = sumv + v(j)
n = n + 1
next
if n > 0 then avg = round(sumv / n) %>
<tr><td></td><td align="center" valign="bottom"><font face="Arial" size="2">Target: <%=min%> <%=mintype%></font></td><td></td></tr>
<tr>
<td bgcolor="#FFFFFF">
<p align="right"><font face="Arial" size="2"><%=rs.fields("description")%></font></td>


<td bgcolor="#FFFFFF">
<p align="center"><font face="Arial" size="1"><% If (avg/min)*100 <=12 Then %><IMG SRC="../images/dial-1.gif">
<% ELSEIF (avg/min)*100 <=24 Then%><IMG SRC="../images/dial-2.gif">
<% ELSEIF (avg/min)*100 <=36 Then%><IMG SRC="../images/dial-3.gif">
<% ELSEIF (avg/min)*100 <=48 Then%><IMG SRC="../images/dial-4.gif">
<% ELSEIF (avg/min)*100 <=60 Then%><IMG SRC="../images/dial-5.gif">
<% ELSEIF (avg/min)*100 <=72 Then%><IMG SRC="../images/dial-6.gif">
<% ELSEIF (avg/min)*100 <=86 Then%><IMG SRC="../images/dial-7.gif">
<% ELSEIF (avg/min)*100 <=99 Then%><IMG SRC="../images/dial-8.gif">
<% ELSEIF (avg/min)*100 =100 Then%><IMG SRC="../images/dial-9.gif">
<% ELSEIF (avg/min)*100 <=112 Then%><IMG SRC="../images/dial-10.gif">
<% ELSEIF (avg/min)*100 <=124 Then%><IMG SRC="../images/dial-11.gif">
<% ELSEIF (avg/min)*100 <=136 Then%><IMG SRC="../images/dial-12.gif">
<% ELSEIF (avg/min)*100 <=148 Then%><IMG SRC="../images/dial-13.gif">
<% ELSEIF (avg/min)*100 <=160 Then%><IMG SRC="../images/dial-14.gif">
<% ELSEIF (avg/min)*100 <=172 Then%><IMG SRC="../images/dial-15.gif">
<% ELSEIF (avg/min)*100 <=186 Then%><IMG SRC="../images/dial-16.gif">
<% ELSEIF (avg/min)*100 =>187 Then%><IMG SRC="../images/dial-17.gif">
<%END IF%></font></td><td><img src="../images/under-target.gif"><br><br><img src="../images/over-target.gif"></td>
</tr><tr><td></td><td valign="top" align="center"><font face="Arial" size="2">Actual: <%=avg%> <%=mintype%></font><hr></td><td></td></tr><% for j = s to lastfield
color = "#000000"
if int(v(j)) < min then color="#FF0000" %>

<% next %>
</tr>
<% rs.movenext
loop
rs.close
cn.close
set cn = nothing %>
</tbody>
</table>
<% end if %>
</div>
</form>
</div>
<!-- #include file="./../../common/includes/i_footer.asp" -->

View 2 Replies View Related

Upsizing From Access To Msde

Aug 13, 2005

Hi i am upsizing a db from access to msde. I provide it a username and password.
But when i try to connect to the db in Visual Studio i get this error
"Login failed for user 'user': Reason. not assocaited with a trusted SQL Server Connection"Thanks

View 1 Replies View Related

Upsizing Wizard In MS Access

Jul 16, 1999

I have inherited some 4 SQL servers running 6.5 and 7.0

Some of the servers have MS Access Installed and some
have an "upsizing to SQL Server" wizard under the MS
Access TOOLS/Add-Ins/.

Some do not. I need to locate where this utility comes
from. I think it must come from the 6.5 or 7.0 SQL Server
Install CD.

Does anyone know for sure?

Thanks,


Mark Blackburn o `"._ _ M onterey
mark@mbari.org o / _ |||;._/ ) B ay
Science at its Best! ~ _/@ @ /// ( ~ A quarium
(831) 775-1880 ( (`__, ,`| R esearch
http://www.mbari.org/ '.\_/ |\_.' I nstitute

Database Administrator
MBARI Personal Web Page: http://www.mbari.org/~mark/

View 1 Replies View Related

MS Access Upsizing To MS SQL Beginner

Jun 22, 2006

Hi,

I just built a site and found out that the hosting company does not support MS Access, but does support MS SQL ODBC.

I have never used MS SQL, nor know how it works.

I
followed the directions to upside my MS ACCESS DB to MS SQL DB and I am
waiting on a login and password from the hosting company.

Do I have to have MS SQL software on my computer for it work?
Do I need to keep my computer online in order for my site pages to connection with the MS SQL DB?

I just don't get how it works.

I am very new at this and I am trying to understand the fundamentals of how it all works.

All help is appreciated.

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved