Full Version: Transfer Value From Unbound to Bound Field
UtterAccess Discussion Forums > Microsoft® Access > Access Forms
mkkashif
hi
i have unbound field on bound form i want when i click on the button text or number transfer to bound field.
how can do that.i know 2 way.

Me.t2 = Me.t1
Me.t4 = Me.t3
or set default value property of unbound field to bound field.
Jack Cowley
Why not just enter the number directly into the bound control?

Your code might look like this:

Me.NameOfBoundControl = Me.NameOfUnboundControl

Jack
mkkashif
i have make design database to not put data first in bound field.after confirmation on click the data will enter
so it is right way
i am using this
Me.NameOfBoundControl = Me.NameOfUnboundControl
thanks for ur confirmation
Jack Cowley
That is one way to do it and if it works for you then go for it!!

Jack
mkkashif
any other good way to do that
Jack Cowley
That is a good a way as any. I do not know your setup, but if you have bound and unbound controls on the form then that will surely work. If you only have unbound forms then you are going to need to write extensive code to save the values in the unbound controls to a table in your database....

Jack
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.