Move data from one field to another

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I need to allow users to input into one field and then click a button to move
the data into a read-only field. I set up a button with a macro that appends
the data to the new field and removes the data from the old field. Which is
exactly what I need. However, it only works the first time I try it. When I
move to a new record and try it again it won't work.

Please help...
 
Change the OnClick event of the button from macro to code, and write

Me.[ReadOnlyFieldName] = Me.[TextFieldNameWithValue]

Now sepend on the value that you are entering, if it text then
Me.[TextFieldNameWithValue] = ""

If its number or date then
Me.[TextFieldNameWithValue]= Null
 
Back
Top