Oracle Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsDatabasesOracle Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old April 10th, 2012, 12:59 PM
tron's Avatar
tron tron is offline
SwollenMember
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2000
Location: the master control
Posts: 264 tron User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 13 h 14 m 57 sec
Reputation Power: 13
Dynamic fields with custom data type

I will try to make this simple. I am using an EBS API and it has a datatype called EGO_ITEM_PUB.ITEM_TBL_TYPE

It is essentially an object which has all of the fields for it's base table (which is MTL_SYSTEM_ITEMS_B).

When using the API, I do something like this...

l_item_table EGO_ITEM_PUB.ITEM_TBL_TYPE;

BEGIN

l_item_table(1).DESCRIPTION := 'TEST';

The above snippet works fine, however my question is this...

Can I somehow dynamically determine the property?

For example...I know the following won't work but I am essentially trying to do something like this (sorry I am not asking my question more clear...it is difficult to phrase it):

l_item_table EGO_ITEM_PUB.ITEM_TBL_TYPE;
v_field_name VARCAHR2(100);

BEGIN

v_field_name := 'DESCRIPTION';

l_item_table(1).v_field_name := 'TEST';

Any ideas?

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesOracle Development > Dynamic fields with custom data type

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap