Recent content by bjackson

  1. B

    Refering to Menu Bar Commands and sub menus

    No need for help,i figured it out Thanks :)
  2. B

    Refering to Menu Bar Commands and sub menus

    I have a custom menu bar that has a couple of menu lists, with a list of five custom commands that i want to run,depending on what is selected.I know you can assign a macro to each command,but is there a way to know which command has been selected. What i want to do is to have 1 macro that will...
  3. B

    Delete tables

    After searching the web i found this Dim db As DAO.Database Set db = DBEngine.Workspaces(0).OpenDatabase("DbNameHere", , False) db.TableDefs.Delete "TableNameHere" db.TableDefs.Refresh db.Close Set db = Nothing It seems to do the job
  4. B

    Delete tables

    Is it possible to delete a table from a remote access db. i.e table "A" is in database "A" from a form in database "B" i would like to run a routine that would Delete table "A" from database "A" i have tried using "DoCmd.DeleteObject acTable" but i think this only works for the...
  5. B

    Control x,y co ordinates

    It is possible-problem solved i just needed to convert sizes to pixels Regards Bjackson
  6. B

    Control x,y co ordinates

    Is it possible to retrieve the x an y co ordinates of a text box in relation to the client screen. I am trying to align a pop up form so that it doesnt obscure data. i have a main form with 8 subforms.The text box that i want to align with is in each subform,and i use a mouse move event on the...
  7. B

    Boolean comparison of dates for reports or queries?

    Are You talking about excel(Cells ?) or access In access you can only use conditional formatting based on the values of that field.You cant refer to data that resides in other fields for that record. if you want to use several criteria on a report then use the on print event for the section...
  8. B

    Cos Function

    RayH Worked like a charm,and was set out so even a dummy like me could follow it.The book i was working from layed out the formula ,but then at the crucial point assumed the reader knew what inverse cosine was.Why do they do these things? Thank you for your help Wayne Maybe...
  9. B

    MS Drops support for Jet...

    Here is an interesting extract from an article that i have read (late Nov 2004) MICROSOFT INVESTING HEAVILY IN ACCESS Last week at the Access Advisor conference in Las Vegas, Microsoft announced their plans for enhancing Access over the next several versions. In his keynote, Richard McAniff...
  10. B

    Cos Function

    Thanks Ray and Wayne I will test both and get back to you.It's creeping up to new year here so it will have to wait until A.Tomorrow or B.When i sober up, whichever sober comes first The trouble with kids is they give up to easily,or sometimes they think its not cool to ask for...
  11. B

    Cos Function

    Thanks Jacob I am not sure whether that helps,as i said my skills in maths are ordinary to say the least.I cant convert the angle to radians because i dont know the angle,thats the part i am trying to work out.I cant grasp how to apply the inverse part of the equation (I dont know...
  12. B

    Cos Function

    Thanks Wayne So the power formula is right,but you cant use Power() in access,just excel Any ideas on how i can get around using the cos function in access with out getting the compile error "Function call on left hand side of assignment must return variant or object". Are there any...
  13. B

    Cos Function

    Thanks for the reply Pat i get a syntax error using ** I had a look at excel and it has a Power() function,and it also shows that you can use 5^2, which when used in access does give the answer of 25. However when a minus value its gives the wrong value ( well not the answer...
  14. B

    Cos Function

    I am trying to work out an angle in a triangle(non Right angle).Does anybody know how you multiply a number by Cos to the power of -1.Does access have any functions for mutliplying numbers to the power of x thanks in advance Bjackson
  15. B

    Analyzing and reviewing VBA Code

    check out this http://www.mztools.com/ Its an amazing add in for free Regards Bjackson
Top Bottom