UtterAccess.com
X   Site Message
(Message will auto close in 2 seconds)

Welcome Guest ( Log In | Register )

> Duplicate Record To Omit Certain Fields    
 
   
hellabop
post Apr 3 2012, 08:51 AM
Post #1

UtterAccess Enthusiast
Posts: 56



Access 2010

Hello all, again I seek assistance. (IMG:style_emoticons/default/smile.gif)

I would like to have a button on my Form that once clicked the current Record is copied, but I'd like two fields 'EventDate' and 'Status' fields to be cleared on the duplicate Record...

What would be the best way to code this?


As usual -any help, advice etc. greatly appreciated!
Go to the top of the page
 
+
 
Start new topic
Replies
missinglinq
post Apr 3 2012, 11:26 AM
Post #2

UtterAccess Ruler
Posts: 2,662



QUOTE (ScottGem @ Apr 3 2012, 11:26 AM) *
I would be more inclined to use SQL

Why, pray tell? Say you've got a Record with 12 Fields, and you want all except 2 Fields duplicated, why would you go to the trouble of using an insert and having to innumerate thru 10 Fields?

Also, while doing an INSERT like this, the New Record will be created, but the user will not be taken to the New Record in order to fill in the other two Fields; this is always, in my experience, a requirement for this type of task.

Linq ;0)>

This post has been edited by missinglinq: Apr 3 2012, 12:09 PM
Go to the top of the page
 
+

Posts in this topic


Thank you for your support! Reply to this topicStart new topic

Jump To Forum:
 



RSS Go to Top  ·  Lo-Fi Version Time is now: 23rd May 2013 - 03:38 PM