Search results

  1. 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.
  2. 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...
  3. 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 -...
  4. C

    Checkboxes

    How do I make an if statement which is linked to checkboxes. The code I have at the moment is: If Me.Not_Landing = "yes" Then TxtTotal.Value = "Not Landing" Else If Me.Not_Landing = "no" Then Me.TxtLand = Me.TxtLand & vbCrLf & Now() Me.TxtLand = Me.TxtLand & vbCrLf TxtLaunch.SetFocus...
  5. C

    Filling in text box from another text box

    Hi, I'm trying to create a database for my nearby gliding club but have come across a problem when trying to fill in a text box from another. I have used one text box to find out what the total time for a flight is (landing time - launch time). However to do this, I created a text box which...
Back
Top Bottom