Mark selected/current record in a datablock [message #244326] |
Tue, 12 June 2007 06:11 |
bbaz
Messages: 138 Registered: April 2007
|
Senior Member |
|
|
Hi guys,
I have a Database Block that retrieves a set of records from my DB table.
I want to have the Block to behave somehow like an LOV in a way that when I select a record and press a button, I can pass the record to another form.
I have created a NON database item Radio button for each record but I am missing the functionality, when I click on the radio button corresponding to the record I am not being able to activate/set the current record and besides ONLY ONE Radio Button must be selected at on time (this is not working either...!!)
Attached is a Screen shot of the Form.
Can someone please help me on getting this functionality, or if there is better alternative to do the work.
Many thanks in advance.
Baz
|
|
|
|
Re: Mark selected/current record in a datablock [message #245337 is a reply to message #245021] |
Sat, 16 June 2007 01:39 |
bbaz
Messages: 138 Registered: April 2007
|
Senior Member |
|
|
Thanks David,
I always found your posts beneficial. Can you please elaborate more on your approach. My concerns are the following:
1) When I click on one of the Checkboxes, how do I restrict ONLY one checkbox to be active? Only one records to be selected, i.e. deactivate all others? Is it a Checkbox Property Item or programatically?
2) How do I associate the Check box with the corresponding Record since it is NOT a DB item?
3) When I press the "Movement Details" button, basically I need to pass the MVT_ID from which I can retrieve all the related data from the DB. Do I still need to build a String for that? I am planning to use a ParamList.
How can my checkboxes handle 1 + 2? Please can you provide more details?
Many thanks again,
Baz
|
|
|
|
|