Normal Topic Visibility and "Retrieve Spec Open" (Read 740 times)
Steve_in_Texas
Senior Member
*****
Offline


No personal text

Posts: 893
Location: San Antonio
Joined: Feb 21st, 2004
Visibility and "Retrieve Spec Open"
Aug 9th, 2004 at 6:21pm
Print Post Print Post  
I have a command button named 'browse' and put the program 'visibility(browse, 1)' in my formname::Retreive spec open and gave it a default value of Visible:False in the Command Panel. However it does not "become invisible" when a form is retrieved.

Also, I have an image box named "thumbnail" and used the program ' visibility(thumbnail, 0) also in FornName::Retrive spec open and set the default value to visible:True. It is hidden in Retrive mode (good), but stays hidden when a record is found.

Seems like something doesn't work right, or the Retrieve spec programming is not 'expiring' when the mode changes to 'update'.

Any thoughts?
Steve


I have a button named "Browse" and an image box named "Thumbnail".

The browse button
  
Back to top
IP Logged
 
Hammer
YaBB Administrator
Lanticans
*****
Offline


Fire bad. Tree pretty.

Posts: 3436
Location: Ohio
Joined: Nov 22nd, 2002
Re: Visibility and "Retrieve Spec Open"
Reply #1 - Aug 9th, 2004 at 6:27pm
Print Post Print Post  
The Visibility setting is retained until the Form is closed. You need to set Visibility again in OnFormEntry to have a different setting than appears on the Retrieve Spec.
  

- Hammer
The plural of anecdote is not data.
Back to top
IP Logged
 
Steve_in_Texas
Senior Member
*****
Offline


No personal text

Posts: 893
Location: San Antonio
Joined: Feb 21st, 2004
Re: Visibility and "Retrieve Spec Open"
Reply #2 - Aug 9th, 2004 at 6:33pm
Print Post Print Post  
OH. Thanks for the easy fix.

Steve
  
Back to top
IP Logged
 
Steve_in_Texas
Senior Member
*****
Offline


No personal text

Posts: 893
Location: San Antonio
Joined: Feb 21st, 2004
Re: Visibility and "Retrieve Spec Open"
Reply #3 - Aug 9th, 2004 at 6:56pm
Print Post Print Post  
Retrieve Spec Open event is very helpful!

This will really cut down on trashed records that users create when they 'update' a record because they think they are in Search mode. The visual confirmation of a Search button on the screen ONLY in Retrieve mode (Hidden in Update mode) is just dandy!

Thanks,
Steve

  
Back to top
IP Logged