filtering the records in data access pages by code

M

Masoud

Hello

in my data Access page there is one button that navigate to other data
access page.and I
have used BeforeInitialBind event for that page to filter the recordset as
follows.but
it does not work and no records will be available in my page.
please help me what I have to do?

<SCRIPT language=vbscript event=BeforeInitialBind(dscEventInfo) for=MSODSC>
<!--

Dim varWhere

varWhere=Document.cookie

MSODSC.RecordsetDefs("qryDocumentsSummary").ServerFilter=varWhere
-->
</SCRIPT>
thanks.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top