Hi Dan,
Try:
String selectedStation = getDisplayFieldValue("CbStations").toString();
instead.
That should work for you.
Beth
-------------------------------------------------------------------------
Beth Elicia Finn Competitive Media Reporting
Applications Developer 1385 Enterprise Drive
[EMAIL PROTECTED] West Chester, PA 19380
http://www.cmr.com/ (610) 430-6404
"Howarth, Dan" <[EMAIL PROTECTED]> on 08/20/99 02:46:13 PM
To: "'[EMAIL PROTECTED]'"
<[EMAIL PROTECTED]>
cc: (bcc: Beth Finn/CMR)
Subject: [ND] Newbie Question
Am brand-new to NetD and am attempting to develop our first app and I'm
having problems with the code to retrieve the selected value from a combo
box called CbStations. The code I have is:
String selectedStation =
CSpDisplayField.getValue("CbStations").stringValue();
It fails with the following error:
java:23: Incompatible type for method. Can't convert java.lang.String to
int.
String selectedStation =
CSpDisplayField.getValue("CbStations").stringValue();
any help on the correct coding syntax would be greatly appreciated. thanks.
PG&E Gas Transmission Texas and any other company referenced herein which uses
the PG&E name or logo are not the same company as Pacific Gas and Electric
Company, the California utility. These companies are not regulated by the
California Public Utilities Commission, and customers do not have to buy
products from these companies in order to continue to receive quality regulated
services from the utility.
_________________________________________________________________________
For help in using, subscribing, and unsubscribing to the discussion
forums, please go to: http://www.netdynamics.com/support/visitdevfor.html
For dire need help, email: [EMAIL PROTECTED]
_________________________________________________________________________
For help in using, subscribing, and unsubscribing to the discussion
forums, please go to: http://www.netdynamics.com/support/visitdevfor.html
For dire need help, email: [EMAIL PROTECTED]