Record existed but getting error message

firework

Registered User.
Local time
Today, 13:49
Joined
Dec 15, 2007
Messages
42
I was going to add a new record to a table but keep getting error to say I need a related record on a related table which record already existed. Have checked many time. Also I have not done any relation between the two tables.

Am I going senile ?
 
How are you trying to add the new record?
 
Hi there,

Three tables.

Craete record on first table on form1 which has a button to next form which create the record on 2nd table which in turn has a button to open a form to create record in 3rd tables. However always get error to say there a related record required in 2nd table. I have checked and get someone else to check for me and the record did existed.

Since my posting, I found that the computer may be infected as the effect is so unpredictable. For example, I have a statement which is docmd.close but it closed the whole application instead of one form. The requery statement doesn't work. created record was deleted etc. At present doing a virus check on the computer abd should know the result tomorrow.

Does my above method work, in case it is not the work of virus.
 

Users who are viewing this thread

Back
Top Bottom