By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,983 Members | 2,035 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,983 IT Pros & Developers. It's quick & easy.

cmd button freeze

P: n/a
NN
Hi,

Sorry another question...

I need to know of a way so that if txtInvoicesNumber = 0 then
cmdPrintInvoices can not be pushed.

Thanks,

Nick.
Oct 24 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a
"NN" <NO*@AVAILABLE.comwrote in news:qlx%g.77303$3D1.9983
@fe3.news.blueyonder.co.uk:
Hi,

Sorry another question...

I need to know of a way so that if txtInvoicesNumber = 0 then
cmdPrintInvoices can not be pushed.

Thanks,

Nick.
Put the statement below in the txtInvoiceNumber_afterUpdate
event, and also in the form_current event.

me.cmdPrintInvoices.enabled = NOT me.txtInvoiceNumber=0
--
Bob Quintal

PA is y I've altered my email address.

--
Posted via a free Usenet account from http://www.teranews.com

Oct 24 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.