You would have to use an I-type, e.g. ID: WHOLE.LOG 001 I 002 LOWER(@RECORD) 003 004 Whole Log 005 50L
Caveat: This works on jBASE 5. I have not tested it on other releases. To be perfectly honest, you chose the wrong data structure; instead of attributes, the log entries should be multi-values which would allow you to create a plain old dictionary item pointing to the attribute that contains the data. Dan On Mon, Oct 13, 2014 at 7:44 PM, <[email protected]> wrote: > Thanks for reading my post. I'm trying to display all entries from a log > file using its index (customerID). > > Some sample records from the log file might look like this: > > 123456 > 001 9/12/2014 Spoke with Bob on the phone. > 002 Confirmed date of departure. Reminded > 003 Bob to arrive early. > 004 9/14/2014 Emailed updated early arrival > 005 reminder to Bob. > 273647 > 001 8/15/2014 Sally called about pet policy. > 002 8/17/2014 Mailed pet policy to Sally at > 003 both addresses. > > I'd like to have a dictionary item WHOLE.LOG that returns the entire log > for a given customer so I can do something like: > > LIST CUSTOMER "123456" WHOLE.LOG > > and get back something like: > > customerID . . . Whole Log . . . . . . . . > 123456 9/12/2014 Spoke with Bob on the phone. > Confirmed date of departure. Reminded > Bob to arrive early. > 9/14/2014 Emailed updated early arrival > reminder to Bob. > > > Thanks again for looking! > > > > > On Monday, October 13, 2014 5:33:39 PM UTC-4, [email protected] wrote: > >> Hello, >> >> Hoping someone can help. I'm trying to define a dictionary item that >> will retrieve an entire record, not just a specific field from the record >> or multivalue from the field. Is this possible without using a subroutine? >> >> >> -- > -- > IMPORTANT: T24/Globus posts are no longer accepted on this forum. > > To post, send email to [email protected] > To unsubscribe, send email to [email protected] > For more options, visit this group at > http://groups.google.com/group/jBASE?hl=en > > --- > You received this message because you are subscribed to the Google Groups > "jBASE" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- -- IMPORTANT: T24/Globus posts are no longer accepted on this forum. To post, send email to [email protected] To unsubscribe, send email to [email protected] For more options, visit this group at http://groups.google.com/group/jBASE?hl=en --- You received this message because you are subscribed to the Google Groups "jBASE" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
