dbTalk Databases Forums  

How to do a lookup?

comp.databases.filemaker comp.databases.filemaker


Discuss How to do a lookup? in the comp.databases.filemaker forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Jon B
 
Posts: n/a

Default How to do a lookup? - 06-24-2005 , 09:02 AM






Trying to work out a lookup, only my heads more tuned into excel than
how to do this in FM (v6), I've got field a) which has all he uk
counties, and field b) which would tell us the region that county is in.
What I would like to happen is the the region field looks up the county
field and returns the right region, I can get this to work for one
county using the 'if' command but if I try to add extra counties and/or
regions it breaks. I've also looked at case but can't get that working.

Thanks in advance
--
Jon B
real email to usenet at jonbradbury dot com

Reply With Quote
  #2  
Old   
Dan
 
Posts: n/a

Default Re: How to do a lookup? - 06-27-2005 , 03:41 PM






Hello Jon,

You must have a file containing the county,region pairs. So the idea behind
the lookup is that you relate field a) to county and then lookup field b)
from the region field of the related record.

Quote:
Trying to work out a lookup, only my heads more tuned into excel than
how to do this in FM (v6), I've got field a) which has all he uk
counties, and field b) which would tell us the region that county is
in. What I would like to happen is the the region field looks up the
county field and returns the right region, I can get this to work for
one county using the 'if' command but if I try to add extra counties
and/or regions it breaks. I've also looked at case but can't get that
working.

Thanks in advance





Reply With Quote
  #3  
Old   
Jon B
 
Posts: n/a

Default Re: How to do a lookup? - 07-21-2005 , 01:15 PM



Dan <dan (AT) owlsnet (DOT) co.uk> wrote:

Quote:
Hello Jon,

You must have a file containing the county,region pairs. So the idea behind
the lookup is that you relate field a) to county and then lookup field b)
from the region field of the related record.

Thanks for the pointer, finally got round to sorting it out as had
various other jobs to sort out first.

Quote:
Trying to work out a lookup, only my heads more tuned into excel than
how to do this in FM (v6), I've got field a) which has all he uk
counties, and field b) which would tell us the region that county is
in. What I would like to happen is the the region field looks up the
county field and returns the right region, I can get this to work for
one county using the 'if' command but if I try to add extra counties
and/or regions it breaks. I've also looked at case but can't get that
working.

Thanks in advance


--
Jon B
real email to usenet at jonbradbury dot com


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.