Searching Schemas

Kelly Burgess kellyb at montana.com
Tue Jan 26 21:37:54 UTC 2021


Hi Dawid,

Here's another approach - pass in pColumnName, get a list back.  I'm still wondering if you could flatten all that into a one-liner with a $sendall...

Kelly


Do schemaList.$define(schemaName)
Do $clib.$schemas.$first() Returns schemaRef
While schemaRef
	Do schemaRef.$objs.$findname(pColumnName) Returns colRef
	If colRef
		Do schemaList.$add(schemaRef.$name)
	End If
	Do $clib.$schemas.$next(schemaRef) Returns schemaRef
End While
Quit method schemaList




More information about the omnisdev-en mailing list