want to use a form and have a table field be updated

  • Thread starter Thread starter jp
  • Start date Start date
J

jp

i have 1 table, i want to have a field be input on a form and havbe
anotherfield be calculated..
for example field 1: 'number of items'
on the form i enter 25 inot that field
I want another field on theform: 'total' to be the value entered in
field 1 'number of items' Multiplied by a specifc #

how is the brst way to do this? i tried using the form and field properties
of the field # 2 and expression builder.. but it did not seem to work.. is
there a better way?
 
Just add an unbound text box to your form. Put the following in it...

= [SomeFieldName] * 1234

enter the field name desired and the specific number desired.

Rick B
 
thanks..
i created an unbound field.. and added this via event builder:
=[Shares Owned]*12.24

where shares owned is a field in the table and form...
i added this on the change.. but nothing seems to happen when i test it..
any thoughts on what i may be doing wrong?
i tried chagning the event to other occasions: on update, on exit ect..but
the value in the unbound text box still shows as 0
i tried the field properties from general and currency neither works..


Rick B said:
Just add an unbound text box to your form. Put the following in it...

= [SomeFieldName] * 1234

enter the field name desired and the specific number desired.

Rick B


jp said:
i have 1 table, i want to have a field be input on a form and havbe
anotherfield be calculated..
for example field 1: 'number of items'
on the form i enter 25 inot that field
I want another field on theform: 'total' to be the value entered in
field 1 'number of items' Multiplied by a specifc #

how is the brst way to do this? i tried using the form and field properties
of the field # 2 and expression builder.. but it did not seem to work..
is
there a better way?
 
no event. I said....

Just add an unbound text box to your form. Put the following in it...

There is no code involved.

Just paste your formula into the field.


Rick B



thanks..
i created an unbound field.. and added this via event builder:
=[Shares Owned]*12.24

where shares owned is a field in the table and form...
i added this on the change.. but nothing seems to happen when i test it..
any thoughts on what i may be doing wrong?
i tried chagning the event to other occasions: on update, on exit ect..but
the value in the unbound text box still shows as 0
i tried the field properties from general and currency neither works..


Rick B said:
Just add an unbound text box to your form. Put the following in it...

= [SomeFieldName] * 1234

enter the field name desired and the specific number desired.

Rick B


jp said:
i have 1 table, i want to have a field be input on a form and havbe
anotherfield be calculated..
for example field 1: 'number of items'
on the form i enter 25 inot that field
I want another field on theform: 'total' to be the value entered in
field 1 'number of items' Multiplied by a specifc #

how is the brst way to do this? i tried using the form and field properties
of the field # 2 and expression builder.. but it did not seem to work..
is
there a better way?
 
thanks rick its working now.. i appreciate your assistance..

Rick B said:
no event. I said....

Just add an unbound text box to your form. Put the following in it...

There is no code involved.

Just paste your formula into the field.


Rick B



thanks..
i created an unbound field.. and added this via event builder:
=[Shares Owned]*12.24

where shares owned is a field in the table and form...
i added this on the change.. but nothing seems to happen when i test it..
any thoughts on what i may be doing wrong?
i tried chagning the event to other occasions: on update, on exit
ect..but
the value in the unbound text box still shows as 0
i tried the field properties from general and currency neither works..


Rick B said:
Just add an unbound text box to your form. Put the following in it...

= [SomeFieldName] * 1234

enter the field name desired and the specific number desired.

Rick B


i have 1 table, i want to have a field be input on a form and havbe
anotherfield be calculated..
for example field 1: 'number of items'
on the form i enter 25 inot that field
I want another field on theform: 'total' to be the value entered in
field 1 'number of items' Multiplied by a specifc #

how is the brst way to do this? i tried using the form and field
properties
of the field # 2 and expression builder.. but it did not seem to
work..
is
there a better way?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top