| View previous topic :: View next topic |
| Author |
Message |
joudiabouraied Newbie

Joined: 02 Feb 2009 Posts: 3 Location: Saudi Arabia
|
Posted: Mon Feb 02, 2009 4:04 am Post subject: Simple inventroy database |
|
|
HI,
i just started to use oobase, and i want to make small database to perform inventory of my stocks. i know how to do it in MS access, but not yet in OO! i can my tables and forms, but i need to make a formula to calculate the value of my stocks something like: sum(item price*quantity). this function is available in MS acess, but i didn't know how to make it in OO base.
Thnks for any response. |
|
| Back to top |
|
 |
RPG Super User

Joined: 24 Apr 2008 Posts: 2696 Location: Apeldoorn, Netherland
|
|
| Back to top |
|
 |
joudiabouraied Newbie

Joined: 02 Feb 2009 Posts: 3 Location: Saudi Arabia
|
Posted: Mon Feb 02, 2009 10:26 am Post subject: |
|
|
sorry, i'll try to make it clear:
in MS access: i'll make table contains: ID, item name, unit price, quantity.
then i'll creat form based on this table> in this form i'll add one blank field and open properties and in control source i'll type:
=[unit price]*[quantity]
it means unit price multiply quantity ,this will give me the total value of one item.
if i want to get the grand total of the stock i'll copy the new field and ulter the formula to:
sum([unit price]*[quantity]). this will give me the total amount of all items.
can OO base do that?
hope its clear enough.
thanks for help. |
|
| Back to top |
|
 |
RPG Super User

Joined: 24 Apr 2008 Posts: 2696 Location: Apeldoorn, Netherland
|
|
| Back to top |
|
 |
joudiabouraied Newbie

Joined: 02 Feb 2009 Posts: 3 Location: Saudi Arabia
|
Posted: Mon Feb 02, 2009 2:07 pm Post subject: Thanks |
|
|
Thank you Sir very much for your cooperation, hope i didn't bother you  |
|
| Back to top |
|
 |
|