Search results

  1. C

    The Open File Dialog Box not working in MS Access 2010

    The following "Open file dialog box" code allows a user to browse through the folder and save a file at the user specifed location. It works perfectly in MS Access 2003: Dim strInputFileName As String Dim strfilter As String strfilter = ahtAddFilterItem(strfilter, _ "Portable...
  2. C

    Question Run-Time error 3000

    Here is the err description I'm getting: "Reserved error(-7711); there is no message for this error" Users are allowed to select client codes and run the report based on the code(s) they select. The report runs perfectly for all client codes submitted except for one particular code. When...
  3. C

    Question Run-Time error 3000

    Hello, I'm experiencing a run-time error 3000. The following is an excerpt of the code that I'm using: If [report selection] = 3 Then DocName = "rptGrossFieldSummary" Set qdfList = db.QueryDefs("qrySp_GrossFieldSummary") strSQL = "exec sp_GrossFieldSummary'" & Application.CurrentUser & "','"...
  4. C

    Retrieving user responses from the open/save dialog box

    Thanks SOS, your first suggestion worked. I walked thru the code using the debugger and confirmed that the strInputFileName variable will be "" if you cancel or close the form. The path, directory and filename will be set when the save button is clicked. Thanks.:)
  5. C

    Retrieving user responses from the open/save dialog box

    Thanks for your response. In my sample code I'm using a default value for the filename: FileName:="Traditional Well", so when the strInputFileName variable gets returned, the default value will be returned if the user clicks Cancel or Close(which is ok). Wanted to know is there anyway to...
  6. C

    Retrieving user responses from the open/save dialog box

    Hello, I'm using the following Open/Save Dialog Box function(code excerpt): Dim strInputFileName As String Dim strfilter As String strfilter = ahtAddFilterItem(strfilter, _ "Portable Doument Format (*.pdf)", "*.PDF") strInputFileName = ahtCommonFileOpenSave(Filter:=strfilter...
  7. C

    Run-time error '424': Object required

    Hello, Could anyone provide some direction as to why I'm getting a 424 runtime error. The error occurs on the first line of the sub function(the 'set rep' statment). The following is the code that I'm using within a module, that causes the error whenever the module gets called, i.e...
Back
Top Bottom