I need to print optionfield in text. Creating about 60 textvariables is not an option. Instead I think it can be solved in the properties…Is this correct? Best Regards, Mark Trouwborst LIMO Automatisering B.V. tel +31 (0)182 631 333
Hi Mark! I’m not sure if i understand your problem!? You need a variable of the type “Option” and you want to print the value in a report? To create such a variable just type in the name of a global (or local) variable, select the type Option and type in the different option-values in the property “OptionString”. e.g. OptionVariable (Option [A,B,C]) To print it in a report just create a Textbox and set the property “SourceExpr” to “OptionVariable”, the result will show A or B or C (depending on the value). If you want to print out the integer-value of the options (A=0, B=1, C=2) you can use the FORMAT function: e.g. FORMAT(OptionVariable, 0, ‘’) The result will be 0 or 1 or 2 Regards, Jörg Joerg A. Stryk Apollo-Optik, IT/ERP Edited by - stryk on 2001 Mar 30 11:08:17
String := STRSUBSTNO(’%1’,optionvalue); ------- With best regards from Switzerland Marcus Fabian
How about a text type variable that is an array? Bill Benefiel Manager of Information Systems Overhead Door Company billb@ohdindy.com (317) 842-7444 ext 117