A family of Microsoft relational database management systems designed for ease of use.
You can convert macros to VBA code. This shows how:
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I am trying to use a button for a simple saved export, but I keep getting this error message.
The specification with the specified index does not exist. Specify a different index. '0'.
Based on what I have read, this message pops up when the saved import/export has been deleted. I have not deleted it. I have even re-created it a couple times. Still keep getting the same error.
Thanks
A family of Microsoft relational database management systems designed for ease of use.
Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.
Answer accepted by question author
You can convert macros to VBA code. This shows how:
I get the same error, but now instead of '0' at the end, it shows the export name.
Private Sub Command70_Click()
DoCmd.RunSavedImportExport "Export - qryFind_BOM_for_One_PartNum"
End Sub
Replace the brackets around the name with double quotations marks.
Sorry, should have thought of that to begin with.
Private Sub Command70_Click()
DoCmd.RunSavedImportExport (Export - qryFind_BOM_for_One_PartNum)
End Sub
Can you share your code that is producing the error?