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 bkrike 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: *

  • Users: marco02
  • Content: Threads
  • Order by date
  1. marco02

    WHY ??? When I FILTER a FORM my TextBox gets disabled !!!

    Hi, I have a form retrieving a table's data. I added to this form a TEXT_BOX + COMMAND_BUTTON for filtering purposes. 1) The user enters his filtering criteria in the TEXT_BOX (filter to be applied to the form itself) 2) Then the user presses the COMMAND_BUTTON to launch the filtering...
  2. marco02

    HOW TO retrieve the CurrentRecordPosition ???

    Hi guys, For my application I need to retrieve the record/row the user has selected. How do I do that ? Let's say the user chooses to launch the code on record 49: 1) he opens the table 2) he clicks in record/row number 49 3) and clicks command button "Launch" of my form or...
  3. marco02

    How to PURGE / CLEAN database ???

    Hi, For my application I am linking a lot of tables to my database (from other dbs). After a while of importing/deleting/importing/etc those tables, my database is enormous (+60MB) even though I barely store any data in my database. - Why is the size of my database increasing that much if I...
  4. marco02

    HOW TO Append a new field in an existing Table ???

    Hi I'm trying to append a NEW FIELD on an existing table. My table has 2 fields and I want to append a 3rd one. With the code below my field DOES NOT get added to my table. Dim fld As DAO.Field Dim tbl As DAO.TableDef Set tbl = CurrentDb.CreateTableDef("Table1") Set...
  5. marco02

    HOW TO delete Query sitting in a closed database ?

    I am working from an open database (db1). Can I delete a query sitting in a closed database (db2)? How ??? I hoped: DoCmd.DeleteObject acQuery, db2.Querydefs(NameOfQryToDelete) would work but it does not :-( I would like to delete this query without opening db2 if possible ... i could open db2...
  6. marco02

    Help ! DBEngine reference not working...

    Hi I need to work with tables in two different database, I can't manage to refer to my second database, Both databases are open... #DAO declarations Dim db1 as DAO.Database Dim db2 as DAO.Database # this line is OK Set db1 = DBEngine.Workspaces(0).Databases(0) # this line BUGS Set db2 =...
  7. marco02

    .RecordCount with query ???

    Can I retrieve directly the number of recordset in a query without looping through the entire recordset ? Why doesn't the .RecordCount work on a query ? Is there a similar property for a query ? thanks so much, marco
  8. marco02

    how to pop-up the FILE OPEN dialog box ???

    Hi, I'm trying to pop up the FILE OPEN common dialog box for my user. The code below doesn't work! (comes from the "Developer's Handbook: Vol 1) Dim cdl as CommonDlg Set cdl = New CommonDlg cdl.ShowOpen Bugs at the first line. Declaration not accepted !! ... thanks for your help on this...
  9. marco02

    how to pop-up the FILE OPEN dialog box ???

    Hi, I'm trying to pop up the FILE OPEN common dialog box for my user. The code below doesn't work! (comes from the "Developer's Handbook: Vol 1) Dim cdl as CommonDlg Set cdl = New CommonDlg cdl.ShowOpen Bugs at the first line. Declaration not accepted !! ... thanks for your help on this...
  10. marco02

    getting table names of MY TABLES only!

    Hi guys, is there a smarter way to retrieve the names of MY tables in my dtb with SKIPPING all those hidden and MSsystem tables ? This usually works but it's dumb, you will agree ... Set Dtb = CurrentDb For Each Tdf In Dtb.TableDefs If Left(Tdf.Name, 4) <> &quot;MSys&quot; And _...
  11. marco02

    getting table name of MY TABLES only !

    Hi guys, is there a smarter way to retrieve the names of MY tables in my dtb with SKIPPING all those hidden and MSsystem tables ? This usually works but it's dumb, you will agree ... Set Dtb = CurrentDb For Each Tdf In Dtb.TableDefs If Left(Tdf.Name, 4) <> &quot;MSys&quot; And _...
  12. marco02

    Please ... union query -&gt; new column ?

    Hi, I'm trying to gather info from two tables in a way that the info from the 1st table will occupy the first three rows and info from the 2nd table the next rows (say 4,5,6). It has to be Visual Basic coded because the database is +10000 records and changes regurlarily. Those tables are...
  13. marco02

    How to copy CHART into ADD-IN ?

    Hi, I'm trying to copy a Charts from a Worbook to an Add-in. This code below doesn't work, . IS IT POSSIBLE ? . HOW SHALL I DO IT ? > Dim c_Chart as Chart > For Each c_Chart In Workbooks(MyWorkBook).Charts c_Chart.Copy After:=wb_Addin.Worksheets...
  14. marco02

    work with Worksheets placed in an Add-In (xl 2000) ??

    Hi How can I work with Worksheets placed in a Add-in ? How can I show them to the user ? [History] I used to have my macros in a workbook, the initilization was automatic and I hid the workbook containing the macros in the beginning. When I needed to show information to the user or manipulate...
  15. marco02

    Working with Worksheets placed in an Add-In ???

    Hi How can I work with Worksheets placed in a Add-in ? How can I show them to the user ? [History] I used to have my macros in a workbook, the initilization was automatic and I hid the workbook containing the macros in the beginning. When I needed to show information to the user or manipulate...
  16. marco02

    creating ADD-INS in Excel 2000

    Hi I have my Excel VBA program up and running :)) and i would like to make it an ADD-IN. I didn't manage so far. Could somebody tell me what are the steps ? I think i'm missing something. Or does somebody knows a weblink that would be helpfull? Thanks in advance, marco
  17. marco02

    creating ADD-INS in Excel 2000

    Hi I have my Excel VBA program up and running :)) and i would like to make it an ADD-IN. I didn't manage so far. Could somebody tell me what are the steps ? I think i'm missing something. Or does somebody knows a weblink that would be helpfull? Thanks in advance, marco
  18. marco02

    Excel - DOS COMMAND using Shell ?

    Hi guys, I would like to run 1 or 2 DOS commands from in my ExcelVBA application. I red somewhere that: Shell &quot;COMMAND.COM dos_command_as_a_string&quot; should do it. It doesn't seem to work, can somebody help me on this matter? Thanks a lot, Marco PS: i want to convert a file from...
  19. marco02

    Building RELATIONSHIPS with VB ?

    Hi guys, I am manipulating multiple TABLES in multiple DATABASES. I would like to remotely CREATE RELATIONSHIPS between IMPORTED TABLES. CAN I CREATE RELATIONSHIPS BETWEEN MY TABLES WITH VB ? HOW ? Thanks a lot in advance for your help ! Marco

Part and Inventory Search

Back
Top