Ask a Question related to Microsoft Access, Design and Development.

  1. #1

    Default find/replace

    when a user searched for a value with find/replace from a form he got the
    message the value could not be found
    but when I looked for it in the table it was there
    can it be that a value is searched only inside the subform's data and not in
    the entire dataset ?

    thnx


    chriske911 Guest

  2. Similar Questions and Discussions

    1. Multiple Find and Replace
      I have a set of 8 Find and Replace Settings in DW that I need to perform on one file all the time. I don't know of any way to get them all to run...
    2. Need help with Find & Replace
      Hiya. I've tried everything I know to find and replace text in 400+ documents and now need some help with it. This is the existing source code: ...
    3. find and replace options
      Hello all. I'm new to Contribute and would like to do a sitewide find and replace but can't figure out how to do this. Is it even possible in...
    4. find/replace question
      I have a page with endnotes. I want to put a tab after each endnote. (which is superscripted) Such as 1 tab 2 tab 3 tab etc. I can do it in Word...
    5. find and replace everything between 2 tags
      Hello aronk, Backup the files first. Then set up Find and Replace to Find (there shouldn't be any line breaks): (<!DOCTYPE HTML PUBLIC...
  3. #2

    Default Re: find/replace

    On Sun, 13 Jul 2003 22:35:59 +0200, "chriske911" <chriske(only.for_
    spammers)911@yahoo.com> wrote:
    >can it be that a value is searched only inside the subform's data and not in
    >the entire dataset ?
    Yes, that is exactly correct. That's how subforms work.

    John W. Vinson[MVP]
    Come for live chats every Tuesday and Thursday
    [url]http://go.compuserve.com/msdevapps?loc=us&access=public[/url]
    John Vinson Guest

  4. #3

    Default Re: find/replace

    On Mon, 14 Jul 2003 20:55:48 +0200, "chriske911" <chriske(only.for_
    spammers)911@yahoo.com> wrote:
    >I was already affraid of this thus the obvious question would be how to
    >circumvent this ?
    Well, what does it MEAN to search in a Subform? A subform shows the
    records associated with the currently selected record on the mainform.
    Would you want to find a record in the Subform's recordsource and have
    the mainform switch to a record associated with the found record? What
    if it's a many to many situation and there are dozens of mainform
    records all associated with the found record - which do you want to
    see? Would you want the found record to create a new record associated
    with the currently selected mainform record, or to lose its current
    association and become assoicated with the current mainform record
    instead?

    Just in terms of logic, it's not at all obvious what "searching a
    subform" SHOULD do, and it may well vary from application to
    application!

    John W. Vinson[MVP]
    Come for live chats every Tuesday and Thursday
    [url]http://go.compuserve.com/msdevapps?loc=us&access=public[/url]
    John Vinson Guest

  5. #4

    Default Re: find/replace

    I'd like to go to the first record wich holds this value and go on to the
    next as needed
    something like searching a value in a textfile

    the main form is a container for several similar objects and indeed it's a
    possibility for one value to appear several times in the entire table but
    only once for one container

    it'll propably come down to a filtering so only the containers appear
    wherein this value is found

    thnx
    "John Vinson" <jvinson@STOP_SPAM.WysardOfInfo.com> wrote in message
    news:to76hvg3702fv17due2k0rds3qilhh027c@4ax.com...
    > On Mon, 14 Jul 2003 20:55:48 +0200, "chriske911" <chriske(only.for_
    > spammers)911@yahoo.com> wrote:
    >
    > >I was already affraid of this thus the obvious question would be how to
    > >circumvent this ?
    >
    > Well, what does it MEAN to search in a Subform? A subform shows the
    > records associated with the currently selected record on the mainform.
    > Would you want to find a record in the Subform's recordsource and have
    > the mainform switch to a record associated with the found record? What
    > if it's a many to many situation and there are dozens of mainform
    > records all associated with the found record - which do you want to
    > see? Would you want the found record to create a new record associated
    > with the currently selected mainform record, or to lose its current
    > association and become assoicated with the current mainform record
    > instead?
    >
    > Just in terms of logic, it's not at all obvious what "searching a
    > subform" SHOULD do, and it may well vary from application to
    > application!
    >
    > John W. Vinson[MVP]
    > Come for live chats every Tuesday and Thursday
    > [url]http://go.compuserve.com/msdevapps?loc=us&access=public[/url]

    chriske911 Guest

  6. #5

    Default Re: find/replace

    On Tue, 15 Jul 2003 18:20:23 +0200, "chriske911" <chriske(only.for_
    spammers)911@yahoo.com> wrote:
    >I'd like to go to the first record wich holds this value and go on to the
    >next as needed
    >something like searching a value in a textfile
    >
    >the main form is a container for several similar objects and indeed it's a
    >possibility for one value to appear several times in the entire table but
    >only once for one container
    >
    >it'll propably come down to a filtering so only the containers appear
    >wherein this value is found
    You'ld need a bit of VBA code using a Query linking the main form's
    recordsource table to the subform's recordsource. The code would open
    this query as a Recordset, use FindFirst to find the value in the
    subtable field, and set the parent form to the first record with the
    ID. The code would depend on the structure of your tables and forms,
    so I hesitate a bit to post it here!


    John W. Vinson[MVP]
    Come for live chats every Tuesday and Thursday
    [url]http://go.compuserve.com/msdevapps?loc=us&access=public[/url]
    John Vinson Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139