PC Review


Reply
Thread Tools Rate Thread

DBR form set to Read Only..?

 
 
Frank Smith
Guest
Posts: n/a
 
      25th Jan 2006
I have a DB Update form that works fine.
The fields in the form have a format of <%=FP_FieldVal(fp_rs,"phone")%>

Is there a parameter that I can add that will set this field to Read Only?
I want the Users to be able to see the field but not Edit it.


 
Reply With Quote
 
 
 
 
Kathleen Anderson [MVP - FrontPage]
Guest
Posts: n/a
 
      25th Jan 2006
Try adding "readonly" to the input tag.

--
~ Kathleen Anderson
Microsoft MVP - FrontPage
Spider Web Woman Designs
web: http://www.spiderwebwoman.com/resources/


"Frank Smith" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>I have a DB Update form that works fine.
> The fields in the form have a format of <%=FP_FieldVal(fp_rs,"phone")%>
>
> Is there a parameter that I can add that will set this field to Read Only?
> I want the Users to be able to see the field but not Edit it.
>
>



 
Reply With Quote
 
Frank Smith
Guest
Posts: n/a
 
      25th Jan 2006
Ok, but I cannot seem to find any documentation on where.
The code line looks like

<input name="phone" size="50" value="<%=FP_FieldVal(fp_rs,"phone")%>"
style="float: left"></font></td>

Where does the "readonly" go?

Kathleen Anderson [MVP - FrontPage] wrote:
> Try adding "readonly" to the input tag.
>

 
Reply With Quote
 
Trevor L.
Guest
Posts: n/a
 
      25th Jan 2006
Frank Smith wrote:
> Ok, but I cannot seem to find any documentation on where.
> The code line looks like
>
> <input name="phone" size="50" value="<%=FP_FieldVal(fp_rs,"phone")%>"
> style="float: left"></font></td>
>
> Where does the "readonly" go?
>
> Kathleen Anderson [MVP - FrontPage] wrote:
>> Try adding "readonly" to the input tag.


Not an MVP, but I can answer that one

<input name="phone" size="50" value="<%=FP_FieldVal(fp_rs,"phone")%>"
style="float: left" readonly="readonly"></font></td>

or a shorthand is
<input name="phone" size="50" value="<%=FP_FieldVal(fp_rs,"phone")%>"
style="float: left" readonly></font></td>
--
Cheers,
Trevor L.
Website: http://tandcl.homemail.com.au


 
Reply With Quote
 
Frank Smith
Guest
Posts: n/a
 
      25th Jan 2006
much appreciated.....

Trevor L. wrote:
> Frank Smith wrote:
>
>>Ok, but I cannot seem to find any documentation on where.
>>The code line looks like
>>
>> <input name="phone" size="50" value="<%=FP_FieldVal(fp_rs,"phone")%>"
>>style="float: left"></font></td>
>>
>>Where does the "readonly" go?
>>
>>Kathleen Anderson [MVP - FrontPage] wrote:
>>
>>>Try adding "readonly" to the input tag.

>
>
> Not an MVP, but I can answer that one
>
> <input name="phone" size="50" value="<%=FP_FieldVal(fp_rs,"phone")%>"
> style="float: left" readonly="readonly"></font></td>
>
> or a shorthand is
> <input name="phone" size="50" value="<%=FP_FieldVal(fp_rs,"phone")%>"
> style="float: left" readonly></font></td>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: read/write for some users, read only form others Stefan Hoffmann Microsoft Access Forms 2 1st Jun 2010 10:54 AM
Making all fileds in a form Read only without changing the Form Shimon Microsoft Access Form Coding 2 14th Aug 2008 01:22 PM
Read only form? one control not read only? =?Utf-8?B?QnJvb2s=?= Microsoft Access Forms 0 4th Oct 2005 04:02 PM
what causes a read-only form error message on a sub-form? =?Utf-8?B?Sm9obg==?= Microsoft Access Forms 0 13th Sep 2005 05:47 PM
Read Only Form / Password to Edit form Data =?Utf-8?B?QnJvb2s=?= Microsoft Access Forms 3 1st Aug 2005 01:47 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:05 AM.