dbTalk Databases Forums  

Show in portal only todays jobs

comp.databases.filemaker comp.databases.filemaker


Discuss Show in portal only todays jobs in the comp.databases.filemaker forum.



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

Default Show in portal only todays jobs - 11-19-2006 , 06:26 PM






FMP 8.5 Windows XP

I am trying to show the records for each inspector to show only todays jobs
I have worked out how to show only the reocrds related to one inspector but
not sure how to only show up the days records...

thanks for any help :0)
t



Reply With Quote
  #2  
Old   
Remi-Noel Menegaux
 
Posts: n/a

Default Re: Show in portal only todays jobs - 11-19-2006 , 11:50 PM






You may make the matching link in the relationship between the 'Inspectors'
table and the 'Jobs' table a little more complex. I suppose it is presently
the 'InspectorID' in both tables. Make a new field called 'ToDay' in the
'Inspectors' table, and add the new matching line from 'ToDayJob' to
'JobDate' (which exists in the 'Jobs' table). Now your new link will have
two lines which will look like :
on the 'Inspectors' table side :
InspectorID
ToDay
and on 'Jobs' table side :
InspectorID
JobDate
The portal in the 'Inspectors' record layout will the be based on this new
link and will show only the 'today'' jobs for that Inspector. Don't forget
to make the fields appearing in that portal based also on that new link.
To make it easier to the user, you may make the 'ToDay' field as 'Global',
and make it filled automatically by the opening script - which is to be run
when opening the base every morning - which has one line :
Set Field (Inspectors::ToDay; Get(CurrentDate))
and show the 'ToDay' field in the Inspector record layout, so it can be
modified by hand if ever one wants to see the jobs performed on another date
that today. The portal will show the jobs of that new 'ToDay' date. Make
also near by a button acting the opening script to refresh the 'ToDay' date
to today.
Remi-Noel


"TM" <toni (AT) dataspecifics (DOT) com.au> a écrit dans le message de news:
4560f626$0$11974$afc38c87 (AT) news (DOT) optusnet.com.au...
Quote:
FMP 8.5 Windows XP

I am trying to show the records for each inspector to show only todays
jobs
I have worked out how to show only the reocrds related to one inspector
but not sure how to only show up the days records...

thanks for any help :0)
t




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.