Hi all. This is my first post here. I kept getting directed here searching for my answers so figured I'd join to find my answers and contribute as I work on my current project.
My question is simply this...How do you have a 'SubForm/Subreport' Control update with any records that are similar to that of the current one you are creating.
To further explain what I'm trying to do and what is going wrong...
I am creating a Call logger database; what I'm aiming for currently is as I enter the details of the caller (Name, company name, contact number, etc) I would like a table at the bottom to update itself automatically with any records that exist in my main table that are similar to the currntly entered details, so that should a customer phone back again in the future I can 'LINK' Call Ids and keep a record of calls.
I've tried using the 'Query wizard', fiddling with the 'find duplicate records' example and referencing the Text boxes in my form. Combining this query with a subform/subreport control gave me what I was looking for, however when I changed any data I'm entering above they are being saved to the main table automatically before I want to (i.e. before any validation) (I understand why its doing this but what I'm looking for is a kind of "Temporary" recordset or Table to be used while my form is open for use in finding any aimilar records that exist, it should not save any data anywhere and I Dont want to be creating physical tables in my database when I can avoid it, I'd rather the table/recordset be in memory while being used.
I've read about "unbinding" the subform control so that it doesn't save but this hasn't worked for me. nor has using:Cancel = Falseon the sub forms 'BeforeUpdate' Event for some reason.
Me.Undo
Can anyone help me please?
Many thanks in advance,
Phil.