Search results

  1. LarryE

    Save button on bounded Form

    I wouldn't combat it at all. I would construct my tables and relationships between them so I would not have to. I think we need to look at your overall design before anything else. That will tell the story. Can you post a screenshot of your Relationship window so we can see what the foundation...
  2. LarryE

    Save button on bounded Form

    Do yourself a huge favor and just let ACCESS do its job as designed. You are making it much more complicated and as a beginner, you don't need to do that. In fact, no one does. Just: Bind the form with a query. Don't use the table directly. Get rid of that stupid Save button. You don't need it...
  3. LarryE

    Subtract integer from time duration

    Not with DateDiff. ACCESS reads the EventBeginDate & " " & EventBeginTime as a General Date which includes both date and time components. It's the only way I know to calculate hours between different dates and times when the dates span more than 1 day. I used Short Dates and Medium Times. ACCESS...
  4. LarryE

    Subtract integer from time duration

    Suppose you have an event venue. Each event has a Beginning Date, a Beginning Time, an Ending Date and Ending Time. I have had success with the following formula used in a textbox to calculate the hours between dates and times: =DateDiff("n",EventBeginDate & " " & EventBeginTime,EventEndDate & "...
  5. LarryE

    Solved combo with 2 control sources

    It seems more logical to have: Each tblAccount may have multiple tblCategory (Account Categories) Each tblCategory may have multiple tblTransactions Each tblTransactions may have multiple tblCheckCat (Check Categories to split transactions) So: tblAccount linked to tblCategory tblCategory...
  6. LarryE

    basic ticketing system design - suggestions welcome

    I know and saw it, but from a different OP.
  7. LarryE

    basic ticketing system design - suggestions welcome

    @martinr Did you get the answers you needed? Do you require additional help?
  8. LarryE

    basic ticketing system design - suggestions welcome

    Does the theatre host different types of events (music, plays, lectures, movies etc.) or just one type? If yes, you will need an Event Type table. Can each event happen only once or on different dates? If yes, you will need an Event Date table. Can you host two separate events on the same day at...
  9. LarryE

    Solved What causes a sub form being locked?

    Yes I understand. The whole thing here defies logic as Pat pointed out earlier. That said, I did some more experimenting and found that the OP's parent forms Data Entry property was set to Yes. With Data Entry set to Yes, you could not even scroll through the Parent form Record Source. I had no...
  10. LarryE

    Solved What causes a sub form being locked?

    For the third and final time. Delete the parent forms BeforeUpdate event and you can select all the records you want in the sub-form.
  11. LarryE

    Solved What causes a sub form being locked?

    As I said in Post #14, just remove the Cancel=True in the forms BeforeUpdate event and it will work. That line prevented you from selecting records in the sub-form.
  12. LarryE

    Solved What causes a sub form being locked?

    I found the problem. You have Cancel=True in your FrmOrders BeforeUpdate event. Just delete the BeforeUpdate event and it will work. Private Sub Form_BeforeUpdate(Cancel As Integer) Cancel = True End Sub
  13. LarryE

    Solved What causes a sub form being locked?

    Open the sub-forms record source to see if it is editable. Whether or not the Master/Child fields are present and active should not make a difference. You can have sub-forms without Master/Child links and still be a sub-form and still be editable.
  14. LarryE

    Unbound combo box is clear after making selection

    Try changing the bound column to 3rd column with a 0" length. Just showing the first 2 columns in the dropdown.
  15. LarryE

    Unbound combo box is clear after making selection

    Check the combo box properties settings. The first column may be a 0" length (as in the example above). If the combo box works as intended, then it is not really blank, the bound column is just not visible. In the example above, the first column is not visible but the second and third are, so...
  16. LarryE

    Disallowing Edits Not Working

    So every single entry in every single record is checked for accuracy. And if someone enters a 5 instead of a 6 then the error is caught. Why not just let the original entry user correct their own entry mistakes as they work? They are the ones who know what the data entry should be from the...
  17. LarryE

    Disallowing Edits Not Working

    What happens if a user enters and saves wrong information into your tables? Do you just let it go forever with no way of correcting it? I am a little surprised no one has told you this is a really really bad idea. That said, you might need to open the form in design mode first, then change the...
  18. LarryE

    Forms always maximised.. Why?

    Set the Pop Up property to Yes on the forms property sheet
  19. LarryE

    hello ... dear how can i delete data of column from subform when i open form ?

    Learn how to use an Update Action query and set the values to Null or 0 or whatever you want.
  20. LarryE

    Opening a Report does not make it the current screen

    It's annoying. I have to close the form when the report opens and then re-open the form when the report closes. I use the reports On Close event to re-open the form.
Top Bottom