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 3 of 6 Topic 30244 of 31596
Post > Topic >>

Re: set text box value in page header via vb

by info@[EMAIL PROTECTED] (Analysis&Solutions) May 13, 2008 at 07:11 PM

In <8025b659-fbc6-472f-b89e-a148efee037b@[EMAIL PROTECTED]
> lyle
fairfield <lyle.fairfield@[EMAIL PROTECTED]
> writes:

>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?

You'll have to clarify. :)


>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...

That's kind of what I did.  I created a hidden field on the form where 
the criteria are entered and re****t opened.  Then I have the text box on 
the re****t call a function that, in essence, does this (naming changed 
for brevity):

    If SysCmd(acSysCmdGetObjectState, acForm, "frmName") <> 0 Then
        getCriteria = "Criteria:  " & Forms("frmName")("aName").Value
    Else
        getCriteria = "Criteria:  none"
    End If

Perhaps not the best, most elegant, way, but it works.

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
tan12V112 Fri Dec 5 11:28:06 CST 2008.