« Return to Thread: delete selected record ?

Re: delete selected record ?

by Atanas Atanassov :: Rate this Message:

Reply to Author | View in Thread

john convey wrote:

>
>
> Hi,
>
>  Is there a way to 'delete selected record' from a displayed selection
> on a 4d table
> with one record highlighted?
>
> I have a 'delete button' at the top of a form that displays related
> many records
> i changed the action to no action and manually code 'DELETE RECORD' -
> (so i can filter and prevent user deleting some records re business
> rules)
> However, the highlighted record does not seem to be the loaded current
> record
> so the system deletes the first in the list....   er not good
>
>
> any advice appreciated - i am trying to avoid having an input
> (detail)  and output form  - (list)
> to do this all on output/list forms
> but allow the user to 'edit inline' for speed.
>
>
> any thoughts appreciated
>
> thanks
>
> john
>
>
>
> **********************************************************************
> 4D Basics hosted by 4D, Inc.                       http://www.4D.com/
>
> An all-new List box. More features, more power.
> Headers, footers, cell formatting and other goodies.
> See it here first! <http://www.4d.com/livedemos>
>
> To Unsubscribe:                        mailto:4DBasics-off@...
> **********************************************************************
>
Try to use REDUCE SELECTION command, this will make your selected  
record current and you can dellted

Kind Regards

Atanas Atanassov

Technical Servece Team Member
4D, Inc

**********************************************************************
4D Basics hosted by 4D, Inc.                       http://www.4D.com/

An all-new List box. More features, more power.
Headers, footers, cell formatting and other goodies.
See it here first! <http://www.4d.com/livedemos>

To Unsubscribe:                        mailto:4DBasics-off@...
**********************************************************************


 « Return to Thread: delete selected record ?