Home » Developer & Programmer » Forms » bout accesing item's value through string
bout accesing item's value through string [message #84846] Tue, 04 May 2004 21:09 Go to next message
sandeep kumar
Messages: 13
Registered: April 2004
Junior Member
im having item's name in string,
ex a varchar2(10);
a:='yr';-----yr is a database field
now i want value of yr through a ,how can i get it
Re: bout accesing item's value through string [message #84853 is a reply to message #84846] Wed, 05 May 2004 09:28 Go to previous messageGo to next message
Kavitha
Messages: 40
Registered: December 1999
Member
a=:blockname.filedname

Ex:IF BLOCKNAME IS EMPLOYEE AND
FILED NAME IS FNAME(HERE FNAME IS DATABASE FIELD)
ANS IS a=:EMPLOYEE.FNAME
Re: bout accesing item's value through string [message #84860 is a reply to message #84853] Wed, 05 May 2004 22:39 Go to previous messageGo to next message
sandeep kumar
Messages: 13
Registered: April 2004
Junior Member
hi kavitha,
u haven't understood the qu. properly
i don't want to stor a string into variable from field it's what ur doing,but i m already having a field name in string,
for
ex.
a:='yr';
now yr is a field and i want value of yr through a ,
:a won't work ,saying bad bind variable
Re: bout accesing item's value through string [message #84867 is a reply to message #84860] Thu, 06 May 2004 05:34 Go to previous messageGo to next message
ram kumar
Messages: 113
Registered: August 2002
Senior Member
heloo!
as ...a i contains filed yr value......
just say a...instaed :a..
Ram
Re: bout accesing item's value through string [message #84876 is a reply to message #84867] Thu, 06 May 2004 19:21 Go to previous message
sandeep kumar
Messages: 13
Registered: April 2004
Junior Member
hi,
thanks for replying but it won't work as a simply will return yr not value of yr,perhaps u did't test it,
if any other idea works tell me
sandeep
Previous Topic: ANYONE PLEASE HELP ME IN REGARD OF a CALENDER!
Next Topic: Form is always hanging at perticular point,help needed!
Goto Forum:
  


Current Time: Tue May 07 06:16:22 CDT 2024