Hi Tom, Thanks for your answer, but...
I should have explained more fully. I worked out how to delete a row; no problem. It appears that what the discard row defined function does is discard changes that were made to the record displayed in the form without them ever being saved to the table. I can just do a CLOSEFORM in the eep, but RB then asks whether I want to save the changes. I'd like to have that extra step/window not appear because my button already says that I want to discard the changes. I also have a Save Changes and Delete Row buttons where I use SAVEROW and a DELETE just like yours. What will do the Discard Row, like the defined function? I suppose I could use a variable form, and just never copy the variables to the row. I've done it that way in other situations. Are you coming to Pittsburgh this spring/fall? Thanks for your help, Dave Billing Tall Tree Business Solutions ----- Original Message ----- From: "Tom Grimshaw" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, March 30, 2002 11:33 AM Subject: Re: Eep Question > > G'day Dave, > > 1. Within the form declare a variable to the value of a unique row ID. > 2. In the eep, DELETE FROM TableName WHERE RowID = .vRowID > > At 15:04 29/03/02 -0500, you wrote: > >Perhaps a simple question, but I'm stuck on it. In RBW6.5++, you have a > >form with a button. In the button properties you can select defined > >function with the options to Discard Row or Discard Row & Exit. How would > >you do that in an eep? > > Warmest regards, > > > Tom Grimshaw > coy: Just For You Software > tel: 612 9552 3311 > fax: 612 9566 2164 > mobile: 0414 675 903 > > post: PO Box 470 Glebe NSW 2037 Australia > street: 3/66 Wentworth Park Rd Glebe NSW 2037 > > email: [EMAIL PROTECTED] > web: www.just4usoftware.com.au > > This email and any files transmitted with it are confidential to the > intended recipient and may be privileged. If you have received this email > inadvertently or you are not the intended recipient, you may not > disseminate, distribute, copy or in any way rely on it. Further, you should > notify the sender immediately and delete the email from your computer. > Whilst we have taken precautions to alert us to the presence of computer > viruses, we cannot guarantee that this email and any files transmitted with > it are free from such viruses. > > ================================================ > TO SEE MESSAGE POSTING GUIDELINES: > Send a plain text email to [EMAIL PROTECTED] > In the message body, put just two words: INTRO rbase-l > ================================================ > TO UNSUBSCRIBE: send a plain text email to [EMAIL PROTECTED] > In the message body, put just two words: UNSUBSCRIBE rbase-l > ================================================ > TO SEARCH ARCHIVES: > http://www.mail-archive.com/rbase-l%40sonetmail.com/ ================================================ TO SEE MESSAGE POSTING GUIDELINES: Send a plain text email to [EMAIL PROTECTED] In the message body, put just two words: INTRO rbase-l ================================================ TO UNSUBSCRIBE: send a plain text email to [EMAIL PROTECTED] In the message body, put just two words: UNSUBSCRIBE rbase-l ================================================ TO SEARCH ARCHIVES: http://www.mail-archive.com/rbase-l%40sonetmail.com/
