Recent content by Cobra

  1. C

    Runcode macro

    Oh brilliant, thanks :D
  2. C

    Runcode macro

    The function is called "hidebars" the module is called "hidebars" and I am calling it in the macro by putting "hidebars()" in the function name. Thanks for getting back to me on this issue
  3. C

    Runcode macro

    I understand that, however when I type in the code which I linked earlier, it says "The expression you entered has a function name which Access cannot find."
  4. C

    Runcode macro

    Right, that seems to work for simple code now, thank you. However, how can I get the code: Dim i As Integer For i = 1 To CommandBars.Count CommandBars(i).Enabled = False Next i To work in my module?
  5. C

    Runcode macro

    I did this and it says "The expression you entered has a function name which Access cannot find." Was I meant to put FunctionName(hidebars)?
  6. C

    Runcode macro

    I wanted to run the code from one of the posters here: Dim i As Integer For i = 1 To CommandBars.Count CommandBars(i).Enabled = False Next i
  7. C

    Runcode macro

    I've made an Autoexec macro, how do I actually get it to run code and where do I put the code? I'm really confused with the function name bit.
  8. C

    Query to work out total?

    Anyone know?
  9. C

    Query to work out total?

    Ok, I've worked out how to do this using "Totals". However how can I get a text box to look up to this value? I know that I would have to have a table entry which looks to this field but I don't know what it would be called or where I could retrieve the value from.
  10. C

    Query to work out total?

    Hi, I've made a few posts on here about a certain glider database. I have sorted most of the problems through the help of people on this forum. However, I have recently came up with a new conundrum :eek: When I enter all the information into my table, it records the different flights which take...
  11. C

    Help with calculation

    That seems the sort of thing I'm looking for but it comes up with a strange number that isn't correct when I do it :(
  12. C

    Help with calculation

    Some people helped me get my "if" statement working for this code here: If Me.No_takeoff = -1 Then TxtLaunch.Value = "No Takeoff" Me.TxtLand = TimeValue(Now) TxtLand.SetFocus Else If Me.No_takeoff = 0 Then Me.TxtLand = TimeValue(Now) TxtLand.SetFocus TxtTotal.Value = (TxtLand.Value -...
  13. C

    Checkboxes

    Dw, I sorted it :) Thanks for the help
  14. C

    Checkboxes

    Just a slight problem now :S I had to change the field type to accept the text if the glider was "not landing" but now the code which enters the time and date into the field works but the date doesn't display correctly: instead of:
  15. C

    Checkboxes

    Oh brilliant :D That works. Thanks so much!!! :D
Back
Top Bottom