![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I have no clue what I am doing in VB but a database in Access that was used to import files is no longer working and I hope someone can assist me. The person who worked here before me made all of our databases in VB, unfortunately, I'm not as computer savvy and I can't get the import to work. I don't know if this will help but here goes: Private Sub btnImportStart_Click() Dim oImporter As clsImporter If IsNull(Form!txtImportDate.Value) Then MsgBox "Please enter an import date." Exit Sub End If Set oImporter = New clsImporter oImporter.init oImporter.importExtractFiles Form!txtLog.Value = Form!txtLog.Value & oImporter.log & vbCrLf oImporter.done Set oImporter = Nothing Me!cmbFileDate.Requery End Sub That is what shows up and it's yellow over the first line that starts with "Private.." and says Compile Error: Argument Not Optional. And when I try to right-click on "definition" it says "Identifier under cursor is not recognized." Can someone help me? Thank you! |
![]() |
| Thread Tools | |
| Display Modes | |
| |