Bookmarks

Yahoo Gmail Google Facebook Delicious Twitter Reddit Stumpleupon Myspace Digg

Search queries

perfmon tcp connections, WwWXxX, udp high ports, d-link extract firmware dsl-2750u, wwwwxxxxx.2G, yxxxcom, WWWXXX, ftp://192.168.100.100, wwwxxx 100, www.xxxcon

Links

XODOX
Impressum

#1: FMP8.5 Hiding an object

Posted on 2008-04-23 08:15:07 by John Couani

Hi
I am working on a database in v8.5.
There is one section of the layout that the client would like to be
invisible or covered if there is no data entered in the field in this
section.
It doesn't need to move up, just create an "empty" space.

I thought there'd be something like
if x field is empty
set this object to no visible

Scouring the Internet, I found something I thought should also work -
Make a one-cell portal with a one row entry which, once the condition of the
relationship is met, would allow the piece of white box in the portal cell
to appear and so cover the required section below.

I have that set up and ready to go but something is just not working. Either
the object doesn't disappear completely [it's fields and boxes and the boxes
remain], or nothing happens, or something I can't work out what's happened!

Frustrating.

So, does anyone have any solution for this? Even a suggestion would be good

Thanx in Advance
JC

Report this message

#2: Re: FMP8.5 Hiding an object

Posted on 2008-04-23 09:07:20 by E W P Appeldoorn

"John Couani" <mr.acme@gmail.com> schreef in bericht
news:C435110B.25396%mr.acme@gmail.com...
> Hi
> I am working on a database in v8.5.
> There is one section of the layout that the client would like to be
> invisible or covered if there is no data entered in the field in this
> section.
> It doesn't need to move up, just create an "empty" space.
>
> I thought there'd be something like
> if x field is empty
> set this object to no visible
>
> Scouring the Internet, I found something I thought should also work -
> Make a one-cell portal with a one row entry which, once the condition of
> the
> relationship is met, would allow the piece of white box in the portal cell
> to appear and so cover the required section below.
>
> I have that set up and ready to go but something is just not working.
> Either
> the object doesn't disappear completely [it's fields and boxes and the
> boxes
> remain], or nothing happens, or something I can't work out what's
> happened!
>
> Frustrating.
>
> So, does anyone have any solution for this? Even a suggestion would be
> good
>
> Thanx in Advance
> JC
>

The visibilty trick with a portal normally works.Without further information
it is impossible to say what has gone wrong.

Make sure all objects are within the boundaries of the portal. They should
NOT touch the borders of the portal.
When nothing happens probably you have some error in the relationship. Your
setup should be something like this.
Make shure you have placed the correct fields inside the portal. The fields
should belong to the tableoccurrance (TO) of the portal and not to the TO of
the layout.

MainTable
Checkfied (either text or number. With two values, preferably 0 and 1, but
if needed any two values will do.
gOne ( global number field holding a 1 )
cControl (Calculation, number, if checkfield is empty ( or 0, or turned off)
value is 0, otherwise it is 1 )
Create a new TO for MainTable, give it a name (I choose Hide for nmow)
relationship MainTable::gOne Hide::Control
place portal on MainTable layout
Place objects inside it and fields from Hide TO

Should work. Keep well, Ursus

Report this message

#3: Re: FMP8.5 Hiding an object

Posted on 2008-04-23 09:24:41 by Helpful Harry

In article <C435110B.25396%mr.acme@gmail.com>, John Couani
<mr.acme@gmail.com> wrote:

> Hi
> I am working on a database in v8.5.
> There is one section of the layout that the client would like to be
> invisible or covered if there is no data entered in the field in this
> section.
> It doesn't need to move up, just create an "empty" space.
>
> I thought there'd be something like
> if x field is empty
> set this object to no visible
>
> Scouring the Internet, I found something I thought should also work -
> Make a one-cell portal with a one row entry which, once the condition of the
> relationship is met, would allow the piece of white box in the portal cell
> to appear and so cover the required section below.
>
> I have that set up and ready to go but something is just not working. Either
> the object doesn't disappear completely [it's fields and boxes and the boxes
> remain], or nothing happens, or something I can't work out what's happened!
>
> Frustrating.
>
> So, does anyone have any solution for this? Even a suggestion would be good

You can use a Portal to display / hide a white box over fields to hide
them.

Instead you have to work the other way around - using the Portal to
display / hide the fields themselves when needed.

Having said that, it's usually better to simply use two Layouts - one
with the fields and one without, and then use a script / button to swap
between the two Layouts.

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

Report this message