define variable area as IArea no-undo.
define variable extent as IExtent no-undo. assign area = service:NewArea("OrderDataArea") area:ClusterSize = 8 area:RecordsPerBlock = 32 extent = service:NewExtent() extent:Size = 1024 extent:Path = "C:\db"). area:Extents:Add(extent). service:CreateArea(area). |