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 strongm 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. MikeRBS

    Link Question

    As a matter of interest I saved the macro as a module then when I tried to run it it threw a Macros dialogue asking me for a macro... This was the code: '------------------------------------------------------------ ' M_Link_D ' Links to InvPublic when USB is defined as D...
  2. MikeRBS

    Link Question

    I have linked databases that may be on different drives, as with another post. I write a macro to link in tables but if the table exists already, then Access creates a table appended with a number. So I preface every link with a delete but then the macro stops if thew table doesn't exist, and...
  3. MikeRBS

    Synchronising Sub Reports

    I'd not noticed that!
  4. MikeRBS

    Synchronising Sub Reports

    I've sorted this out. I got a clue from looking at the Viescas book where he tells you to open out the controls a bit. Once you do this you have fighting chance of getting the right one out of several million mode combinations. As Remou implies, the control bundles itself, the surrounding...
  5. MikeRBS

    Synchronising Sub Reports

    I am trying sub-reports for the first time and can't see where you connect them. Roughly I have a main report say Country, City. I then have two sub reports say City, Customer and City, Supplier. All three work ok separately. I drop the two sub reports onto the detail section of the main...
  6. MikeRBS

    Be careful Using Word

    No. I really think Access should have a more friendly coding environment. Some aspects of the non-coding enviropnment are still class-leading. For old timers like me it's as if we died and went to heaven. Why can't they extend that breathtaking quality to the easy things...
  7. MikeRBS

    Be careful Using Word

    PH Obvious really, isn't it. Cheers
  8. MikeRBS

    Be careful Using Word

    Maybe there's something I don't know but what I can see of Access is the editor is truly awful. You can't re-size the display. There's no search-and-replace etc. So I tend to use Word if I have some intricate SQL. I just hit a wierd problem where WHERE SOMETHING = "R" kept throwing a dialogue...
  9. MikeRBS

    Select duplicates

    Many thanks PH. I initially solved this by creating a table of duplicates (using a grouped query) then joining from that table back to the main table to pick up the detail lines. However I'm now doing a similar thing again and your first method works fine. I was stumped for a little while...
  10. MikeRBS

    Select duplicates

    How do you select those rows which have a value that appears also in another row ie something like Select EMPNO, Firstname, Secondname where Count(Secondname >1)? I want to list the details of items that are probably duplicates.
  11. MikeRBS

    Code to Create Connection

    Hi Roy. I just checked and it looks as though the ADO library was not activated whereas DAO was. Bizarre set-up as this is Access 2002, so I would have thought it would default to ADO. Thanks for your help. Mike
  12. MikeRBS

    Code to Create Connection

    I've got this code Sub AssignAtlas() 'Add incrementing Atlas numbers to those items without a number currently Const CONNECT_STRING = "Provider=Microsoft.Jet.OLEDB.4.0;" & _ "Data Source=g:\Inventory\InvHPD.mdb" Dim Connection As New...
  13. MikeRBS

    What I am doing wrong?

    Wicked. It errored. Didn't like acDialog, so I took that out. Now works a treat. Thanks
  14. MikeRBS

    What I am doing wrong?

    I have a table of people. I view this through a query People Maintain. I created a simple form People Maintain Subform. In design this works fine in either datasheet view or a form view. I drop this subform onto another form Maintain People. This now works fine but I can see no way of...
  15. MikeRBS

    How do you retain print formatting?

    I'm up to Access 2002. And I still can't see how to preserve print formatting for queries.
  16. MikeRBS

    help with converting Access 97 to Access 2002

    I have a similar issue with going to 2003. I didn't think there would be much to do, but some people internally are saying there are problems. Anyone know what can trip you up?
  17. MikeRBS

    database on a webserver

    You may not be able to do this. The reason being web servers tend to be set up so you can't - for security reasons. You might want to search msdn for 'remote data services' or whatever the latest name is. This is an area in flux.
  18. MikeRBS

    How do you pick up the user?

    PHV Works a treat. A new field Userid: environ("username") gets the NT logon. Wasn't in Help. I found these whilst looking: http://www.mvps.org/access/api/api0008.htm http://www.tek-tips.com/gfaqs.cfm/pid/181/fid/3779
  19. MikeRBS

    How do you pick up the user?

    I have an app (someone else wrote it) that displays items for lots of people. I would like to display only those connected with the user. ie something like WHERE T1.USERID = NT_LOGON_ID. I can't see anything in Help. Any suggestions - I want to avoid them having to sign on to the app.
  20. MikeRBS

    Escape sequence for backslash

    I can't believe this. I'd got a completely different field - with no slashes. So Access is just fine after all. If I had a brain, I'd be dangerous...

Part and Inventory Search

Back
Top