Monday, December 13, 2010

VFX: Working with free table(s)

Free tables are found with SET PATH only. You can add your path in
cfoxappl.opendatabase after executing dodefault.

Source: http://forum.dfpug.de/bodyframe.afp?!_33L0GNLMNmsgid=728759

Code:
DODEFAULT()
IF __vfx_runtime
SET PATH TO data,kredit
ENDIF

Another scenario:
The free table's filename is using non default extension (ie. DAT instead of .DBF)

Solution:
* Make a copy of the .DAT file (with .DBF extension)
* In development stage, work with this DBF file
* Before last Build for deployment, 'browse' form data (.SCX) and modify Properties field for record(s) with Parent=Dataenvironment to change filename to .DAT

No comments:

Post a Comment