Is there a way that I could determine a MAP's type? I am thinking that if FWSite() was passed to a procedure it could do something like MAPType(FWSite()) = "dBValue" or MAPType(FWTrn())="RecordSet". This should work for all MAP types. If not I would like to suggest a new function for this purpose.
Code: Select all
Structure dBValue
StructureUnion
ValueD.d
ValueI.i
EndStructureUnion
ValueS.s
Type.s[1]
Chngd.a
EndStructure
; Record Set Structure
Structure RecordSet
Map Fld.dBValue()
EndStructure
Define NewMap FWSite.dBValue(),NewMap FWTrn.RecordSet()

