Search results

  1. Z

    ConcatRelated() - Error 3059: Operation canceled by user

    Silly me! I added the lines and it's perfect. Thanks. Solved :)
  2. Z

    ConcatRelated() - Error 3059: Operation canceled by user

    Sorry to be a noob. Where do I add these? I don't currently have an error handler for this. It seems like you might've posted something before this post that didn't come through?
  3. Z

    ConcatRelated() - Error 3059: Operation canceled by user

    I tried this If KeyAscii = 27 then KeyAscii = 0 Me.txtSearch.SetFocus KeyAscii = 27 End If Same problem :|
  4. Z

    ConcatRelated() - Error 3059: Operation canceled by user

    What I understood was that I should set vbKeyEscape to 0 in the Form_KeyDown event, or something of the like. But how would that help? Why should I disable the ESC key when I want something to happen when it is pressed (i.e. the focus moves to the searchbox)?
  5. Z

    ConcatRelated() - Error 3059: Operation canceled by user

    Sorry, I don't know what you mean.
  6. Z

    ConcatRelated() - Error 3059: Operation canceled by user

    I don't think it was me that asked about concatenating haha. Anyway, I set the KeyPreview to False before the function and it produces the same error, except this time, the whole form (apart from one record) goes blank when the error message is displayed.
  7. Z

    ConcatRelated() - Error 3059: Operation canceled by user

    I use code that traps it and moves focus to the searchbox.
  8. Z

    ConcatRelated() - Error 3059: Operation canceled by user

    How do I disable the ESC key? What to you mean by 'interrupt key'. Does it interrupt all instances of code when pressed. In that case, shouldn't I have it permanently disabled?
  9. Z

    ConcatRelated() - Error 3059: Operation canceled by user

    It's a continuous form, which displays limited details of individuals. You can click on an individual's record to be directed to another form which displays more details about just that individual. I'm going to simplify. The form is based on a query with the fields, IndividualID and...
  10. Z

    ConcatRelated() - Error 3059: Operation canceled by user

    I'm using Allen Browne's Concatenate Function to concatenate the many phone number records of one person into one field of a record. i.e. John Smith | 02038483956 John Smith | 07593999493 Jim Jones | 07540029938 James Williams | 02079348395 James Williams |...
  11. Z

    Button action on double select

    One thing about the blank database. Was it created in a 32-bit or 64-bit Access? And does it matter? Can a database made in Access 64-bit be distributed to Access 32-bit users? Can a database made in Access 32-bit be distributed to Access 64-bit users?
  12. Z

    Button action on double select

    Will keep that in mind next time.
  13. Z

    Button action on double select

    Thanks! I didn't compile and yes, I have backups, but I've done a lot before the last one.
  14. Z

    Button action on double select

    Thanks for that vbaInet. I think it should work. I implemented it, but before I could test it, the database has become corrupted :banghead: Also, I've eliminated the chances of there being a blank record. I'll need to fix the DB now. If you so happen to use Access 2010, could you be kind to...
  15. Z

    Button action on double select

    Exactly. The arrow key selection is what I meant. If the only solution means having to detect (arrow) key presses, I'd rather not carry on with this feature, as I've heard its unreliable.
  16. Z

    Button action on double select

    Wow, I checked this thread a few times after you posted this, not realising there was a second page. Nevertheless, thanks for your suggestion. I tried the code, but it doesn't account for a record that is already selected, as in, the user must click on the record twice, whether it's already in...
  17. Z

    Button action on double select

    I'm still trying to figure out a way, but I always come back to the same issue; the GotFocus event happens before the Click event. It would be easy if it was the opposite. Dim b as Boolean Private Sub Form_Current() b = False End Sub Private Sub cmdSelectRecord_Click() If b = True...
  18. Z

    Button action on double select

    How to do that is what I've been trying to figure out. How would I check this? Something like: If ButtonOfCurrentSelectedRecord = ButtonOfPreviousSelectedRecord Then ... EDIT: I just understood what you're saying, after I realised the current event happens every time you switch focus to a...
  19. Z

    Button action on double select

    A double click isn't my desired effect. The reason for this is, the user should be able to select a record and see its ID number in the footer. The main reason, however, is that I plan to add another feature after implementing this feature, which depends on it.
  20. Z

    Button action on double select

    I feel I haven't explained it well enough; I tried to simplify it for ease of understanding, but here's the exact scenario: See the attached image. The button is transparent and overlays the width of the individual records, as seen selected on the form (dotted box) Currently, when you click...
Top Bottom