Could not create Local database Storage

Sully38

Board Regular
Joined
Mar 9, 2004
Messages
167
Private Sub cmdNewRequest_Click()
On Error GoTo PROC_ERR

Dim strFormName As String

strFormName = "frmDocumentRequest_Edit"
DoCmd.OpenForm strFormName, , , , acFormAdd
Me.Visible = False
WaitUntilFormClose_TSB (strFormName)
Me.Visible = True

PROC_EXIT:
Exit Sub

PROC_ERR:
MsgBox Err.Number & ":" & Err.Description, , "Unexpected Error"
Resume PROC_EXIT
End Sub

Using the above code I am trying to create a new document and I keep getting "Could not create local database storage" Anyone notice any errors in the code.. I have been looking all day and dont see any.
 

Excel Facts

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.
Error I got when I tried to run it was - the form didn't exist.
Found this in Access2K help under 'CreateForm'

Code:
Sub NewForm()
    Dim frm As Form
    
    ' Create form based on Customers form.
    Set frm = CreateForm( , "Customers")
    DoCmd.Restore
    ' Set RecordSource property to Customers table.
    frm.RecordSource = "Customers"
End Sub

Nax
 
Upvote 0

Forum statistics

Threads
1,221,819
Messages
6,162,155
Members
451,749
Latest member
zack_ken

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top