Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. EastWind

    Create a dynamic reports from 3 different tables bases on users' entry

    I've not had to create a report from code. If you're using Access 2002, the good news is that you need not use DAO or ADO because forms and reports are Access objects and not data. What this means is that you can create/append a new report to the Access AllReports collection without needing to...
  2. EastWind

    Create a dynamic reports from 3 different tables bases on users' entry

    A way (not the only way) of doing it would be to create two buttons on your form: one for report-print preview and the other for report-print. If you have created the report beforehand, create a new button on the form from which you want the User to have these options. The form's button wizard...
  3. EastWind

    Need String Func. to find first instance of " " and order by next char

    InStr(StrVariable, " ") If StrVariable is a concatenation of First and Last Names, assuming the First Name has no spaces, then the above will return the character position of the space between the names. EastWind [infinity]
  4. EastWind

    REGSVR32 Error Message

    No, not yet. I had to move onto other things in my work. If I do, I'll certainly post it! [pc] EastWind [infinity]
  5. EastWind

    Programatically creating a copy of an existing table in the same db

    Here's the code - minus the error handling: Public Sub (strTable As String) Dim strNewTable as String, strSQL As String DoCmd.SetWarnings False strNewTable = strTable & "_old" strSQL = "SELECT [" & strTable & "].* INTO [" & strNewTable & "] " _ & "FROM [" & strTable & "];"...
  6. EastWind

    How to pass in parameters in openquery command?

    You can't. In order to pass parameter(s) to a query, you would need to do it via an ADOX catalog procedure and an ADODB command. Below is an example of how I passed parameters to a query and then executed it: Public Function upqryPmntMatchQtr()...
  7. EastWind

    [b]Sending a password to excel from Access[/b]

    If you add the Excel library as a reference and type in the immediate window Excel.Workbook.Open > F1, Access Help will give you the syntax help for the following command: Excel.Workbook.Open(FileName, UpdateLinks, ReadOnly, Format, Password, WriteResPassword, IgnoreReadOnlyRecommended, Origin...
  8. EastWind

    REGSVR32 Error Message

    Thank you for the response, however, no dice. I tried /u, then /i, then /u/i; I still received the same message. I'm still exploring hard-copy resources for more information, but no luck so far. If I run across why this is happening, I'll be sure to let you know. Thank you again for the...
  9. EastWind

    REGSVR32 Error Message

    Thank you for the reply. At the command-line, I typed: REGSVR32 /u /n /i DLLPathFileName I still receive the same error noted in my original message. As best I understand it, the /u /i combination calls the uninstall, and the /n is a requirement when using with /i. I thank both of you for...
  10. EastWind

    REGSVR32 Error Message

    Thank you for the response...I was starting to give-up hope. How do you unregister a DLL?
  11. EastWind

    REGSVR32 Error Message

    I tried to add a reference from <DLLPathFileName>. Instead of a successful addition to the registry, I received the following error message: <DLLPathFileName> was loaded, but the DllRegisterSever entry point was not found. DllRegisterServer may not be exported, or a corrupt version of...
  12. EastWind

    Macro generating an error - Totally Confused

    I have no definitive idea about what is going-on, but a problem that I've run into before is UPDATEing columns of data-type Text to NULL; sometimes (I don't know when exactly), I must UPDATE to "" (empty text string). Also, part of your argument list is upd$AmountsPC-1; to which arguement does...
  13. EastWind

    Macro generating an error - Totally Confused

    Could you go to the SQL of your action query and post it?
  14. EastWind

    REGSVR32 error: DllRegisterSever entry point not found

    I tried to add a reference from <DLLPathFileName>. Instead of a successful addition to the registry, I received the following error message: <DLLPathFileName> was loaded, but the DllRegisterSever entry point was not found. DllRegisterServer may not be exported, or a corrupt version of...
  15. EastWind

    List All SubFolders of a Path in an Access Table

    I wanted to post this because this site helps to keep me sane in my job. I hope this is useful to someone else out there... I recently wanted to list all of the VBA names of all references that existed on my C:\ drive. In order to do that, I would need to search for all files in all...
  16. EastWind

    [b]Call a Public Sub or Function[/b]

    Public Sub procGoToControl(strForm As String, strControl) DoCmd.GoToControl Forms(strForm).Controls(strControl).Name End Sub from form: '&lt;code&gt;' Call procGoTokControl(&quot;Form1&quot;,&quot;Control1&quot;) 'will take you to Form1's Control1 '&lt;code&gt;' Is that what you were...
  17. EastWind

    Excel: Finding CurrentRange within a Range

    Thanks SkipVought! The way I did it is far more convoluted than it needed to be. I don't use Excel VBA commands enough to really know what is out there...yet...just enough to quick-and-dirty working code. You certainly deserve the star! The EastWind
  18. EastWind

    Excel: Finding CurrentRange within a Range

    I'm not sure that I understand your problem exactly, but I believe you are trying to figure out how to isolate the last used row within a column. Below is how I did something similar...how to isolate the last used column within the row. Basically, to do it the other way around, you would use...
  19. EastWind

    Position to first item in ListBox - Access 2000

    Private Sub chkClearAll_Click() If Me!chkClearAll = True Then Me!chkSelectAll = False Call chkSet(False) End If lstPolicy.MoveFirst ' End Sub
  20. EastWind

    Position to first item in ListBox - Access 2000

    Could you provide the section of code that loads the list box items into the table?

Part and Inventory Search

Back
Top