Search results

  1. D

    Moving Backend - Need to change data in multiple tables

    That was it!! Thank you so much. And Vlad, thanks for the local settings suggestion - something I should have done from the start.
  2. D

    Moving Backend - Need to change data in multiple tables

    I put the code in an onclick event for a new button but am getting a compile error, Expected end of statement. Any idea what I'm doing wrong? With CurrentDb .Execute "UPDATE tblAttachments SET tblAttachments.AttachmentFilePath =...
  3. D

    Moving Backend - Need to change data in multiple tables

    You mean I would have to save all of the updates queries separately (ie Query1, Query2, Query3, Query4...). Then create a button somewhere and on click event something like this CurrentDb.Execute "Query1" CurrentDb.Execute "Query2" Please tell me there is another way of doing this...
  4. D

    Moving Backend - Need to change data in multiple tables

    Well I found a clever way of doing this with an update query and using "Replace". Seems to work, but now am trying to run several of these queries in one statement. Can't find a way to do it. These work on their own update queries UPDATE tblAttachments SET tblAttachments.AttachmentFilePath...
  5. D

    Moving Backend - Need to change data in multiple tables

    Hello, I have a split database and am preparing to relocate the backend to a different computer. Problem is that there is a lot of data in fields that are used as link fields that point to a specific location where the backend used to be. For instance, there are data fields that will have...
  6. D

    Matching Button Labels with Open Form

    I looked into that thread, but it seems to be more geared toward Windows and not specifically to Access. And way too much work to adapt it for my purpose. I've got my app working now by changing the on focus event to on activate and deactivate events. Seems to do what I want it do about 95%...
  7. D

    Matching Button Labels with Open Form

    Thanks MajP. I used your code and it does seem to work. But as you said, probably too much buck for the bang. Especially since this was just a small sample of what I'm trying to do in my database which has a lot more buttons with a lot more forms and users can enter into some of the top forms...
  8. D

    Matching Button Labels with Open Form

    There is no way to know which form was just below the form the user closed. Need to find a way to know which is the TOP MOST form being displayed to set focus on that form.
  9. D

    Matching Button Labels with Open Form

    I am trying to have a "Ribbon" type switchboard form (frm0) that will stay open all the time until the user closes the database. This form has buttons (Actually Labels acting as buttons) to open other forms. I'm trying to get the buttons on the switchboard to change color to match the form...
  10. D

    Daylight Savings Time (DST) in Southern Hemisphere

    IsDST is used to set DST for countries in Northern Hemisphere, and IsDST2 is used to set DST in Southern Hemisphere. The problem I'm having right now is trying to loop a calculated event through the continuous form. I can create a "GotFocus" event on the DSTEND field so that the DST can be...
  11. D

    Daylight Savings Time (DST) in Southern Hemisphere

    I think I may have figured it out. As you pointed out, it depends on the range. I modified the code to for the 2nd range. Now I just have to figure out how to fire the AfterUpdate event from a command button on the form so that I don't have to manually select each record individually in order...
  12. D

    Daylight Savings Time (DST) in Southern Hemisphere

    I've changed them to date fields, but it didn't make a difference. The problem is the calculation needs to go the other way for countries in the Southern Hemisphere. But Can't figure out how to do it...
  13. D

    Daylight Savings Time (DST) in Southern Hemisphere

    I am having a little difficulty getting my DST form to work for countries in the Southern Hemisphere. The complete thread originated here: https://access-programmers.co.uk/forums/showthread.php?t=215603 I've attached a sample database that shows the issue. Basically, enter the Start and End...
  14. D

    How can the seconds be removed from a new record timestamp

    WOW - this actually works!! Fantastic. Thank you so much. It's exactly what I was looking for. For Mark - the reason I didn't want to see the seconds is only for the screen space and aesthetics. I need to make the box a little wider to accommodate for the seconds when editing the field...
  15. D

    How can the seconds be removed from a new record timestamp

    OK - so are you saying that there is no way, or even a workaround, to get the time field to not show the seconds when editing?
  16. D

    How can the seconds be removed from a new record timestamp

    I have a continuous form which has a current time stamp when creating a new record by setting the default value of a textbox field to Time(). The field is a Medium Time field and displays properly when the record is created. But if the user clicks the field to edit it, the Medium Time changes...
  17. D

    Long memo text greater than 2000 characters won't update

    Hi June, I put the sample database using a form/subform which is the way my database was set up and having the problem. So you can't use "frmNotesSumnary" because it's missing the contactid field and would only produce an empty record when you come back from the single form. In order to get...
  18. D

    Long memo text greater than 2000 characters won't update

    I forgot to mention in the instructions in the first note that to get the error, you have to double click the long record you want to edit. I've added the lines in your post above. Created new record of approx 2700 characters Moved to a different record to save it. *** Double click the...
  19. D

    Long memo text greater than 2000 characters won't update

    I'm not sure what this means. How can I tell which way I'm using to update the field. Basically, I have a form with a note field. I can update the field directly in that form and will never have a problem. But I want to give the user more space, so I double click the note field and use this...
  20. D

    Long memo text greater than 2000 characters won't update

    I have a split 2010 database that am having a problem updating a memo field when there is more than 2032 characters in the field. If I try to edit the field, I get an error message, "Could not update; currently locked by another session on this machine." The probem I am having is explained...
Back
Top Bottom