Help with passing details [message #116084] |
Sun, 17 April 2005 10:07 ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
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 Go to previous message](/forum/theme/orafaq/images/up.png) |
![](/forum/images/custom_avatars/67467.jpg) |
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'.
|
|
|