Click here to Skip to main content
16,004,353 members
Home / Discussions / Database
   

Database

 
GeneralRe: SQL Question Pin
Lars Fisker15-Mar-09 14:48
Lars Fisker15-Mar-09 14:48 
AnswerRe: SQL Question Pin
Blue_Boy16-Mar-09 2:01
Blue_Boy16-Mar-09 2:01 
QuestionHow to Store password character in Oracle Table Pin
Saleem Tahiri15-Mar-09 1:23
Saleem Tahiri15-Mar-09 1:23 
QuestionRe: How to Store password character in Oracle Table Pin
Eddy Vluggen15-Mar-09 2:09
professionalEddy Vluggen15-Mar-09 2:09 
AnswerRe: How to Store password character in Oracle Table Pin
Saleem Tahiri15-Mar-09 2:12
Saleem Tahiri15-Mar-09 2:12 
AnswerRe: How to Store password character in Oracle Table Pin
Saleem Tahiri15-Mar-09 2:12
Saleem Tahiri15-Mar-09 2:12 
GeneralRe: How to Store password character in Oracle Table Pin
Eddy Vluggen15-Mar-09 2:21
professionalEddy Vluggen15-Mar-09 2:21 
QuestionAccess [modified] Pin
udikantz14-Mar-09 19:52
udikantz14-Mar-09 19:52 
hi guys,
i am developing an application which uses access mdb files as database.
untill now i used a connection to the files,
using the following code:

Public Class DBconnector


    Private _dbConnection As OleDbConnection
    Private _dbCommand As OleDbCommand
    Private _dbDataReader As OleDbDataReader
    Private _dbDataAdapter As OleDbDataAdapter
    Private _dbTransaction As OleDbTransaction
    'Private _dbADODBConnection As ADODB.


    Public Sub New(ByVal cs As String)

        _dbConnection = New OleDbConnection(cs)
        _dbCommand = _dbConnection.CreateCommand

    End Sub


where the connection string is:

"Provider=Microsoft.Jet.OLEDB.4.0;" 
 & "Data Source=" & TextEditPath.Text



texteditpath is the file path and name.

recently i have encountered an error while trying to create a relationship using "ON DELETE CASCADE" in the constraint clause.

error mentioned theres a syntax error on the constraint clause and there was no real syntax error , after troling microsoft forums , they have told me i need to use ADO connection because this bug results cause of use in DAO ,
also i may add that when i execute the query in the imidiate debug widow of access 2007 it is executed with no errors , how ever when i execute it on the SQL design window of access 2007 i get the same error as i get in the .net frame work

my question is how do i establish an ADO connection to access MDB file
or how do i over come this bug ,
please help im stuck with this for a week now ,
thanks...

Net

modified on Tuesday, March 17, 2009 4:09 AM

QuestionDatetime? Pin
Karthick_gc13-Mar-09 0:03
Karthick_gc13-Mar-09 0:03 
AnswerRe: Datetime? Pin
Eddy Vluggen13-Mar-09 0:22
professionalEddy Vluggen13-Mar-09 0:22 
AnswerRe: Datetime? Pin
Ashfield13-Mar-09 2:15
Ashfield13-Mar-09 2:15 
AnswerRe: Datetime? Pin
Mycroft Holmes14-Mar-09 16:17
professionalMycroft Holmes14-Mar-09 16:17 
QuestionSQL Insert Creates multiple records instead of just one Pin
Shrimpersfan12-Mar-09 23:48
Shrimpersfan12-Mar-09 23:48 
AnswerRe: SQL Insert Creates multiple records instead of just one Pin
Michael Bookatz13-Mar-09 0:33
Michael Bookatz13-Mar-09 0:33 
QuestionBig Problem in sql server 2000 Pin
pubududilena12-Mar-09 22:02
pubududilena12-Mar-09 22:02 
AnswerRe: Big Problem in sql server 2000 Pin
Reza Raad14-Mar-09 11:11
Reza Raad14-Mar-09 11:11 
QuestionHow to store all rows of a column in a sql variable Pin
Rajesh_K_Sharma12-Mar-09 21:09
Rajesh_K_Sharma12-Mar-09 21:09 
AnswerRe: How to store all rows of a column in a sql variable Pin
Blue_Boy12-Mar-09 21:49
Blue_Boy12-Mar-09 21:49 
QuestionAttaching and detaching a DB from another computer Pin
Mustafa Ismail Mustafa12-Mar-09 7:40
Mustafa Ismail Mustafa12-Mar-09 7:40 
QuestionLoading large XML files into db2 Pin
Gktony12-Mar-09 0:46
Gktony12-Mar-09 0:46 
QuestionTransaction Log Backup Too Big Pin
Elizma11-Mar-09 23:40
Elizma11-Mar-09 23:40 
AnswerRe: Transaction Log Backup Too Big Pin
Eddy Vluggen12-Mar-09 3:50
professionalEddy Vluggen12-Mar-09 3:50 
QuestionMultiple Databases Pin
Brendan Vogt11-Mar-09 20:38
Brendan Vogt11-Mar-09 20:38 
AnswerRe: Multiple Databases Pin
Eddy Vluggen12-Mar-09 4:08
professionalEddy Vluggen12-Mar-09 4:08 
GeneralRe: Multiple Databases Pin
Brendan Vogt14-Mar-09 20:32
Brendan Vogt14-Mar-09 20:32 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.