dbTalk Databases Forums  

Cannot search in related value lists

comp.databases.filemaker comp.databases.filemaker


Discuss Cannot search in related value lists in the comp.databases.filemaker forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Thomas Hansen
 
Posts: n/a

Default Cannot search in related value lists - 12-19-2005 , 05:38 AM






I have a couple of value lists defined to use values from fields in
another table, and it seems that causes problems when I want to do a
search using those value lists. There's no problem if the value list is
set to use all the values from the other table, but when I only want to
use the fields that are related to my main table, I get "no values
defined" in search mode. Any way to avoid this? Or do I have to
"hardcode" these value lists in stead?

--
Thomas Hansen : th(at)ambolt.no : http://www.ambolt.no/

Reply With Quote
  #2  
Old   
Helpful Harry
 
Posts: n/a

Default Re: Cannot search in related value lists - 12-20-2005 , 01:52 PM






In article <violon-0ABBDF.12380819122005 (AT) sunsite (DOT) dk>, Thomas Hansen
<violon (AT) online (DOT) no> wrote:

Quote:
I have a couple of value lists defined to use values from fields in
another table, and it seems that causes problems when I want to do a
search using those value lists. There's no problem if the value list is
set to use all the values from the other table, but when I only want to
use the fields that are related to my main table, I get "no values
defined" in search mode. Any way to avoid this? Or do I have to
"hardcode" these value lists in stead?
Relationships only work when there is key data in the parent record to
match to related records. During Find mode there is no parent record
key data, so there is no valid relationship and therefore no related
records.

One way around this is to simply have a separate layout for processing
finds. The field can then use a separate value list that simply lists
ALL possible values from the field other file / table. Of course this
is very painful if there are hundreds of possible options.

The other way is for you to use Global fields into which users type the
necessary Find data, then when they click a "Process Find" button a
script transfers the Global data to proper Find requests and processes
the Find. You'll need to have a separate copy of relationship set-up to
match the Global field instead of the record field toget the value
list.

Helpful Harry
Hopefully helping harassed humans happily handle handiwork hardships ;o)


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.