Initialize form fields

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
 
D

Douglas J. Steele

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