« Return to Thread: delete selected record ?

Re: delete selected record ?

by Cplusplus :: Rate this Message:

Reply to Author | View in Thread

Hi John:

The User Set contains ALL records. That's why, the first record gets deleted.
Try using  GET HIGHLIGHTED RECORDS first.

Regards,
Ken Bruce


In a message dated 3/27/08 10:03:26 AM, john.convey@... writes:

>   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
>
>




**************
Create a Home Theater Like the Pros. Watch the video on AOL
Home.
      (http://home.aol.com/diy/home-improvement-eric-stromer?video=15&
ncid=aolhom00030000000001)

**********************************************************************
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 ?