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

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Transfer Value From Unbound to Bound Field    
 
   
mkkashif
post Feb 12 2007, 11:38 AM
Post #1

UtterAccess Guru
Posts: 658



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.
Go to the top of the page
 
+
Jack Cowley
post Feb 12 2007, 01:02 PM
Post #2

Retired Moderator
Posts: 37,716
From: The San Francisco Bay Area



Why not just enter the number directly into the bound control?

Your code might look like this:

Me.NameOfBoundControl = Me.NameOfUnboundControl

Jack
Go to the top of the page
 
+
mkkashif
post Feb 12 2007, 01:49 PM
Post #3

UtterAccess Guru
Posts: 658



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
Go to the top of the page
 
+
Jack Cowley
post Feb 12 2007, 01:53 PM
Post #4

Retired Moderator
Posts: 37,716
From: The San Francisco Bay Area



That is one way to do it and if it works for you then go for it!!

Jack
Go to the top of the page
 
+
mkkashif
post Feb 12 2007, 02:27 PM
Post #5

UtterAccess Guru
Posts: 658



any other good way to do that
Go to the top of the page
 
+
Jack Cowley
post Feb 12 2007, 02:55 PM
Post #6

Retired Moderator
Posts: 37,716
From: The San Francisco Bay Area



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
Go to the top of the page
 
+

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

Jump To Forum:
 



RSS Go to Top  ·  Lo-Fi Version Time is now: 20th June 2013 - 02:03 AM