Report Visual Basic Codes

  • Thread starter Thread starter ai_enjoi via AccessMonster.com
  • Start date Start date
A

ai_enjoi via AccessMonster.com

Hi!

What should i put in Visual Basic so that the text box "Customer" will not be
visible and that the text box "SupplierName" will be visible if the value of
combo box "Expense" is equal to "5"?Thanks!
 
Hi

In the after_update event of Expense you could put something like

if me!expense = 5 then
me!suppliername.visible = true
me!customer.visible = false
end if

Note that I haven't tested the above...

James
 
Back
Top