Queries On The Server?

Nov 26, 2007

Hi all, im using Access/Dreamweaver. Im decided to run the databse on queries this time - with no probs in ISS. As soon as i run it on the server i get this -

Microsoft JET Database Engine error '80040e37'

The Microsoft Jet database engine cannot find the input table or query 'search'. Make sure it exists and that its name is spelled correctly.

/search.asp, line 168

The database is fine. We have a dedicated server also. Any ideas what i may need to do to set it up on the server? thx

View Replies


ADVERTISEMENT

Move Queries From Mdb To SQL Server

Apr 21, 2007

Hi,

I know how to move the tables from mdb to SQL Server.
But, how can I move all the queries from mdb file to SQL Server?

View 2 Replies View Related

Queries :: How To Save Data On The Server

Sep 4, 2013

I have created several "pass through" queries in the last several years. However, Is it possible to run an SQL Procedure as a Pass Through Query. The procedure they want to run is set up to run a query, save the results to a server, and then run another query based on the saved data. I can get both queries to run as pass through queries, but I can't figure out how to save the data on the server. Is there a way to accomplish this? Can SQL procedures be run via Access?

View 5 Replies View Related

Upgrade To SQL Server - Forms To Be Based On Queries Rather Than Filters?

Oct 18, 2005

I am in the process of upgrading Access b/e to SQL b/e using .mdb and linked table as the front end ( as given as the best solution in many of the posts).

I remember reading in this forum ( Comment made by Pat Hartman) that forms should be based on queries rather than using a filter criteria.

I have a continuous form with project records. The user can double click one of the records to view further details of the project on a separate form. The code I have used to open the form is as follows:

strdocname = "frmProjDetails"
strParm = ""
strLinkCriteria = "[WProjNo]=" & "'" & Me![ProjNo] & "'"

DoCmd.OpenForm strdocname, , , , acFormEdit, , strParm

Would this be a reduction in performance? Should the record source of the details form be changed to a query that has a where clause pointing to the selected record?
Thanks...Priya

View 1 Replies View Related

Queries :: Cannot Format Data From A Pass Through Query From SQL Server

Jan 10, 2014

I get a result set from a pt qry from a sql server 2008 in vba. Me.Total is an unbound field in the report foot( correct translation of german "Berichtsfu"??)

Private Sub Berichtsfu�_Print(Cancel As Integer, PrintCount As Integer)
SELECT SUM((DATEPART(hour, Calctime) * 60 + DATEPART(minute, Calctime)) * Price / 60) AS TtlPrice ...
Set rs = CurrentDb.OpenRecordset("qryPT_TtlPrice")
Me.Total = rs("TtlPrice ")

On the access report I can format me.Total as currency, decimal, integer whatever I want (unless it makes no sense exept currency) and it works.

but

SUM(((DATEPART(hour, Calctime) * 60 + DATEPART(minute, Calctime)) * Price/ 60)* (case when CompanyID=1 then 1.66 else 1 end)) AS TtlPrice

The detail should be multiplied with 1,66 when the record belongs to company 1, for all others ist remains the same. In the Management Studio the results of both looks similar, same in the debug window of VBA editor, but I cannot format the result or lets say, the formating is wrong for the second example.

Neither in VBA
Me.Total = format(rs("TtlPrice "), " 0.000,00") or
Me.Total = format(rs("TtlPrice "),"0.000,00")

