Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CallByName function help
Message
De
16/01/2002 20:54:55
 
Information générale
Forum:
Visual Basic
Catégorie:
Autre
Divers
Thread ID:
00605285
Message ID:
00605854
Vues:
11
Hi,

Thank for your help, I had find a solution to my problem.
Pls refer to this url for more detail

http://www.vb2themax.com/Item.asp?PageID=TipBank&ID=225


>Have you tried my other suggestion?
>>Hi,
>>
>>In that case, is there any other suggestion or method
>>to solve my issue. Thank you
>>
>>>CallByName cannot be used with control arrays.
>>>
>>>>Hi,
>>>>
>>>>One of my form which is using the CallByName function is giving
>>>>run-time error of '438', does not support this method or properties.
>>>>The frmMain is one of my form name, while txtheader is actually
>>>>an array of my textbox which start from 0 to 5. I want to be
>>>>able to control which of the textbox to output my display.
>>>>Please kindly advise me on to solve this issue. Thank you
>>>>
>>>>
>>>>My code below all give the same error.
>>>>
>>>>CallByName frmMain,"txtHeader(0)",vbLet, "Testing1" <<=== not working
>>>>
>>>>or
>>>>
>>>>CallByName frmMain,"txtHeader0",vbLet, "Testing2" <<=== not working
>>>>
>>>>
>>>>But
>>>>
>>>>CallByName frmMain,"txtHeader",vbLet, "Testing" <<=== work
Best Regards
Virusim
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform