Home > Archive > MS Access and Internet > November 2005 > pass a parameter to a data access page









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author pass a parameter to a data access page
tsai

2005-11-16, 8:25 pm

How to pass a parameter to a data access page like you do for an ASP.
For example: http:\\server\dataAc
cessPage.htm ?OrderNo=101

Thanks
Sylvain Lafontaine

2005-11-17, 1:24 pm

One solution would be to use cookies, see:

For example:
http://msdn.microsoft.com/library/d...acc10_DSCOM.asp

http://msdn.microsoft.com/library/d.../programdap.asp

Look at the left of these articles for other articles on DAP. The section
about making a Debugging Tracing Window in the first article is particularly
usefull when working with DAP.


Another solution would be to use JavaScript or VBScript to analyse the URL
and retrieve each values. The whole string is located in
window.location.href, so it's easy to parse it and retrieve the values.

There is a newsgroup about DAP:

http://groups.google.ca/group/micro...ataaccess.pages


--
Sylvain Lafontaine, ing.
MVP - Technologies Virtual-PC
E-mail: http://cerbermail.com/?QugbLEWINF


"tsai" <tsai@discussions.microsoft.com> wrote in message
news:E19E2559-9D39-4305-8DE3- D1CF6A6A29CC@microso
ft.com...
> How to pass a parameter to a data access page like you do for an ASP.
> For example: http:\\server\dataAc
cessPage.htm ?OrderNo=101
>
> Thanks



Sponsored Links





Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive | Programming forum archive

Copyright 2008 droptable.com