Normal Topic Search only mode? (Read 745 times)
Cliff
Full Member
***
Offline



Posts: 126
Location: New Hampshire
Joined: May 5th, 2006
Search only mode?
Mar 27th, 2008 at 1:11pm
Print Post Print Post  
Is there a way to set a form so that it opens in a search only mode...a mode that does not also allow updates to occur?
Thank you...
Cliff
  
Back to top
 
IP Logged
 
Hammer
YaBB Administrator
Lanticans
*****
Offline


Fire bad. Tree pretty.

Posts: 3436
Location: Ohio
Joined: Nov 22nd, 2002
Re: Search only mode?
Reply #1 - Mar 27th, 2008 at 1:19pm
Print Post Print Post  
You can make all the elements on the form read-only.
  

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


Ever ready to learn and
share

Posts: 1202
Location: Chicago,  Illinois
Joined: Dec 16th, 2003
Re: Search only mode?
Reply #2 - Mar 27th, 2008 at 3:15pm
Print Post Print Post  
I am just wondering, what is the purpose of such form? One that comes to my mind is MENU System that consists of command buttons and probably other one to gather data and use it somewhere.  For the second one, one can use FormAsDialog( ) which does not make any new record. Please enlighten me as to what other purpose could it be used?
  
Back to top
 
IP Logged
 
Bharat_Naik
Senior Member
Members
*****
Offline


Ever ready to learn and
share

Posts: 1202
Location: Chicago,  Illinois
Joined: Dec 16th, 2003
Re: Search only mode?
Reply #3 - Mar 27th, 2008 at 5:51pm
Print Post Print Post  
Oh, I can see... now.  Cliff does not want to allow anybody to add records or change records. Duh!
  
Back to top
 
IP Logged
 
Cliff
Full Member
***
Offline



Posts: 126
Location: New Hampshire
Joined: May 5th, 2006
Re: Search only mode?
Reply #4 - Apr 1st, 2008 at 4:58pm
Print Post Print Post  
Sorry for the delay...actually we want to be able to add and change records in the form but also have the means where general users can peruse the data in the form without risk of modification to any of the records in the form...

If we make all the elements in the form read only then we won't be able to add data I am thinking...

Thanks again...

Cliff
  
Back to top
 
IP Logged
 
Ray the Reaper
Global Moderator
Members
Lantica Support
*****
Offline


The One & The Only

Posts: 2482
Joined: Aug 20th, 2003
Re: Search only mode?
Reply #5 - Apr 1st, 2008 at 6:13pm
Print Post Print Post  
You can make it so that the form is only made Read-Only in Update mode, which would allow you to add new records. That would be done in programming.

Or you could create a copy of your form in the same database and make it all read-only and use one for adding/changing and one just for looking. But you'd have to make changes to both whenever you made changes to one. I would not recommend this way.

-Ray
  

Raymond Yoxall Consulting
ray.yoxall@gmail.com
ryoxall@lantica.com
Sesame Applications, Design and Support
Back to top
IP Logged