Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 #Deleted

Author  Topic 

RoyPaun
Starting Member

13 Posts

Posted - 2009-07-12 : 20:10:58
When I run a Delete query (cascaded) from a form, #Deleted appears in all the deleted fields of the record and I am unable to enter new data in any of the fields (except by closing and re-opening the form. Is there any way to prevent this from occurring? Many thanks for any help.

SwePeso
Patron Saint of Lost Yaks

30421 Posts

Posted - 2009-07-12 : 20:26:18
I assume you are using Access as front-end application?


N 56°04'39.26"
E 12°55'05.63"
Go to Top of Page

RoyPaun
Starting Member

13 Posts

Posted - 2009-07-14 : 15:45:09
The form when open, shows all the fields of a record from a table, Surname, FirstName, etc. etc. I have a command button that allows me to delete a particular person, but, when deleted, - #Delete- appears in all the fields and I can not enter new data (to add a new person). Just wondered if this is avoidable.
Go to Top of Page

webfred
Master Smack Fu Yak Hacker

8781 Posts

Posted - 2009-07-14 : 15:46:38
So what is your front end app?


No, you're never too old to Yak'n'Roll if you're too young to die.
Go to Top of Page

RoyPaun
Starting Member

13 Posts

Posted - 2009-07-14 : 18:08:18
Access 2003
Go to Top of Page

RoyPaun
Starting Member

13 Posts

Posted - 2009-07-23 : 17:38:38
When I run a Delete query (cascaded) from a form, #Deleted appears in all the deleted fields of the record and I am unable to enter new data in any of the fields (except by closing and re-opening the form. Is there any way to prevent this from occurring? Many thanks for any help.I am using Access 2003
Go to Top of Page

SwePeso
Patron Saint of Lost Yaks

30421 Posts

Posted - 2009-07-23 : 18:25:37
After your delete query, issue an UPDATE or REFRESH command to your grid.



N 56°04'39.26"
E 12°55'05.63"
Go to Top of Page

RoyPaun
Starting Member

13 Posts

Posted - 2009-07-24 : 16:28:17
Thanks, again, Peso. Easy Peasy really !!!!
Go to Top of Page
   

- Advertisement -