Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Option Compare Database
Option Explicit
'[URL unfurl="true"]http://www.utteraccess.com/forums/showflat.php?Cat=&Number=1253284&page=&view=&sb=5&o=&fpart=1&vc=1[/URL]
Function fRefsOK() As Boolean
Dim db As Database
Dim ref As Reference
Dim strRef As String
Dim strRefs As String
Dim intCount As Integer
Dim intBroken As Integer
Dim strPad As String
Set db = CurrentDb
For Each ref In Application.References
On Error Resume Next
strRef = ref.Name & " "
strRef = strRef & " " & ref.Major
strRef = strRef & "." & ref.Minor
strPad = String(30 - Len(strRef), " ")
strRef = strRef & strPad
If ref.IsBroken Then
strRef = strRef & ";Broken"
intBroken = intBroken + 1
Else
strRef = strRef & ";Present"
End If
strRefs = strRefs & strRef & vbCrLf
Next
fRefsOK = intBroken = 0
intCount = Application.References.Count
If MsgBox(intCount & " Application References" & vbCrLf & intBroken & " Broken" & vbCrLf & vbCrLf & _
"Do you want to see a list?", vbYesNo) = vbYes Then
MsgBox Replace(strRefs, " ", " ")
End If
Debug.Print "Current Project Information:"
Debug.Print String(80, "-")
Debug.Print "Name :" & CurrentProject.Name
Debug.Print "Full Name :" & CurrentProject.FullName
Debug.Print "Base Connection String:" & CurrentProject.BaseConnectionString
Debug.Print "Connection :" & CurrentProject.Connection
Debug.Print "File Format :" & CurrentProject.FileFormat
Debug.Print "Is Connected? :" & CurrentProject.IsConnected
Debug.Print "Parent :" & CurrentProject.Parent
Debug.Print "Path :" & CurrentProject.Path
Debug.Print "Type :" & CurrentProject.ProjectType
'Debug.Print strRefs
End Function
Private Sub Command2_Click()
Dim rs As ADODB.Recordset
Set rs = Me.Recordset
End Sub
Why is the network tech asking? If he's asking out of friendly curiosity--fine. But I've seen too many 'network guys' who want to play god and dictate to developers how to do their job.my network tech is asking if i've done it in dao or ado?