Hi Doug,
I have discovered the problem with altering the MPATH field in COREMETA.DBF. It appears to me that that path stored in this field is the path of the data relative to where the medata is stored. Since this application is using VFE the metadata is stored in the default metadata directory. Which in this case "..\Data\BOMDTL.DBF" is correct. I discovered this after the SDT update() method created the tables in the wrong directory, during the initial install. If I alter the MPATH field the tables are created in the wrong place. So it looks like I am going to have to modify the code. Any suggestions on how I can modify the sfcursormeta.fillcollection method to either account for the "..\" stored in the mpath field or strip it out? Please review the following code.
<>* Fill the collection with all free tables in DBCX.
<>if llDBCX and type('loMeta.cVersion') <> 'U'
<> lnCursors = loMeta.DBCXGetAllObjects('!T', @laCursors, 'CBmPath')
<> for lnI = 1 to lnCursors
<> lcPathCursor = fullpath(laCursors[lnI, 1], loMeta.cRegistryPath)
<> .GetCursorInformation(lcPathCursor, 'Table', '', loMeta)
<> next lnI
<>endif llDBCX ...
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only