tsunami help
- Posted by "George Walters" <gwalters at sc.rr.com> Dec 16, 2003
- 453 views
I'm trying to figure out how to use tsunami record manager. Here's my problem/question. I have a record {1,250,"Company 250", 1,3....etc) which is a customer setup record. 1 = company number (integer) ( 2 digits max) 250 = customer number (integer) (6 digits max) the key in EUdata base would be " 1 250" rc = trmSegDef (1,"company", 1, 1, 2, 0) rc = trmSegDef (2,"CustNbr", 1, 2, 6, 0) Is this how I would try to define the segments? Reading the doc it would seem that the segment fields for a key should be strings not integers or atoms. So I'm confused on how to get back a record once it's been written. record = GegEqual(atom hFile, 1 , {1, 250})............Is this how? Or do I have to construct a string key and if so then I'm really confused how the input and output get matched up. thanks for any pointers. george