Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DAP / ServerFilter / Read-only issue

Status
Not open for further replies.

Slippenos

MIS
Apr 22, 2005
333
US
I created links that will take you to a particular record on a data access page, like:
Code:
[URL unfurl="true"]http://<mywebsite>?ServerFilter=<Id>=8%22[/URL]
The ServerFilter will exclusively pull up record 8. My problem is I can't enter data into the fields .. its Read-Only.

Is there anyway to make my fields editable while applying the ServerFilter?

I should note that I made some progress by, in Design View, changing the Header's Id to something else. I got the following error when I tried to edit the fields:
Code:
A value could not be saved into the data source's '<fieldname>' field.
The data source is read-only.

Any thoughts?

[red]Tools | Internet Options | Clear History[/red]
 
The problem:

I had script that allowed a drop down to sort through the records. The Drop down contained all of the record numbers (my PK)-
Code:
<SCRIPT language=vbscript event=onchange for=dropDown>
<!--
Dim rs
Set rs = MSODSC.DefaultRecordset
rs.Find "[PK] = '" & document.all.dropDown.value & "'",0,1,1

'0 Skip zero records before starting the search
'1 Seatch forward direction
'1 Begin search with first record in recordset
-->

There was a conflict between this script and the ?ServerFilter.

Solution:

Removed the Drop Down.

[red]Tools | Internet Options | Clear History[/red]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top