Why 4 separate Functions (and not Subs)? If you always run these 4 exports every time, can they all be in one Sub?
You can use an InputBox function, something like:
Code:
Current_Date = InputBox("Enter date.", "Date Input", Date())
If Current_Date = vbCancel Then
'do nothing, user canceled procedure
ElseIf Not IsDate(Current_Date) Then
MsgBox "Not an appropriate entry. Procedure canceled.", "Entry Error"
Else
File_Name = "G:/JV/ASM-" + Current_Date + ".txt"
DoCmd.TransferText acExportDelim, "ASM Export Spec", "ASM", [File_Name]
'and the other 3 exports as well?
End If
Or have user input to a textbox on form and refer to the control for the criteria.