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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Append Query Problem

Status
Not open for further replies.

Ninabunny

Programmer
Jul 24, 2000
70
US
I cannot seem to Append the correct record in my Append Query!!&nbsp;&nbsp;I need to Append the old Address to the tblAddress from the frmNames(linked to tblNames).<br>I did this this way.....<br>Private Sub Address_BeforeUpdate(Cancel As Integer)<br>&nbsp;&nbsp;&nbsp;&nbsp;If Address.OldValue = Address.Value Then<br>&nbsp;&nbsp;&nbsp;&nbsp;<br>&nbsp;&nbsp;&nbsp;&nbsp;Else<br>&nbsp;&nbsp;&nbsp;&nbsp;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Call Appendme(in function module)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br>&nbsp;&nbsp;&nbsp;&nbsp;End If<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br>End Sub<br><br>Problem is it only appends the old value partially because I made it append the oldvalue in the expression in the query?<br>Can you help me with the code?<br>
 
This sounds familiar. Is this a follow on question from a thread that originally had more background information? If so, would you add this follow-on question to the origianl, so that we get the full story?&nbsp;&nbsp;Also it would be helpful if you posted the code for your Appendme function, and specified your results more precisely.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top