nor in the report int the properties of the field I can avoid this result: in the debug window of access the result looks OK, for example 29555.670000 (don't know where all the 0 come from), which should read as 29.555,67. But on the report the result with formated curreny in field property (currency, 2 decimals) shows 29.555.670.000,00

View 5 Replies View Related

Queries :: Converted Desktop Access Database To SQL Server

Dec 5, 2014

I have converted desktop Access database to SQL server. A medium sized app with 24 tables, 60 or so forms/subforms and about 120 queries. I created 2 split files, one containing the tables, and the other containing forms, queries, vba modules. I migrated the tables to SQL server using SSMA, and built an odbc connection for my front end. It works, except it is painfully slow. Its cos most of the recordsets that drive my front end are query based. And in many instances the queries are comprised of queries, not just tables.

Should i be creating my queries on the SQL server? Is that what people do when using Access front end with SQL server back end? Do away with Access queries? Or does the problem lie elsewhere? How do i network optimise my Access FE / SQL server BE?

View 10 Replies View Related

Server Side Vs Client Side Queries

Nov 22, 2005

I have split my database, the data is in a DB on the server and the forms, reports, etc is on the client desktop. My question is "Is there an advantage to having all of my combo box queries (Lookups) on the server side (defined in the table as a combo lookup) or should I put the all on the form so that they reside in client side DB.

View 7 Replies View Related

SQL Server

Nov 30, 2006

Using A2002 or A2003, trying to convert an app from Jet to SqlServer



i am using DAO rather than ADO

this statement causes an error
Set rs = dbs.OpenRecordset("tblconstants", , dbSeeChanges)

the error is
error 3622 - must use dbseechanges on a sql server table with identitiy bit set


alternatively
Set rs = dbs.OpenRecordset("tblconstants", dbOpenDynamic)

produces error 3001 - invalid argument


(Note: i've got another app, in A97 that works with sql server tables without any additional parameters )

Set rs = dbs.OpenRecordset("tblconstants") works in A97

------------------
any idea what do i need to do please

View 3 Replies View Related

One .adp, Two Or More Different SQL Server

Feb 18, 2007

Hi. hope you can understand my english.

I have 2 SQL Servers.
Is there some way to set to which sql server connect the .adp (or .ade) via code??
Now I have 2 sql servers (development and production).. but soon I will have more server at production in different cities. All SQL Servers have different names. Same databases names but the servername are all different.
So I have to configure the connection of the .ade in the the development server. Then when I want to send and upgrade to one of my clients, I have to go to his city and manually reconfigure the .ade to connect to his SQL Server.
This problem would be solved if all SQL Servers had the same name, but this is not my case.

It would be nice to have a config.ini file or something like that where the .ade could read the name of the server to connect to.

Is it possible to implement something like this.

Thanks in advance.

View 1 Replies View Related

SQL Server - Yes Or No

Sep 6, 2004

Hi, i am looking at making use of SQL Server which we have at work to run our access Database from, is this a good idea ?

what are the benifits, problems etc...

Andy

View 1 Replies View Related

OLE Server

Nov 14, 2004

I am trying to insert a picture in a field OLE object, but after I have selected the picture I would like to insert, I get the following error message :
A problem occured while MS Access was communicating with the OLE server or ActiveX Control.
Can someone help me to resolve this problem ?

View 1 Replies View Related

SQL Server

Apr 19, 2005

I've never dealt with SQL Server, and have no working knowledge of it. Is it possible to upsize my db without it? The server that we have uses Windows 2000 Server as it's OS, would this be capable of housing an upsized db? I was tols that MSDE is only capable of about 15 concurrent users, and I will be having +-100 concurrent users on this particular db. Is there another option?

View 1 Replies View Related

From Jet SQL To SQL Server

Mar 25, 2007

Hi guys, its been awhile. I inherited a database thats an MDB and I need to get it on to sql server but I am having problem with this query, can anyone help please. Its suppose to give you the month and year when you click on it, you just put that in and up come the results on a query or report, now I have something similar to this but the code is very different.


SELECT DISTINCTROW Format$([Main Table].Date,'yyyy') AS [Date By Year], [Main Table].[Violation Type], Sum([Main Table].Loss) AS [Sum Of Loss], Count([Main Table].[Violation Type]) AS [CountOfViolation Type]
FROM [Main Table]
GROUP BY Format$([Main Table].Date,'yyyy'), [Main Table].[Violation Type], Year([Main Table].Date)
HAVING (((Year([Main Table].[Date]))=[Please Enter the Year]));

This gives them a dialog box which ask them for month and year and they enter it in and they get a generated report or form which gives them their results. But when I transfer this to SQL it gives me error message cause Jet SQL and SQL Server dont exatly speak the same language, I mean SQL server doesnt know what Format$ is I guess thats something ACCess comes up with on its own or something, I dont know. HELP PLEASE!!??

View 2 Replies View Related

SQL Server... Where Do I Start?

Jul 20, 2005

I've downloaded and installed the new SQL server 2005 express edition CTD (June ed.) along with the Express Manager.

How do i get an access database into SQL server?

Now that it's installed, what next? When i try to upsize, it asks me to choose a server, and gives 3 options, and i'm not sure where they come from. Where does this list come from? are they previous installations of the MSDE on my computer? are they servers that ar available over our LAN?

i read that the default name if an instance of SQL server express is SQLEXPRESS but that's not on the list...

do i need to create a new instance of SQL server on my computer to house the database?

I really just want to try it, to see if it's something we should do, but i can't get it to do anything at all. i don't know where to start...

I've done some searches, but nothing tells me where to start. I'm getting really frustrated with this....

Please help me...

View 2 Replies View Related

Getting Server/PC Time

Jan 31, 2006

Hi,
This is the first tim here, hope to find what I am looking for :D

I am developing a small form in MS Access for recording attendence. I made a form and a buton which get the time and store it in a table.

The problem happens when a user change the his computer time and click the button, the new time will be recorded.

The question is how to fix the time or get the time from a centeral computer or server?

Note the DB will be placed on a shared PC or on a server in the LAN.

Thanks,

View 2 Replies View Related

SQL Server Tables

Mar 16, 2006

I have A db that links to a SQL Server table via an odbc connection. The problem is that I have to set up the odbc datasource on each machine that needs to run the db. Can I set up an ADO connection to the table and use that connection as a record source through out the app to drive forms , reports, etc? (And this would eliminate the need to set up and odbc connection to the table on each machine...) :confused: :confused:

View 6 Replies View Related

Oracle, DB2 Or SQL Server?

Apr 19, 2006

Oracle Express Edition, DB2 Express Edition-C, and SQL Server Express Edition.Which one would you develop for / work with if you had a choice (SQL Server, Oracle, or DB2)?I am thinking of making a database application with one of the above and the criteria is:Great support, communityRock Solid and stable; where some clients do not have a DBAFastEasy to back-up and restoreRelatively easy to program and developEasy to deploy and scaleThe general direction I am getting from a few people is leaning toward SQL Server Express. They say it is easier to work with than Oracle, (supposedly Oracle is not for the faint hearted especially when there are network issues) but Oracle is faster and maybe more stable than the others. Haven't really heard anything about DB2...MySQL is out, simply because of the price of an OEM for a desktop application that can be expanded later is too high for what I want to do.Thoughts?Thanks

View 1 Replies View Related

Help! Transferring To New Server

Oct 11, 2006

I've been asked to assist a local non-profit transfer an Access DB to a new server. The DB was set up a number of years ago and the designers are no longer available.

The old server is set up as a workgroup server, and the new server is set up as a domain server. (I am completely unfamiliar with how networks are set up...I've never dealt with this end before.)

The designers set up a .mdw file which (I believe) controls permissions etc. After much wrangling, we finally uncovered the admin password. However, even signed in on a workstation as the admin w/ full rights, I still can't copy a functional version of the DB to removable media in order to move it to the new server.

The server does not have MS Access loaded....only the .mdb and .mdw files.

I *think* I have to replace the 'secured' .mdw file with a generic, clean .mdw. Do I need to do this on the server, or the workstations, or both?

What am I doing wrong????

Thanks!

View 1 Replies View Related

SQL Server Connection?

Jan 30, 2007

Hi all,

I have an .adp that works fine on a number of people's laptops.

One of the users however, keeps getting an error message stating that SQL Server does not exist or access has been denied.

This particular user is definitely setup on SQL Server with dbo permissions. She can also ping the server.

I have tried creating a DSN and this doesn't work either.

I am at a loss as to why this error message is occurring given that she can see the Server and has definitely been setup.

Do you have any suggestions?

Thanks,
Kabir

View 1 Replies View Related

Move To SQL Server

Apr 20, 2007

I'm planning make a move from Access to SQL Server.
To be honest I never used it before, but I told to my bosses that I'm a Gooroo in it.:)
So can you guys give me an idea if it is really hard to make a move, to upload the existing databases and to get used to it.
How long it takes?
What books would you recommend?
Or what forum?

View 10 Replies View Related

SMS Messaging Server

Jun 11, 2007

Dear All,

I have developed a full attendance and payroll system.
I want to make this system available for responding remotely as well through email and SMS.

Thus, I am planning to attach a GSM modem into the server hosting the system, and assigning a fixed telephone no. The client can send SMS to this server, which in turn respond to his request.
To make this, I should also install a third party software through which I can access to the Incoming and outgoing SMSs database using MS Access coding.

I have got such third party software called Activexperts SMS Messaging Server. However, the software license is $ 1,400 which is expensive for me.

Thus, can you suggest me another software name I can use to handle such job.

Thanks,

View 4 Replies View Related

Client/Server?

Jun 18, 2007

Hello, I am new to this forum and hope someone will be able to help me.

I understand that when querying using a split MS Access database it retrieves all the data to the client machine and then applies the criteria (hope this is correct) at the client side.

If I were to link to Oracle XE tables via ODBC, does a query using these linked tables still bring across all the records to the client or will it run the query on the server and just bring down the records matching that criteria?

Many thanks in advance...

View 5 Replies View Related

ADP Or MDB Linked To Server

Nov 2, 2007

Is it same thing about speed and other issues to have ADP application that works with SQLserver and to have a MDB (or MDE) application that has no querys but works with sql views instead?

Thanks

View 1 Replies View Related

Access FE SQL Server BE

Dec 5, 2007

We're currently looking at changing a couple of my more complex Access 2003 databases to Access Front End with a SQL Server Back End. This should give us better stability and reduce network traffic loads. I was looking at the Access help file on Upsizing and came across the following paragraph. On face value to a novice like me this would seem the easy option - but is it?

"Create an Access database front-end to an SQL Server database back-end so that you can create a front-end/back-end application.

This approach requires very little application modification since the code is still using the Jet database engine. "

Would anyone recommend this approach?

View 4 Replies View Related

Ole Server Problem

Feb 13, 2006

I have an Access 2000 database that is linked to a SQL server back end. One of the tables has 4 OLE object fields into which we insert bitmaps of the client's logo. We do this by right-clicking on the field and then going to Insert Object > Create from File and then select the .bmp file to be inserted. This works fine when I do it on my site, but when I connect to the customer's machine using PC Anywhere and try to do it on his machine, I get a message saying that the OLE Server isn't registered.

I've searched on the error message and all the answers say that they apply to Access 2002 and 2003.

What might be causing it in Access 2000 and how do I fix it?

View 1 Replies View Related

Connecting To MS-SQL Server

Mar 25, 2006

Hi
We have a database implemented in MS-SQL server 2000 on a local machine. I want to use some of tables in my access (or excel) program. Can I link to the table?

Thanks

View 1 Replies View Related







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