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. Taff07

    Right Click Menus Disabled!

    Perfect. Worked a treat, thanks very much
  2. Taff07

    Right Click Menus Disabled!

    The main menu bar has been disabled as well, I can't get to the Tools menu. If you happen to know the vb needed then I can activate from there. Cheers
  3. Taff07

    Right Click Menus Disabled!

    Thanks but these are already set to 'Yes'. Also I can't even right click on/in the database window.
  4. Taff07

    Right Click Menus Disabled!

    Can anyone help, I have just been sent a database, and I can't use the right mouse button to bring up any menus. I'm guessing this is a setting within the database(It's occuring for all areas not just on forms). Does anybody know how to reset this setting or even give me an idea on where to...
  5. Taff07

    open a specific word doc from access

    You could save the entries as Hyperlinks within a the table.
  6. Taff07

    duplicate values in dropdown:MOST URGENT

    It sounds like the record is trying to save itself as you complete the combo boxes. You need to perform any checks your making without saving the record. This will aloow you to keep editing within the form. Hope this helps. Cheers Taff
  7. Taff07

    Importing File

    lars7 wrote: 'Dosn't work, Theres nowhere in the code to say which access file to import and on click is where the macro was to import the file.' i assume the actual Macro works perfectly so you can just replace the 'MsgBox "You said YES"' with docmd.runmacro "nameofMacro" A bit messy using...
  8. Taff07

    Halting code while a form is completed?????

    The database is an existing logging style database where a work order is stored and any actions made on that order are logged against it. The team has now decided that they want to know who has done which bits of work for both reference to the order and individual productivity stats. Hence it...
  9. Taff07

    listbox send selected item to second form

    Paul, You've more or less got it already. Try the below but expand for all the cases you require. dim strFormName as string Select Case me.lstname case "Variable1" strFormName = "Name1" Case "variable2" strFormName = "Name2" case else msgBox "Unknown entry selected!" end select...
  10. Taff07

    In Over My Head

    I tend to use me.refresh This will also save the record for you. Just put the line in the AfterUpdate property for the Control you are tabbing from. Hope this helps Ian
  11. Taff07

    Halting code while a form is completed?????

    Does anyone know if it is possible to pause VBA code while a User completes a form?? or does anyone know a way to use a combo box on a VBA control? The situation I`m in is that when a user chooses an option form the main menu I need a prompt/form to make them choose their name from a list...
  12. Taff07

    Populating an Excel List Box.

    I'm creating a form in Excel and need to populate a ListBox with the results from an Access Query. Can anyone show me how to set this query as the control source or populate it in a nother way? Thanks Ian
  13. Taff07

    OutputTo Problem

    John, Try this: strdestination = "C:\folder\" strdate = format(date(),"DDMMMMYYYY") DoCmd.OutputTo acOutputReport, strReportName, acFormatRTF, strDestination & strDate & ".rtf" Ian
  14. Taff07

    using different table as record source

    Jalge2 You can set up a command button to save the record to the main table. IF you expand the following to match each control with each field it should work. Sub On_click() dim rstMainTable as recordset set rstMaintable = currentdb.openrecordset("MainTable") with rstMainTable...
  15. Taff07

    Using TransferSpreadsheet from a form button

    Sorry but I don`t know the answer to the query part. I`m only using Access 97 which allows me to use the name of a query within the function. Maybe you could use a make table query before exporting and then delete it afterwards? Hope someone know the answer Ian
  16. Taff07

    Using TransferSpreadsheet from a form button

    Slames, The default option for the Transferspreadsheet function is acImport. If you just add acExport before your first , then it should be fine. so: DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel3, "TESTAutoExcelDump", "C:\text" Hope this is right Ian
  17. Taff07

    Loop thru tabledefs in CurrentDb

    just add .tabledefs onto the currentdb. :) It will then look like: For Each tbl in Currentdb.tabledefs ..... Next Hope this helps Ian
  18. Taff07

    Linked Table Source

    Rick, Cheers that did the trick. I was almost there, but for some reason completely missed the refresh link coomand which was holding me back. That`ll teach to work to late on it :) Thanks again. Ian
  19. Taff07

    Linked Table Source

    Hi, Hopefully someone can help me out on this one :) I have a number of linked tables within my front end database linking directly to the backend. What I need/want to do is to change though VBA the database path for each of these linked tables so they all point to a new folder path for the...
  20. Taff07

    Array Size

    Hi, Is there a way to retreive the size of an array after it`s been declared? E.g dim QueryList(67) as Variant I wish to retreive later on in the code the value '67' or equivilent at the time as this size is subject to change. Thanks Ian

Part and Inventory Search

Back
Top