1 function to change multiple textfield values?

K

knarf

I want to change multiple textfields (& captions, which comes down to the
same problem)

textfields contain image path references (string) e.g.:
'path_0' contains 'c:\data\file1.txt'
'path_1' contains 'c\data\file2.txt'

I want to be able to change all textfields in one simple expression (picNum
can have any integer)

Eval("me.path_" & picNum & ".value = 'c:\whatever.txt' ")

... results in Error 2482 : can't find path_0
- however, absolute referencing to path_0.value works.
- have tried replacing me

Any ideas?

Frank
 

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

Top