Viewing 11 posts - 1 through 11 (of 11 total)
For Dinesh,
I have installed the latest Service Pack for SQL Server before I post the message earlier on but it does not work.
Anyhow, I have solve the problem with MDAC...
July 7, 2005 at 8:32 pm
I have a problem here. When I'm testing my program on a stand-a-lone PC, everything goes fine. However, when I try to package the program and install it in a...
July 1, 2005 at 9:13 pm
Please do let me know if you know the solution. Please tell/show me how it works. Many many thanks.
June 30, 2005 at 2:16 am
You are right, Sushila. Initially, the code fragment below:
For Each idx In tbl.Indexes
If idx.PrimaryKey = True Then
Set KeyFields = idx.Columns
Exit For
End If
Next idx
the debugged result for...
May 28, 2005 at 12:33 pm
Forgot the attachment of codes
Private Function SelectQuery() As String
Dim strsql As String
Dim iIndex As Integer
Dim colKeyFields As IndexFields
...
May 27, 2005 at 9:11 pm
Actually the debugger does not pass through the line. It was like treating it as invisible. However, if we ammend the line like this, the debugger will continue with the...
May 27, 2005 at 9:07 pm
Sorry, making a correction here.
Does the coding below contains any errors?
----------------------------------------------------------------
Dim con as new ADODB.connection
Dim rs as new ADODB.Recordset
Dim strsql as string
With con
.Provider = "MSDASQL"
.ConnectionString = "driver={SQL Server};server=ServerName;uid=..;pwd...
May 27, 2005 at 12:58 am
Hello,
The debugger stop at this line, even after I tried many tables with or without Primary Key. The index is equal to nothing.
For Each idx In tbl.Indexes
If idx.PrimaryKey...
May 27, 2005 at 12:51 am
Thanks JLSSCH and Sushila.
I will try it out and get back to you all when there more problems. But before that can...
May 26, 2005 at 8:12 pm
Thanks Sushila.
But there's some more queries here.
Here is the code. Please note the data type declared. Note...
May 26, 2005 at 4:09 am
Thanks a lot Sam!
However, as you said, we are using the .mdb format. Is it possible to connect to SQL Server DB using ADO? Will it be tedious to make...
May 2, 2005 at 8:32 pm
Viewing 11 posts - 1 through 11 (of 11 total)