Re: Checking if textbox values have been cleared or replaced, or updated



not sure what your goal is. do you want to allow users to add new notes, but
prevent any existing notes from being deleted? or do you want to allow users
to delete existing notes?


<ILCSP@xxxxxxxxxxx> wrote in message
news:1132614385.295690.279270@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> Hello, I have this textbox in a Access 2000 form, which is a memo type
> where we keep our notes for a record. Whenever there's new notes to
> add, they're piggied back to the existing notes. (new notes are
> entered at the end of the last notes).
>
> Lately, some of the existing notes have been deleted and I would like
> to know if I could check if the notes have been cleared or replaced
> with new ones before updating the record. I'm thinking of having 2
> boxes, BoxA and BoxB. Both would start the same when the record's
> loaded. However, BoxA would be visible and that's where the users would
> make changes. BoxB would be invisible and for checking purposes only.
>
> First, whenever a record needs to be updated, I would like to check if
> the notes have been deleted altogether. That's easy to do:
> if not isnull(BoxB) and is null(BoxA) then sound the alarm.
>
> The problem would arise when someone clears the notes and puts new
> ones. Then, both boxes are not null. Is there a way to check if the
> value from boxB still exists in BoxA at the beggining of the BoxA's
> value?
>
> This should work like this. If someone add new notes to the existing
> notes, then the BoxB value would be equal to the value of BoxA plus any
> new notes. If they're not, I'd offer the user the chance to reset the
> record, or let them go ahead with these changes if they really need to.
>
> If anybody has comments on how to do this, please let me know.
>
> A million thanks beforehand.
>


.



Relevant Pages

  • X11 forwarding in OpenSSH question
    ... BoxA and BoxB. ... BoxA runs X server and BoxB runs sshd ... libGL error: failed to open DRM: Operation not permitted ...
    (comp.security.ssh)
  • Re: missing vim highlight
    ... have no effect on boxB. ... A surprising difference is that boxA has a .viminfo, ... boxes are identical, as I just reconfirmed. ... Run alias on both boxes: I bet you'll find root on boxB is running "vi", ...
    (Fedora)
  • Re: X11 forwarding in OpenSSH question
    ... I don't neet to set DISPLAY variable to hostA:0.0. ... BoxA runs X server and BoxB runs sshd ... > that md5sum cookies do not work in the first ssh case. ...
    (comp.security.ssh)
  • RE: missing vim highlight
    ... Using vim, on boxA, if for example, I use the slash ... On boxB, there is no highlight ...
    (Fedora)
  • RE: missing vim highlight
    ... Using vim, on boxA, if for example, I use the slash ... On boxB, there is no highlight ... rpm -qaV vim\* ...
    (Fedora)