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 Wanet Telecoms Ltd 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. Accel45

    List Tables AND Table Row Count from Remote Database into List Box

    Andy, Very smooth, thank you for your help. Acce45
  2. Accel45

    List Tables AND Table Row Count from Remote Database into List Box

    ...MAIN TABLES\DateCompareFORTEST.accdb") Set dbs = DBEngine.OpenDatabase(rRemoteDB) For Each tdf In dbs.TableDefs With tdf If .Name Like "MSys*" Or .Name Like "~*" Then Else Dim rAccount As String rAccount = .Name Dim objAccess As Access.Application Set objAccess = New Access.Application...
  3. Accel45

    List Tables AND Table Row Count from Remote Database into List Box

    ...= New Access.Application objAccess.OpenCurrentDatabase rRemoteDB On Error Resume Next Me.txtAccount = rAccount Me.CtAccount = objAccess.DCount("*", rAccount) On Error GoTo 0 On Error Resume Next Me.txtCategory = rCategory Me.CtCategory = objAccess.DCount("*", rCategory) On Error GoTo 0 On...
  4. Accel45

    List Tables AND Table Row Count from Remote Database into List Box

    Andy, Thank you for taking time to help, but neither option worked. Neither option brought in anything (Tables nor Row Counts) from the Remote Database. Accel45
  5. Accel45

    List Tables AND Table Row Count from Remote Database into List Box

    ...Me![List40].RowSource = "SELECT [Name] FROM MSysObjects IN '" & rRemoteDB & "'" _ & " WHERE [Type]=1 AND NOT ([Name] Like '~*' OR [Name] Like 'MSys*') ORDER BY 1" What I would like to do is add a second column to the Listbox that contains a count of the Rows In each of the Remote Database...
  6. Accel45

    Function to search Field for any word contained in a separate table

    ...within "Description". I then use the DSearch result to look up the appropriate Category in a separate table. DSearch: IIf([Description] Like "*Record*","Record",Null) & IIf([Description] Like "*Security*","Security",Null) & IIf([Description] Like "*Deposit*","Deposit",Null) &...
  7. Accel45

    Retrieve Table Names From Remote Access Database

    That did the trick, Thank you for your help.
  8. Accel45

    Retrieve Table Names From Remote Access Database

    ...MVP. SELECT MSysObjects.[Name] FROM MSysObjects IN 'C:\MyFolder\MyFile.mdb' WHERE (MSysObjects.[Type] = 1) AND NOT ((MSysObjects.[Name] Like "~*") OR (MSysObjects.[Name] Like "MSys*")) ORDER BY MSysObjects.[Name]; I’m using the code as the Row Source for a combo box on a MS Access form: I...
  9. Accel45

    How execute code when code is in a textbox.

    Work great, Thank you strongm
  10. Accel45

    How execute code when code is in a textbox.

    BACKGROUND: I find myself creating help message boxes frequently so I put together a DB to help with creating the string for the msgbox. I enter the steps or instructions into a continuous form: How To Eat A Banana First, Remove the Peel Second, Open Mouth Third, Shove Banana in Mouth The...
  11. Accel45

    Help Importing Text into Access Table

    Works fine dhookom. Thank you. And Thank you to Andrzejek. On question, when running the code stops when a note contains a ' or - or some other non letter characters. Not that big of a deal as the error message identifies the word containing the character. Thanks again, for saving me a lot of...
  12. Accel45

    Help Importing Text into Access Table

    My example above shows three notes: ** some text that is the note ** some text that is the second note ** some text that is the third note I did not try your suggestion as I did not know how to complete the code to insert aryTemp(i) into table. btw thank you for helping me with this.
  13. Accel45

    Help Importing Text into Access Table

    The actual text is confidential. What I provided above is how the text is formatted in the text file.
  14. Accel45

    Help Importing Text into Access Table

    Using this thread to illustrate content of the text file. I have three notes here but the actual file has hundreds of notes: --- ** I have a TXT file containing hundreds of "notes". The TXT file does not have column headings. Some of the notes are short some are long. The only consistent...
  15. Accel45

    Help Importing Text into Access Table

    ...The TXT file does not have column headings. Some of the notes are short some are long. The only consistent pattern is that each note begins with “**”. I would like to import each “note” into a separate record with a table. I have tried using import wizard but the wizard wants to import each...
  16. Accel45

    FancyPrairie BuildWhere Syntax error when String contains apostrophe

    That solved the problem. Thank you DHOOKOM
  17. Accel45

    FancyPrairie BuildWhere Syntax error when String contains apostrophe

    Additionally, I am using a Listbox to select the search criteria. ListBox ------- Visible ........ Yes Enabled ........ Yes Multi Select ... Simple Tag ............ Where=tblDocs.Payee,String,[forms]![frmFilter4]![OpPayee]
  18. Accel45

    FancyPrairie BuildWhere Syntax error when String contains apostrophe

    ...quotes as suggested. With the change I get a a Syntax error if there is an apostrophe and I get a Syntax error if there is not an apostrophe. '*********************** '* Save Where Clause * '*********************** 'BuildWhere = strWhere BuildWhere = Replace(strWhere, "'", "'")...

Part and Inventory Search

Back
Top