Initialize form fields

  • Thread starter Thread starter dapmco
  • Start date Start date
D

dapmco

Is there a way to build a string and execute the command to initialize
fields on a from within a loop, something like below? I thought the
eval command might work but doesnt seem to.



arry(1) = "Local"
arry(2) = "State"
arry(3) = "Federal"

For I = 1 To 3

TheString = "[Forms]![QBF]![LevelOfInterestUnbound]!" & arry(I) & " =
False""
Eval (TheString)

Next


Dave Taylor
 
Already answered in another newsgroup to which you posted the same question.

If you feel you need to post to more than one group (HINT: it's seldom
necessary), please have the courtesy to cross-post (send the one message to
all groups at once), rather than multi-post (send individual messages to
each group). In this way, all responses to your post will be available
together, regardless of what group the responder was in, and the rest of us
won't have to read your post multiple times. (It also uses fewer server
resources)

I can't tell whether you're using Mozilla to post, or Google's web
interface.

If you're using Google's web interface to post, you can type the names of
the various groups into the "To Newsgroups" box, separating each newsgroup
name with a comma.

I'm not sure exactly how you do it with Mozilla, but most newsgroup clients
allow you to select multiple newsgroups.

Note that it's generally consider to be A Bad Thing to cross-post to more
than about 2 or 3 newsgroups.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Initialize form fields 1
array initializer 4
Form Design Help 6
Dynamic variable name 4
Recording a Macro 3
#Error while trying to create DateValue in Access 0
Dynamic fields on forms 5
GridView - Hyperlink 1

Back
Top