Report Visual Basic Codes

  • Thread starter ai_enjoi via AccessMonster.com
  • 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!
 
J

James

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
 

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

Top