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 > Re: set text bo...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 6 Topic 30244 of 31596
Post > Topic >>

Re: set text box value in page header via vb

by lyle fairfield <lyle.fairfield@[EMAIL PROTECTED] > May 12, 2008 at 08:00 PM

I can never figure out how General Joseph Stilwell (the father not the
son) could have been an American.

What has this got to do with this question? Well, in your mind
probably nothing. But in my mind, everything, and my mind is the only
mind I have available right now.

If I were doing this I guess I would take a clue from the "Now()"
thingme and create a public function in a standard module called
CriteriaBoxValue() that returned strWhere and set the value of the
SearchCriteriaBox Source to CriteriaBoxValue().
But who knows if that provides what's wanted. Only a direct test will
tell for sure.


On May 12, 10:17=A0pm, i...@[EMAIL PROTECTED]
(Analysis&Solutions) wrote:
> 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. =A0It works... but only
o=
n
> pages other than the first one.
>
> =A0 =A0DoCmd.OpenRe****t strRe****tName, acViewPreview, , strWhere
> =A0 =A0Re****ts(strRe****tName)("SearchCriteriaBox").Value =3D strWhere
>
> How can I get it to work on the first page too, please? =A0There are
other=
,
> regular text boxes in the page header that contain regular
> Control Sources in them, like =3DNow(), that are working fine. =A0The
> re****t's Page Header setting is "All Pages," as it should be.
>
> Thanks,
>
> --Dan
> --
> =A0T H E =A0 A N A L Y S I S =A0 A N D =A0 S O L U T I O N S =A0 C O M P
A=
 N Y
> =A0 =A0 =A0 =A0 =A0 =A0 data intensive web and database programming
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0http://www.AnalysisAndSolutions.com/
> =A04015 7th Ave #4, Brooklyn NY 11232 =A0v: 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
tan12V112 Fri Dec 5 11:33:32 CST 2008.