Normal Topic Deleting Subform and or MainForm records (Read 359 times)
Amor
Full Member
Members
***
Offline


No personal text

Posts: 366
Location: Germany
Joined: Feb 7th, 2004
Deleting Subform and or MainForm records
Jan 27th, 2008 at 12:44pm
Print Post Print Post  
Hello!

I want to use a Botton on the main form and have the flexibility to delete only the the subform records or the subform records AND the Main form record.

Your Suggestions are appreciated.

Dr. Belhareth
« Last Edit: Jan 27th, 2008 at 6:34pm by Amor »  

Dr. med. Amor Belhareth&&Medizin Labor &&Germany
Back to top
 
IP Logged
 
Carl Underwood
Senior Member
Members
*****
Offline



Posts: 1351
Location: New Hampshire
Joined: Mar 11th, 2003
Re: Deleting Subform and or MainForm records
Reply #1 - Jan 28th, 2008 at 1:08am
Print Post Print Post  
Read up on FormDeleteRecord() and DeleteRecord().

You could use @PopupMenu() and/or @AskUser() for an interactive way to choose which record(s) you want to delete.
  


Carl Underwood
CDU Computer Consulting LLC
Epsom, New Hampshire
Back to top
IP Logged