Click here to Skip to main content
15,894,343 members
Home / Discussions / Database
   

Database

 
QuestionHow do you lock records in Access 2007 Pin
Richard.Berry1001-Apr-12 9:14
Richard.Berry1001-Apr-12 9:14 
AnswerRe: How do you lock records in Access 2007 Pin
Eddy Vluggen1-Apr-12 22:43
professionalEddy Vluggen1-Apr-12 22:43 
GeneralRe: How do you lock records in Access 2007 Pin
Richard.Berry1004-Apr-12 18:02
Richard.Berry1004-Apr-12 18:02 
AnswerRe: How do you lock records in Access 2007 Pin
JOAT-MON4-Apr-12 23:18
JOAT-MON4-Apr-12 23:18 
GeneralRe: How do you lock records in Access 2007 Pin
Richard.Berry1005-Apr-12 21:30
Richard.Berry1005-Apr-12 21:30 
GeneralRe: How do you lock records in Access 2007 Pin
JOAT-MON6-Apr-12 8:12
JOAT-MON6-Apr-12 8:12 
AnswerRe: How do you lock records in Access 2007 Pin
Eddy Vluggen5-Apr-12 1:23
professionalEddy Vluggen5-Apr-12 1:23 
GeneralRe: How do you lock records in Access 2007 Pin
Richard.Berry1005-Apr-12 22:21
Richard.Berry1005-Apr-12 22:21 
Thanks again!

I really do want to move to SSE, but all the query strings in the app use '?' for all the parameters, then I have a generic function in a data layer, to which I pass the query string, and an array of parameter values. Then I loop through the array and add the parameters. So i need to change all the query strings in the app (there are lots of them Mad | :mad: )

Public Function InsertRecord2(ByVal strInsert As String, params() As String) As Boolean

       Using cn As New OleDb.OleDbConnection(cnStr)
           Dim da As New OleDb.OleDbDataAdapter
           Dim cmd As New OleDb.OleDbCommand(strInsert, cn)
           cmd.CommandTimeout = 30

           For i As Integer = 0 To params.Length - 1
               If params(i) = Nothing Then params(i) = ""
               cmd.Parameters.AddWithValue("@" & i.ToString, params(i))
           Next



My other concern is that the company uses Small Business Server, which I understand also uses SSE, and I'm terrified I'm going to mess up the server when I install another instance of SSE....

As it is I have installed SSE on my pc, and managed to mess that up by installing access using Windows Authentication, and now I can't enable sa even after changing the authentication to SQL Server and Windows Authentication Mode - But that's another issue Smile | :)
GeneralRe: How do you lock records in Access 2007 Pin
Eddy Vluggen6-Apr-12 1:48
professionalEddy Vluggen6-Apr-12 1:48 
GeneralRe: How do you lock records in Access 2007 Pin
Richard.Berry1006-Apr-12 1:56
Richard.Berry1006-Apr-12 1:56 
GeneralRe: How do you lock records in Access 2007 Pin
Eddy Vluggen6-Apr-12 2:07
professionalEddy Vluggen6-Apr-12 2:07 
GeneralRe: How do you lock records in Access 2007 Pin
Richard.Berry1006-Apr-12 2:16
Richard.Berry1006-Apr-12 2:16 
GeneralRe: How do you lock records in Access 2007 Pin
Eddy Vluggen6-Apr-12 2:31
professionalEddy Vluggen6-Apr-12 2:31 
GeneralRe: How do you lock records in Access 2007 Pin
Richard.Berry1006-Apr-12 2:41
Richard.Berry1006-Apr-12 2:41 
GeneralRe: How do you lock records in Access 2007 Pin
Eddy Vluggen6-Apr-12 5:50
professionalEddy Vluggen6-Apr-12 5:50 
QuestionFind Date between two Dates Pin
Robymon30-Mar-12 0:09
Robymon30-Mar-12 0:09 
AnswerRe: Find Date between two Dates Pin
JamesAbbott30-Mar-12 0:40
JamesAbbott30-Mar-12 0:40 
GeneralRe: Find Date between two Dates Pin
Robymon30-Mar-12 1:26
Robymon30-Mar-12 1:26 
QuestionSQL Server Command Line Compile Pin
Kevin Marois29-Mar-12 11:28
professionalKevin Marois29-Mar-12 11:28 
AnswerRe: SQL Server Command Line Compile Pin
PIEBALDconsult29-Mar-12 12:12
mvePIEBALDconsult29-Mar-12 12:12 
GeneralRe: SQL Server Command Line Compile Pin
Kevin Marois29-Mar-12 12:17
professionalKevin Marois29-Mar-12 12:17 
GeneralRe: SQL Server Command Line Compile Pin
PIEBALDconsult29-Mar-12 14:53
mvePIEBALDconsult29-Mar-12 14:53 
AnswerRe: SQL Server Command Line Compile Pin
Bernhard Hiller29-Mar-12 22:36
Bernhard Hiller29-Mar-12 22:36 
GeneralRe: SQL Server Command Line Compile Pin
PIEBALDconsult30-Mar-12 3:08
mvePIEBALDconsult30-Mar-12 3:08 
QuestionHow do you lock records in Access 2007 Pin
Richard.Berry10029-Mar-12 9:34
Richard.Berry10029-Mar-12 9:34 

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.