Search results

  1. John Big Booty

    Calculate difference in dates in the same field

    Check out the DateDiff() function.
  2. John Big Booty

    Updating calculated dates from a form to a table

    Storing calculated fields, in all but a small number of special cases is generally considered to be in breach of the rules of Data Normalisation. Generally if you can calculate the value at the time of input you can use the same method to re-calculate that value at any time you need to display...
  3. John Big Booty

    Reference another column in a record

    Use the following as the Control Source of your unbound text box; =YourCombo.Column(x) Where x represents the column that hold the data you wish to display in the text box. The column must form part of the row source of the combo, but need not necessarily be visible. Also remember that the...
  4. John Big Booty

    last updated & last viewed

    Strange; I've just had a play in my sand box DB, with Me.LastUpdated = Now() in the form's On Dirty event, the LastUpdated field gets gets updated as soon as you make a change to any field on the form.
  5. John Big Booty

    populate a combobox after updating a texfield?

    Welcome to the forum What you are trying to do is a variation on the Cascading Combo Box theme. The difference being that you are using a text box rather than a combo to cascade from. The problem I see with this approach is that if your user miss-keys the user name your cascaded combo will be...
  6. John Big Booty

    Based on main form id, subform data should be shown

    Perhaps the tutorial here will help you out.
  7. John Big Booty

    Command buttons for Access 2003

    Sound's as if your option group is unbound. Try binding it to the underlying table.
  8. John Big Booty

    Another Date formatting question YYYMMDD to dd/mm/yyyy

    You should be able to use the DateSerial() function to convert the text to a date and you can then apply the Format (with Dates) function to convert that result to your preferred format. You may also find the discussion here to be of interest.
  9. John Big Booty

    Form Calculations not Entered into Table

    If you bind that field to the date field in the underlying table, and set the Default Value to Now(), any new records will automagically have the date time stored in that field. Be aware however that the Now() function includes the current time in addition to the current date, which can...
  10. John Big Booty

    Form Calculations not Entered into Table

    Storing calculated fields, in all but a small number of special cases is generally considered to be in breach of the rules of Data Normalisation. Generally if you can calculate the value at the time of input you can use the same method to re-calculate that value at any time you need to display...
  11. John Big Booty

    last updated & last viewed

    For last viewed could you not simply use the following in the form's On Current event; Me.LastViewed = Now() and for last Modified the following code in the form's On Dirty event; Me.LastUpdated = Now()
  12. John Big Booty

    A 2010 like date query

    If the students are simply flagged they can be filtered out when the user doesn't want/need to see them.
  13. John Big Booty

    Multiple Message Boxes

    Your code might look something like; Dim LResponse As Integer Dim LResponse2 As Integer LResponse = MsgBox("Would you like to delete this file", vbYesNo, "Continue") If LResponse = vbYes Then LResponse2 = MsgBox("Are you sure? Deletion can not be undone!", vbYesNo, "Confirm") If...
  14. John Big Booty

    A 2010 like date query

    Rather than moving students to a separate file, why not simply flag them as being delinquent?
  15. John Big Booty

    A 2010 like date query

    Good Work :D
  16. John Big Booty

    Query Parameters

    If no one chips in before I get home, I'll have a look when I have access to a newer version of Access.
  17. John Big Booty

    Special table relation - does it have name?

    What you are suggesting sounds to be rather de-normalised, so I would tend to avoid it at all costs.
  18. John Big Booty

    Query Parameters

    Sorry Can't open your DB right now. Are you by chance using Table Level Lookups? If so this is likely what is causing your problem.
  19. John Big Booty

    Form Assistance Needed

    Welcome to the forum. When you are dealing with a sub form you need to get the correct syntax for referencing it. Probably something along the lines of; Forms!Mainform!Subform1.Form!ControlName
  20. John Big Booty

    Command buttons for Access 2003

    One would think so ;)
Back
Top Bottom