I have an application that prompts users to save a profile as... What I would like is to call a function "saveAs()" that returns an ID value just as msgbox() returns a value.
My Save As dialog is designed to look similar to a regular Save As dialog box except the items are populated from a SQL DB.
I can accomplish this task using Public variables but I would prefer to avoid those in lieu of what I am trying to accomplish.
Regards,
Dan
My Save As dialog is designed to look similar to a regular Save As dialog box except the items are populated from a SQL DB.
I can accomplish this task using Public variables but I would prefer to avoid those in lieu of what I am trying to accomplish.
Code:
Private Sub mnuSaveAs_Click()
intSaveAs = saveAs()
End Sub
_______________________
private function saveAs() as Integer
' frm.Show 1, Me
<code???>
End Function
Regards,
Dan