Wrox Programmer Forums
|
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Dreamweaver (all versions) section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old January 11th, 2007, 01:45 PM
Registered User
 
Join Date: Jan 2007
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Date1 and date2 are defined on page before these two - of which I've posted parts of code
<INPUT id=datum1 name=datum1 readonly>
<a href="Javascript:;" onClick="calendar('datum1')")>
calendar function shows small table like calendar, then you click on day, and that date is shown in input field. I uset it to search db, with other parameters (name, adress).
<FORM name=form1 action="results.asp" method POST>
Submitting form, I get dates displayed on next, results.asp page which contains table with name, adress (from database) and two dates mentioned above, and image used for link to dateil page.
The main problem is - I want select table row in which are infos I want edit or input in other db table. I'm try to do this using result/detail pages from DW tutorial. On this way, form in which table with results is, not being submited. Hope you understand me ??
If I do form submit and go to detail page on same way (click on text or img), I get only first table row, no matter which one I choose.

<%
var date1
date1=Request.Form(date1)
%>
Same for date2, but will this work if form on previous page is not submitted ?



 
Old January 11th, 2007, 04:06 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Quote:
quote:On this way, form in which table with results is, not being submited. Hope you understand me ??
Sorry, no, I don't. I don't think I am the right person to help you at this stage. Maybe someone else on this forum can give it a try?

BTW: you have fields called date1 and datum1 (Dutch maybe??). Is that intentionally?

Imar
---------------------------------------
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Everyone is unique, except for me.
Author of ASP.NET 2.0 Instant Results and Beginning Dreamweaver MX / MX 2004
Want to be my colleague? Then check out this post.
 
Old January 12th, 2007, 01:04 PM
Registered User
 
Join Date: Jan 2007
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

They all originally called "datum" - it's croatian (date), I change that before posting (probably forget that one).
The thing I want to do is - display data entered by user (in this case date1 and date2) on other page, called "detail.asp", together with other data from database, and I use ID as parameter by which data from db is retrieved, only these two dates are problem...

<a href="detail.asp?ID=<%=(Recordset2.Fields.Item("ID ").Value)%>"><img src="images/link.jpg" /></a>

Thanks anyway !








Similar Threads
Thread Thread Starter Forum Replies Last Post
double click for specific record naveed77 Beginning VB 6 0 December 4th, 2007 04:55 AM
Going to a specific record in a separate subform discorhino Access VBA 2 August 7th, 2006 12:35 AM
How do you open a specific record from a search? Szimmer9 VB How-To 1 March 31st, 2006 12:57 AM
Choose record by data jilly Classic ASP Basics 0 November 23rd, 2005 11:21 AM
Link to a specific record rexecampbell Classic ASP Basics 2 April 7th, 2004 01:40 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.