Procedure Name | Type | Description |
(Declarations) | Declarations | Declarations and private variables for the modVisualSourceSafe module. |
GetObjectSCCStatus | Procedure | Determine the specified object's SourceSafe status. Note: The Access implementation of SourceSafe integration groups all tables into one object. Because of this, this procedure does not handle tables. |
IsObjectCheckedIn | Procedure | Determine if an object is checked into Visual SourceSafe (VSS) source code control. |
IsObjectEditable | Procedure | Determine if an object is editable. It can be checked out from Visual SourceSafe (VSS) source code control or not in VSS. |
GetObjectSCCStatusID | Procedure | Get an object's Visual SourceSafe (VSS) source code control property to determine if it's checked in, checked out, or not part of VSS. |
IsCurrentDBUnderSCC | Procedure | Determine if the current database is under Source Code control. |
IsDBUnderSCC | Procedure | Determine if the specified Access Jet database is under Source Code Control (for MDB, not ADPs). |
IsDataMiscCheckedIn | Procedure | Determine if the Data & Misc. Objects are checked into Visual SourceSafe (VSS) source code control. |
IsDataMiscEditable | Procedure | Determine if the Data & Misc. Objects are editable based on check-in status with Visual SourceSafe (VSS). |
' ' Example of modVisualSourceSafe ' ' To try this example, do the following: ' 1. Create a new form ' 2. Create a command button 'cmdTest' ' 3. Paste this code into the form's module Private Sub cmdTest_Click() Const cstrSample As String = "C:\Total Visual SourceBook 2013\Samples\sample.mdb" ' Example of GetObjectSCCStatus Debug.Print GetObjectSCCStatus(acForm, Me.name) ' Example of IsCurrentDBUnderSCC If IsCurrentDBUnderSCC() Then Debug.Print "Current database is under Source Code control." Else Debug.Print "Current database is not under Source Code control." End If ' Example of IsDBUnderSCC If IsDBUnderSCC(cstrSample) Then Debug.Print "Database '" & cstrSample & "' is under Source Control" Else Debug.Print "Database '" & cstrSample & "' is not under Source Control" End If ' Example of IsDataMiscCheckedIn If IsDataMiscCheckedIn() Then Debug.Print "Data/Misc. Objects is checked in." Else Debug.Print "Data/Misc. Objects is checked out." End If ' Example of IsDataMiscEditable If IsDataMiscEditable() Then Debug.Print "Data/Misc. Objects is editable." Else Debug.Print "Data/Misc. Objects is not editable." End If ' Example of IsObjectCheckedIn If IsObjectCheckedIn(acForm, Me.name) Then Debug.Print "The current object is checked in." Else Debug.Print "The current object is checked out." End If ' Example of IsObjectEditable If IsObjectEditable(acForm, Me.name) Then Debug.Print "The current object is editable." Else Debug.Print "The current object is not editable." End If End Sub
The source code in Total Visual Sourcebook includes modules and classes for Microsoft Access, Visual Basic 6 (VB6), and Visual Basic for Applications (VBA) developers. Easily add this professionally written, tested, and documented royalty-free code into your applications to simplify your application development efforts.
Total Visual SourceBook is written for the needs of a developer using a source code library covering the many challenges you face. Countless developers over the years have told us they learned some or much of their development skills and tricks from our code. You can too!
Supports Access/Office 2016, 2013, 2010 and 2007, and Visual Basic 6.0!
"The code is exactly how I would like to write code and the algorithms used are very efficient and well-documented."
Van T. Dinh, Microsoft MVP