Connecting Tech Pros Worldwide Help | Site Map

Stopping #deleted appearing on my form when I delete a complete record

 
LinkBack Thread Tools Search this Thread
  #1  
Old November 13th, 2005, 03:04 AM
Jacko
Guest
 
Posts: n/a
Default Stopping #deleted appearing on my form when I delete a complete record

I have a command button on one form (frmDelete) which deletes a record
from the subform (frmGrant) of a main form (frmCustomer) which is open
behind it. Problem is, when I go back to frmCustomer where the record
was deleted, every field in the subform contains the value #deleted.
How can I prevent this? I have tried adding the code:

Forms![frmClient]![frmInvoices].Form.Repaint

but it hasn't worked. can anyone help?

  #2  
Old November 13th, 2005, 03:04 AM
Paradigm
Guest
 
Posts: n/a
Default Re: Stopping #deleted appearing on my form when I delete a complete record

Try
Forms![frmClient]![frmInvoices].Form.Requery
Alex
"Jacko" <cloudbustingforever@hotmail.com> wrote in message
news:cfa69c85.0409200230.403aad15@posting.google.c om...[color=blue]
> I have a command button on one form (frmDelete) which deletes a record
> from the subform (frmGrant) of a main form (frmCustomer) which is open
> behind it. Problem is, when I go back to frmCustomer where the record
> was deleted, every field in the subform contains the value #deleted.
> How can I prevent this? I have tried adding the code:
>
> Forms![frmClient]![frmInvoices].Form.Repaint
>
> but it hasn't worked. can anyone help?[/color]


 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,840 network members.