Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #11 (permalink)  
Old January 11th, 2007, 01:45 PM
Registered User
 
Join Date: Jan 2007
Location: , , .
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 ?



Reply With Quote
  #12 (permalink)  
Old January 11th, 2007, 04:06 PM
Imar's Avatar
Wrox Author
Points: 72,073, Level: 100
Points: 72,073, Level: 100 Points: 72,073, Level: 100 Points: 72,073, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,587 Times in 1,563 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.
Reply With Quote
  #13 (permalink)  
Old January 12th, 2007, 01:04 PM
Registered User
 
Join Date: Jan 2007
Location: , , .
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 !



Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 03:20 PM.


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