Search results

  1. J

    Lock Form Detail with Button

    Hello, Is there any way I could lock all the items in my form detail with the click of a button? Or would each text box / combo need to be done individually?
  2. J

    msgbox code problems

    Got it! If MsgBox("Do you want to save the changes?", vbYesNo, "Confirm Save") = vbNo Then Me.Undo ElseIf Me.Dirty Then Me.Dirty = False End If Thanks for your help.
  3. J

    msgbox code problems

    It now looks like this: Private Sub Command55_Click() MsgBox "Do you want to save the changes?", vbYesNoCancel + vbQuestion + vbDefaultButton1, "Confirm Save" If vbNo Then Me.Undo End If If vbYes Then If Me.Dirty Then Me.Dirty = False End...
  4. J

    msgbox code problems

    Thanks - where would I put it in my code to save the record and lock all text boxes?
  5. J

    msgbox code problems

    I have got a form to change information on a table. There is a button to unlock all text boxes and another button to save the changes. When I click the save button I want it to show a vbYesNoCancel message box, then, if no is clicked, me.undo and lock all text boxes, if yes is clicked, save and...
  6. J

    Fill field in seperate table on a form

    I've got a form that is based on a query to look up information but there is 1 combo box that I want to update a field in the original table. I there any way to do this?
  7. J

    Access automatically creates tables

    Thanks! I knew it must be something simple!
  8. J

    Access automatically creates tables

    Whenever I create a new blank database it creates all the tables as per the attached document. Why does it do this??
  9. J

    Gantt Chart

    Hello, Is it possible to create a gantt chart in Access? Any ideas would be good!
  10. J

    Delete current record in form

    Thanks, There were some fields that werent enabled - it now doesnt show the error but doesnt delete the record. Allow deletions is set to yes, and I do have permissions - how do I check the query?
  11. J

    Delete current record in form

    Hello, I am trying to add a delete button to a form to delete the current record but it always says the command deleterecord isnt available now. Any ideas? My code is as follows- Private Sub command11_Click() Dim Answer As Integer Answer = MsgBox("Are you sure you wish to delete this...
  12. J

    Write current record to PDF

    Hello, I've got a button on my form to write the current record to a PDF - only trouble is it writes all the records not just the current one... Can anyone help?
  13. J

    how delete current record

    I have tried this on my form but it always comes up with the message "The command or action 'DeleteRecord' isn't available now" - Any ideas?
  14. J

    Search form

    Hello, I am needing to create a search form to search a table in a database. It needs to search for either Order number, supplier, product code or all or some of these and then display the results below. A simple question but I can't get it to work. Thanks!
  15. J

    Write record only when you click save

    Thanks, How can I set the form so that users can't navigate away from the current record? Could you also give me an example of the unload code - I haven't done much code...
  16. J

    Write record only when you click save

    Thanks, How would you create that save procedure?
  17. J

    Write record only when you click save

    Hello, I have got a form for entering purchase orders, but I only want it to save the record if you click a save button. It would also be good to have a cancel button and, when closing the form if it isn't saved, a prompt to save or cancel the record. I have seen a couple of posts about...
  18. J

    Set default value to combo box

    All sorted - that text box wasn't bound yet...:o
  19. J

    Set default value to combo box

    Brilliant! Only thing is I can't edit the value that is returned to the text box - it just says it isn't valid for the field... Thanks for your help
  20. J

    Set default value to combo box

    I have got a combo box which I type a product code into and then text boxes which display the spec of that product. Is there any way I can set the default value of the text boxes to be a column in the combo box (eg [combo40].[column](1) ). I want to do this so it pulls brings up the default...
Back
Top Bottom