Would afields() do what you want? On 6 April 2018 18:19:47 GMT-04:00, Gene Wirchenko <ge...@telus.net> wrote: >Hello: > > I wish to compare two tables' structures. I have a transaction >table, and I wish to check that an import table matches up well enough. > > Well enough? All columns in the transaction table must be in >the import table and of the same type and size. If there are >additional column in the import table or if the columns are in a >different order, it does not matter. > > It would be nice to able to copy each structure into an array >and then compare them using scan(). > > Instead, I think that I have to copy structured extended to a >temporary table -- I would prefer a cursor -- and then copy from that >to an array for each of the two tables and only then compare. That >seems rather Rube-Goldbergian. > > I could be missing something. I hope I am. > > What is a good way of doing this? > >Sincerely, > >Gene Wirchenko > > [excessive quoting removed by server]
_______________________________________________ Post Messages to: ProFox@leafe.com Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/9c0052c8-ea7d-4ba7-9aaa-bfecc4ff8...@gmail.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.