Viewing 14 posts - 16 through 29 (of 29 total)
SQL Noob, your cursor declaration has a top clause so your resultset only has one record. You are also not fetching the next record in the cursor so SQL...
January 4, 2010 at 8:29 am
Installed it a few weeks ago and have not had any issues.
February 24, 2006 at 9:03 am
When you create a linked server with the Jet 4.0 OLE DB Provider you need to add the provider string.
Provider String: MS Access;Pwd=mypassword
Then you can use the OpenQuery function...
July 22, 2005 at 1:22 pm
If you are using access runtime then the users will not have access to the database window. You will need to setup a startup form and develop an interface...
May 27, 2005 at 2:03 pm
Here is the script that I use
Option Explicit
'on error resume next
Dim oFSO
Dim sDirectoryPath
Dim oFolder
Dim oFileCollection
Dim oFile
Dim iDaysOld
'Customize values here to fit your needs
iDaysOld = 2
Set oFSO = CreateObject("Scripting.FileSystemObject")
sDirectoryPath = "Backup...
May 24, 2005 at 12:11 pm
I have a similiar issue.
I set up the DTS package as a job then use ADO to run the sp_start_job procedure on the msdb database.
Dim cnn As Object
Dim cmd As...
April 20, 2005 at 1:33 pm
I came across this yesterday. It allows you to create an ODBC connection without a DSN.
http://support.microsoft.com/default.aspx?scid=kb;en-us;892490
March 4, 2005 at 9:32 am
A code example would be helpful
February 24, 2005 at 9:47 am
You can pass the return value of an ADO command by assigning the @Return_Value parameter which is always the first paramater of an ADO command.
Function sqls_mail_ado(str_to As String, str_subj As...
February 24, 2005 at 9:45 am
You can use the OpenRowset method or the OpenDataSource method to open the access table and append the SQL records. You can view more about these methods in BOL....
February 17, 2005 at 8:37 am
You can always use the return value to see if the procedure suceeded or failed it will be: 0 (success) or 1 (failure)
DECLARE @rv int
December 22, 2004 at 2:39 pm
Try using the Min function instead of First. First is not a function in T-SQL.
December 1, 2004 at 9:28 am
Here is another option using ADO
Dim cnn AS ADODB.Connection
Dim cmd as ADODB.Command
cnn.ConnectionString =""
cnn.open
with cmd
.ActiveConnection = cnn
.CommandType = adCmdStoredProc
.CommandText = "ProcedureName"
'Issue a refresh to get the named parameters
.Parameters.Refresh
.Parameters("@Variable") = txtVariable
.Execute...
November 5, 2004 at 2:05 pm
Sounds like you need to install the SQL 2000 readiness patch from Microsoft. SQL 2000 was released over a year after Access 2000 so Access requires the update for the...
October 21, 2004 at 10:49 am
Viewing 14 posts - 16 through 29 (of 29 total)