PC Review


Reply
Thread Tools Rate Thread

Delete records in form

 
 
Steven
Guest
Posts: n/a
 
      24th Sep 2008
I have a form where I want to allow the user to delete records. I am doing a
test on the period of the record because I do not want to allow them to
delete a record in a closed period. This works fine if the user selects one
record. But if the user selects more than one record using the record
selector then the period test will not work. How do I tell if the user has
selected more than one record when they hit the delete button so I can Cancel
that delete operation.

Thank you,

Steven
 
Reply With Quote
 
 
 
 
Steven
Guest
Posts: n/a
 
      24th Sep 2008
I see now. It's SelHeight.

"Steven" wrote:

> I have a form where I want to allow the user to delete records. I am doing a
> test on the period of the record because I do not want to allow them to
> delete a record in a closed period. This works fine if the user selects one
> record. But if the user selects more than one record using the record
> selector then the period test will not work. How do I tell if the user has
> selected more than one record when they hit the delete button so I can Cancel
> that delete operation.
>
> Thank you,
>
> Steven

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Delete sub-form records Yousoft Microsoft Access Macros 1 22nd May 2008 10:54 AM
Delete sub form records Yousoft Microsoft Access 5 20th May 2008 07:35 AM
delete sub-form records Yousoft Microsoft Access Form Coding 1 19th May 2008 08:57 AM
Delete subform records without deleting main form records =?Utf-8?B?QW5pdGE=?= Microsoft Access Form Coding 0 21st Nov 2006 07:00 AM
delete records from sub form =?Utf-8?B?Y2FsZWI=?= Microsoft Access Forms 2 2nd Feb 2005 07:01 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:17 AM.