General information
Category:
Databases,Tables, Views, Indexing and SQL syntax
Hi everybody!
Is there a way to send information to a Editbox when a trigger fires up?
I have a form with a editbox and I want know when an specific field (balance) is equal to 0. I tried with a trigger update and stored procedure but I can't figure out how to put this information into the editbox.
Here's my code:
Create trigger on inventory for Update as IsBalanceZero()
Procedure IsBalanceZero
if _triggerlevel = 1
if inventory.balance = 0 then
wait window "Equal to 0"
* here I'd like to send this info to the editbox
* thisform.Edit1.value = Inventory.Item_ID + "Re-order"
endif
return .t.
endif
EndProc
thanks in advance
Happy New Year!!!
Martin Alcaraz
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only