Viewing 15 posts - 31 through 45 (of 138 total)
You can simplify this by using Excel's CopyFromRecordset method:
Replace this:
Dim rowIdx As Integer
If (rst.RecordCount > 0) Then
...
May 18, 2010 at 2:03 am
In Access you can do a DoCmd.TransferSpreadsheet (Excel) or DoCmd.TransferText (tab or csv) using a query as the datasource
May 11, 2010 at 1:51 am
If you change the timeout to 0 it will never timeout
May 11, 2010 at 1:48 am
try this:
Function TrackApplicationUsage()
Dim cmd As ADODB.Command
On Error GoTo ErrorHandler
Set cmd...
April 19, 2010 at 9:42 am
Eric Mamet (4/18/2010)
Apparently, when I do this, it seems to try and fire the stored procedure which does not work because...
April 19, 2010 at 9:25 am
Try this:
strComment = gvarInfo.strTableNameSql & ".Comment = " & Chr(34) & Me.Comment & chr(34) & ", "
April 8, 2010 at 3:07 am
The second (empty) parameter in this line is RecordsAffected - if you put a variable name there, the variable will tell you after the execution how many rows have been...
April 7, 2010 at 8:14 am
Which Chris?
April 7, 2010 at 7:59 am
There is a way of doing it - you have to retrieve the parameters from your stored procedure with the Parameters.Refresh method, then populate them, then send them back -...
March 29, 2010 at 4:44 am
From SQL Management Studio, create an empty database to hold the tables you wish to import.
Right click on the database name, then choose Tasks/Import data from the popup menu -...
January 29, 2010 at 3:40 am
David Lester (10/5/2009)
January 29, 2010 at 3:32 am
Stacie Loving (3/17/2005)
January 29, 2010 at 1:56 am
Viewing 15 posts - 31 through 45 (of 138 total)