Home » Developer & Programmer » Forms » Help with passing details
Help with passing details [message #116084] Sun, 17 April 2005 10:07 Go to next message
meclive
Messages: 6
Registered: April 2005
Junior Member
I have created a search and this populates a list of results. What i want is a button or something on each of these results so that the user can "purchase" any of the items and the details will be stored to the db. Im really not too sure how to even attempt this so please any suggestions are welcome, thanks.

It seems my main problem will be in matching the buttons to the search results' "product_id".

Again thanks in advance for any replies.


Tom
Re: Help with passing details [message #116120 is a reply to message #116084] Sun, 17 April 2005 22:02 Go to previous message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
Put the 'buy' button in a block separate to the 'items' multi-record block.

Make the 'buy' button 'key navigable=False' and 'mouse navigate=False'. In the 'Buy' button's When-Button-Pressed trigger use the 'system.cursor_record' to determine which row of the 'items' list currently has the 'cursor'.
Previous Topic: ora-01002 error
Next Topic: difference between forms/report 6i and forms/report 9i( features)
Goto Forum:
  


Current Time: Thu Sep 19 15:02:52 CDT 2024