S
Scott
Hi,
I'm trying to develope an Inventory Based database with
Access2k. I've run into a couple of snags.
1.) I need the "CurrentInventory" field to be able to
change (update) as the user adds or removes items on two
other fields. Unfortuantely, I can't get this to work.
The standard expression "=[CurrentInventory]+[Added]-
[Taken]refuses to work. So I was forced to use an unbound
text box named "Amount Left" to display the updated value.
Not really how I wanted it. But I don't know any other way
to make the "CurrentInventory" field behave properly.
2.)The second issue is that I'm using a lable
named "order" to become unhidden when the updated value
gets to a certain point using this type of VB code:
Private Sub Amount_Left_AfterUpdate()
If Me!Amount_Left <= 1 Then
order.Visible = True
Else
order.Visible = False
End If
End Sub
But it won't work with this unbound text box because it's
looking for a field to control it.
It would solve both problems if the "CurrentInventory"
field would just update off of the other Field values. But
it just isn't working.
Anyone have suggestions on how to approach this type of
database? Anyone have experience with making simple
Inventory databases that have examples I might study?
Thanks,
Scott
I'm trying to develope an Inventory Based database with
Access2k. I've run into a couple of snags.
1.) I need the "CurrentInventory" field to be able to
change (update) as the user adds or removes items on two
other fields. Unfortuantely, I can't get this to work.
The standard expression "=[CurrentInventory]+[Added]-
[Taken]refuses to work. So I was forced to use an unbound
text box named "Amount Left" to display the updated value.
Not really how I wanted it. But I don't know any other way
to make the "CurrentInventory" field behave properly.
2.)The second issue is that I'm using a lable
named "order" to become unhidden when the updated value
gets to a certain point using this type of VB code:
Private Sub Amount_Left_AfterUpdate()
If Me!Amount_Left <= 1 Then
order.Visible = True
Else
order.Visible = False
End If
End Sub
But it won't work with this unbound text box because it's
looking for a field to control it.
It would solve both problems if the "CurrentInventory"
field would just update off of the other Field values. But
it just isn't working.
Anyone have suggestions on how to approach this type of
database? Anyone have experience with making simple
Inventory databases that have examples I might study?
Thanks,
Scott