Parameter Passing to a DAP

  • Thread starter Thread starter Bill Njarheim
  • Start date Start date
B

Bill Njarheim

Hello:

I am really new to working with DAP.

The question that I would like to get an answer for is... How, when a DAP
is lauched (opened) via a Hyperlink (e.g. an AutoCAD object has a DAP as a
hyperlink) can the data be filtered to a specific record? Is there a way to
pass
parameters through via the hyperlink?

What I am accustomed to do (when working with forms) is open a form with a
"WHERE" condition; that took me to the specific record in question.

Please either respond to this posting or email me at
(e-mail address removed)

Thank you.
 
I have a sample database that shows how you can do this using cookies for
filtering one DAP from another DAP:
http://www.cadellsoftware.org/SampleDBs.htm#FilterDAP

I've never used a non-ACCESS application to launch a DAP, so I don't know
specific details; may not be very easy to do. What type of data does the
AutoCAD object have, and what type of data can it export/make available for
use as a filter?
 
With AutoCAD, I can chose to create my own indexing scheme (e.g. for
attribute information for storm sewer pipes, I might use STM000001,
STM000002, etc as values passed to the HTM page via the hyperlink) or I can
use the AutoCAD object ID as the indexing/linking value to pass to the HTM
page.

This being said, what I was wanting to do is this:

In AutoCAD, each object has a hyperlink capability. I want to call a DAP
(for right now it is C:\GIS\Storm.htm) and pass the DAP my unique value (as
mentioned above) to directly filter to the record that matches the unique
value (upon opening the DAP).

I looked at your example and it is almost there. You have 1 DAP where the
user enters in a value and you pass it to the next DAP for the results.
What I am looking for is something that can be passed via the hyperlink to a
DAP for the results.

I know it seems like a long shot, but if I can figure out how to do this,
then capturing attribute information with my AutoCAD utility map will be
made a lot easier.

Thank you.

Bill
 
I admit to little knowledge here. In a DAP, it's possible to use a
ServerFilter property of a hyperlink control to pass a filtering string
(similar to the WHERE clause in an SQL statement) to the second DAP.
Somehow, the HTM "under the covers" is able to pass that filtering string to
the DAP and then filter the DAP's Recordset when the DAP is opened. I am
guessing that that is something handled within ACCESS as part of the DAP
programming, though.

I wish I could offer more ideas, but..... sorry!
 
yeah I use ServerFilter extensively in DAP programmign

If I had my choice between only keeping DAP or ADP-- honestly-- I would keep
DAP


but since MS killed them both then it's JIHAD

I mean.. 'Excel Server' doesn't have HALF of the functionalit of Office Web
Components

whatever happened to 'Access Server'
 

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

Back
Top