Quantcast
Channel: SCN: Message List - PowerBuilder Developer Center
Viewing all articles
Browse latest Browse all 7329

Re: How to call a structure inside another structure.

$
0
0

Hi Terry,

 

Thanks for the help.Can i use the array of structure inside the structure.As i want to return multiple rows of the data.

 

structure.PNG

 

 

 

In side the code, i am returning the structure as below.

 

s_structure1 str_parent[]
s_structure str_child[]

str_child[1].as_test='testing for embedded structure'
str_child[2].as_test='testing for embedded structure'
str_child[3].as_test='testing for embedded structure'
str_child[4].as_test='testing for embedded structure'
str_child[5].as_test='testing for embedded structure'


str_child[1].as_test1='testing for embedded structure Success'
str_child[2].as_test1='testing for embedded structure Success'
str_child[3].as_test1='testing for embedded structure Success'
str_child[4].as_test1='testing for embedded structure Success'
str_child.[5]as_test1='testing for embedded structure Success'

 

str_parent[1].as_str=str_child
str_parent[2].as_str=str_child
str_parent[3].as_str=str_child
str_parent[1].as_input='test'
str_parent[2].as_input='test1'
str_parent[3].as_input='testt2'


return str_parent

 

Please help on this.

 

Regards

Subrat

 

 



Viewing all articles
Browse latest Browse all 7329

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>