Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Microsoft Access > set text box va...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 6 Topic 30244 of 30792
Post > Topic >>

set text box value in page header via vb

by info@[EMAIL PROTECTED] (Analysis&Solutions) May 13, 2008 at 02:17 AM

Hi:

I'm using the following Visual Basic code to open a re****t and set the 
value of an unbound text box in its page header.  It works... but only on 
pages other than the first one.

   DoCmd.OpenRe****t strRe****tName, acViewPreview, , strWhere
   Re****ts(strRe****tName)("SearchCriteriaBox").Value = strWhere

How can I get it to work on the first page too, please?  There are other, 
regular text boxes in the page header that contain regular 
Control Sources in them, like =Now(), that are working fine.  The 
re****t's Page Header setting is "All Pages," as it should be.

Thanks,

--Dan
-- 
 T H E   A N A L Y S I S   A N D   S O L U T I O N S   C O M P A N Y
            data intensive web and database programming
                http://www.AnalysisAndSolutions.com/
 4015 7th Ave #4, Brooklyn NY 11232  v: 718-854-0335 f: 718-854-0409
 




 6 Posts in Topic:
set text box value in page header via vb
info@[EMAIL PROTECTED] (  2008-05-13 02:17:04 
Re: set text box value in page header via vb
lyle fairfield <lyle.f  2008-05-12 20:00:20 
Re: set text box value in page header via vb
info@[EMAIL PROTECTED] (  2008-05-13 19:11:43 
Re: set text box value in page header via vb
fredg <fgutkind@[EMAIL  2008-05-12 20:23:51 
Re: set text box value in page header via vb
info@[EMAIL PROTECTED] (  2008-05-13 19:06:26 
Re: set text box value in page header via vb
CDMAPoster@[EMAIL PROTECT  2008-05-15 17:38:09 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan13V112 Thu Jul 24 3:13:22 CDT 2008.