A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Refresh data on form



 
 
Thread Tools Display Modes
  #1  
Old November 9th, 2009, 02:56 PM posted to microsoft.public.access.forms
Smoki
external usenet poster
 
Posts: 54
Default Refresh data on form

Hi,
I have DB, and I made form for searching specific data. It's form where I
choose value from Unbound field, and then other fields have been filled. But
I want then to change value of some of those fields. So, I made Combo box to
choose new value for that field. Just I don't know which action to use now to
exchange value of this field?

Thanks,
Smoki
  #2  
Old November 9th, 2009, 08:33 PM posted to microsoft.public.access.forms
Daryl S[_2_]
external usenet poster
 
Posts: 881
Default Refresh data on form

Smoki -

If you are using the new combo box to choose a value for a field on your
form, then as long as the new combo box is bound to the field from the
recordsource, then the field will update when the user selects the new value
from the combo box.

The combo box used to select a record should not be bound (which is how you
have described it), as you don't want to change the value of the field on a
current record, but instead use that value to pull up a record. To use a
combo box to change the value of a field, it does need to be bound to that
field.

Hope that helps.

--
Daryl S


"Smoki" wrote:

Hi,
I have DB, and I made form for searching specific data. It's form where I
choose value from Unbound field, and then other fields have been filled. But
I want then to change value of some of those fields. So, I made Combo box to
choose new value for that field. Just I don't know which action to use now to
exchange value of this field?

Thanks,
Smoki

  #3  
Old November 10th, 2009, 09:28 AM posted to microsoft.public.access.forms
Smoki
external usenet poster
 
Posts: 54
Default Refresh data on form



"Daryl S" wrote:

Smoki -

If you are using the new combo box to choose a value for a field on your
form, then as long as the new combo box is bound to the field from the
recordsource, then the field will update when the user selects the new value
from the combo box.


I know this what you write here, field will always has the value which I
choose in Combo box. And, if I change the value in Combo box, that field will
show that new value
But I want to put this new value which I choose in combo box, in other field
on my form, which is already filled (bound field which becomes filled, when I
choose value in other unbound combo box).

The combo box used to select a record should not be bound (which is how you
have described it), as you don't want to change the value of the field on a
current record, but instead use that value to pull up a record. To use a
combo box to change the value of a field, it does need to be bound to that
field.


That Combo box which I made is really unbound. I will explain what is all
about. It's equipment DB, and i want to change location of some swith, for
example. I find that switch by it's serial number (by using unbound combo
box), and then other fields on my form have been filled (it's bound fields,
it is from one row from table). Now I want to change only one paramether
about this switch, to change location. So made new unbound combo box, with
all possible location (there are in other table), then choose some of them.
And finally, what to do, how to exchange this location of this switch?! When
I search for this switch next time, I want to show me updated location, not
the old one. So, can I put some command button, and which? Which action to
implement here?!
I write a lot now, I hope I explained my problem better?!
Smoki

Hope that helps.

--
Daryl S


"Smoki" wrote:

Hi,
I have DB, and I made form for searching specific data. It's form where I
choose value from Unbound field, and then other fields have been filled. But
I want then to change value of some of those fields. So, I made Combo box to
choose new value for that field. Just I don't know which action to use now to
exchange value of this field?

Thanks,
Smoki

  #4  
Old November 11th, 2009, 06:19 PM posted to microsoft.public.access.forms
Daryl S[_2_]
external usenet poster
 
Posts: 881
Default Refresh data on form

Smoki -

The combo box for the Location (which is a field you want to change on the
record) should be bound to the Location field on the form. This will cause
the newly selected Location to replace the original Location in the database.

--
Daryl S


"Smoki" wrote:



"Daryl S" wrote:

Smoki -

If you are using the new combo box to choose a value for a field on your
form, then as long as the new combo box is bound to the field from the
recordsource, then the field will update when the user selects the new value
from the combo box.


I know this what you write here, field will always has the value which I
choose in Combo box. And, if I change the value in Combo box, that field will
show that new value
But I want to put this new value which I choose in combo box, in other field
on my form, which is already filled (bound field which becomes filled, when I
choose value in other unbound combo box).

The combo box used to select a record should not be bound (which is how you
have described it), as you don't want to change the value of the field on a
current record, but instead use that value to pull up a record. To use a
combo box to change the value of a field, it does need to be bound to that
field.


That Combo box which I made is really unbound. I will explain what is all
about. It's equipment DB, and i want to change location of some swith, for
example. I find that switch by it's serial number (by using unbound combo
box), and then other fields on my form have been filled (it's bound fields,
it is from one row from table). Now I want to change only one paramether
about this switch, to change location. So made new unbound combo box, with
all possible location (there are in other table), then choose some of them.
And finally, what to do, how to exchange this location of this switch?! When
I search for this switch next time, I want to show me updated location, not
the old one. So, can I put some command button, and which? Which action to
implement here?!
I write a lot now, I hope I explained my problem better?!
Smoki

Hope that helps.

--
Daryl S


"Smoki" wrote:

Hi,
I have DB, and I made form for searching specific data. It's form where I
choose value from Unbound field, and then other fields have been filled. But
I want then to change value of some of those fields. So, I made Combo box to
choose new value for that field. Just I don't know which action to use now to
exchange value of this field?

Thanks,
Smoki

  #5  
Old November 12th, 2009, 09:29 PM posted to microsoft.public.access.forms
Smoki
external usenet poster
 
Posts: 54
Default Refresh data on form

But, when I change and set the Control Source for my Combo box to Location
field on my form, then this Combo box always has the same value as Location
field, and I can't change this value to any other.
Control source of Combo box is =[Text36], and Text36 is field of Location.

Maybe I didn't do something good?

Smoki

"Daryl S" wrote:

Smoki -

The combo box for the Location (which is a field you want to change on the
record) should be bound to the Location field on the form. This will cause
the newly selected Location to replace the original Location in the database.

--
Daryl S


"Smoki" wrote:



"Daryl S" wrote:

Smoki -

If you are using the new combo box to choose a value for a field on your
form, then as long as the new combo box is bound to the field from the
recordsource, then the field will update when the user selects the new value
from the combo box.


I know this what you write here, field will always has the value which I
choose in Combo box. And, if I change the value in Combo box, that field will
show that new value
But I want to put this new value which I choose in combo box, in other field
on my form, which is already filled (bound field which becomes filled, when I
choose value in other unbound combo box).

The combo box used to select a record should not be bound (which is how you
have described it), as you don't want to change the value of the field on a
current record, but instead use that value to pull up a record. To use a
combo box to change the value of a field, it does need to be bound to that
field.


That Combo box which I made is really unbound. I will explain what is all
about. It's equipment DB, and i want to change location of some swith, for
example. I find that switch by it's serial number (by using unbound combo
box), and then other fields on my form have been filled (it's bound fields,
it is from one row from table). Now I want to change only one paramether
about this switch, to change location. So made new unbound combo box, with
all possible location (there are in other table), then choose some of them.
And finally, what to do, how to exchange this location of this switch?! When
I search for this switch next time, I want to show me updated location, not
the old one. So, can I put some command button, and which? Which action to
implement here?!
I write a lot now, I hope I explained my problem better?!
Smoki

Hope that helps.

--
Daryl S


"Smoki" wrote:

Hi,
I have DB, and I made form for searching specific data. It's form where I
choose value from Unbound field, and then other fields have been filled. But
I want then to change value of some of those fields. So, I made Combo box to
choose new value for that field. Just I don't know which action to use now to
exchange value of this field?

Thanks,
Smoki

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 08:04 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.