Group:  Microsoft Access ยป microsoft.public.access.internet
Thread: pass a parameter to a data access page

DotNetBag
.NET Development Newsgroups

HTVi
TV Discussion Newsgroups

Our Hot Pick: Rising Antivirus 2006 - Certified by TUV & Checkmark! Get 10% discount by entering this coupon code: ONDISCOUNT10
Rising Antivirus 2006

pass a parameter to a data access page
tsai 16.11.2005 21:37:38
How to pass a parameter to a data access page like you do for an ASP.
For example: http:\\server\dataAccessPage.htm ?OrderNo=101

Thanks
Re: pass a parameter to a data access page
"Sylvain Lafontaine" <sylvain aei ca (fill the blanks, no spam please)> 17.11.2005 19:13:26
One solution would be to use cookies, see:

For example:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnacc2k2/html/ODC_acc10_DSCOM.asp

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnacc2k/html/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/microsoft.public.access.dataaccess.pages


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


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


Home | Search | Terms | Imprint | Contact
Newsgroups Reader - provided by WiredBox.Net