Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

setting a filter creates a new record. why??

Status
Not open for further replies.

bkatz

IS-IT--Management
Jun 16, 2002
7
US
hello,

for some reason when i set a filter in code it's creating a new record. any idea why?????

Me.Filter = "PK_ID = " & lPKId
Me.FilterOn = True

The filter works, but a new record is always created, which i do not want. i'm stumped!
 
Is there data in the new record or is it merely the AddNew record? Are the AllowAdditions or DataEntry properties set to true?
-------------------------------------
scking@arinc.com
Try to resolve problems independently
Then seek help among peers or experts
But TEST recommended solutions
-------------------------------------
 
maybe your setting the filter to show a record that doesn't excist, I've seen filters do that befor...

--James
junior1544@jmjpc.net
Life is change. To deny change is to deny life.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top