Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Microsoft Office > Access and Access VBA > Access
| Search | Today's Posts | Mark Forums Read
Access Discussion of Microsoft Access database design and programming. See also the forums for Access ASP and Access VBA.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old May 18th, 2006, 12:36 PM
Registered User
 
Join Date: Apr 2006
Location: los angeles, california, USA.
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default deleting records in linked tables

I need to delete a record that was entered on a form - then is stored in two different tables.
one of the tables is empty
when i try to delete the record it tells me that it has info in another table...
when i go to that table it tells me that the search field is empty - and can not delete it.
if i try to enter data - it closes access completely...

please help

thanks,

 
Old May 18th, 2006, 02:12 PM
Friend of Wrox
 
Join Date: Oct 2004
Location: Clinton, UT, USA.
Posts: 564
Thanks: 0
Thanked 4 Times in 4 Posts
Default

Hmmmm... When you say that the record is stored in two different tables, how is that setup and is there a relationship between the tables?

I ran into something like this a few days back, so I feel your frustration!!

Mike
EchoVue.com
 
Old May 18th, 2006, 03:53 PM
Registered User
 
Join Date: Apr 2006
Location: los angeles, california, USA.
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

background - data entry is done on a form (that has subforms) the link to all tables is the unique ID field -
however in this case the WO table has an ID field - the APP table is empty no ID field -

not sure what to do in order to delete or access this form/record???

thanks,

 
Old May 18th, 2006, 03:58 PM
Friend of Wrox
 
Join Date: Oct 2004
Location: Clinton, UT, USA.
Posts: 564
Thanks: 0
Thanked 4 Times in 4 Posts
Default

Look at the properties for the Form. My guess would be that the RecordSource under the Data Tab is a query. Try and delete the record from the Query, that should around any relationships set up between the 2 tables involved. If not we can try something else.

Mike

Mike
EchoVue.com
 
Old May 18th, 2006, 04:10 PM
Registered User
 
Join Date: Apr 2006
Location: los angeles, california, USA.
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Mike Thanks...
the record source is the APP table - not a query
when i look at the table - this record is empty and it says the "search field is empty"
thanks,





Similar Threads
Thread Thread Starter Forum Replies Last Post
Linked Tables edojan Access 1 July 20th, 2006 10:49 AM
deleting a record from a linked table??? tico31pl Classic ASP Basics 0 May 18th, 2006 09:58 AM
Deleting Records Within Relational Tables rit01 SQL Server 2000 5 May 11th, 2006 03:11 AM
Linked Tables ru1 Access 1 September 21st, 2005 07:24 AM
Linked Tables ricmar Access VBA 6 July 28th, 2004 05:08 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.