Re: 4GL: Record wtihin a record input
Posted in 1995
This one could generate lots of mail. So let's put a stop to it right now. In a relational database there is no requirement or provision for an array within a record. 4GL is designed as a language to work with relational databases. It is therefore very unreasonable to expect the language to do what you are asking it to do. > Hello all, > I have a record defined as below: > > g_record RECORD > gv_1 CHAR(10), > gv_2 CHAR(5), > gv_3 CHAR(2), > ga_array ARRAY[1000] OF RECORD > gv_4 CHAR(20), > gv_5 CHAR(15) > END RECORD > END RECORD > > I want to do an input statement like: > INPUT g_record.gv_1 THRU g_record.ga_array > FROM ..... > > I can't get this to work. The only input statement that will work > is to list each variable (including the 1000 elements of the > array) by itself. > > Am I missing something or is that the way it has to be? > > Thanks > > -- > Bob Smith > Supreme Court of Virginia > 75151.765@compuserve.com Malcolm Weallans Online Database Consultancy Phone 01628-72154 Fax 01628-37463 CIX - onlinedbc