Home > Archive > MS Access database support > February 2006 > Report, Form Argument in a Procedure









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Report, Form Argument in a Procedure
Tim Marshall

2006-02-18, 9:23 am

I want to do exactly the same sort of control size/visibility/position
manipulation for a main "on screen display" form and multiple reports.
I've no problem with this and have done it many times for individual
forms and reports or multiple forsm or reports as long as they are in
the same collection (forms or reports). However, I'm not sure how to
write a sub for which the argument would be a report or a form. So that
I can write lines something like:

obj.txtTextBoxName.visible = True

For many textbox and label controls where "obj" is either something like
forms!frmForm or reports!rptReportNam
e.

PLease help...
--
Tim http://www.ucs.mun.ca/~tmarshal/
^o<
/#) "Burp-beep, burp-beep, burp-beep?" - Quaker Jake
/^^ "Whatcha doin?" - Ditto "TIM-MAY!!" - Me
Sponsored Links





Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive | Programming forum archive

Copyright 2008 droptable.com