Firstly you should be familiar with what SHOULD happen when you use the XML-Data driver.
When you enter a command line like:
/cpy def:entity1.model ud7:
Uniface should give you a transcript window and an advertising window.
The advertising window will initially show the March Hare Toolkit banner, followed by 2 advertising banners on rotation explaining the features of the XML-Data driver.
The transcript window will show something like:
DEMO VERSION 1.0 OF UD7/XML-data DRIVER (C) COPYRIGHT MARCH HARE PTY LTD, 1999
8074 - Copied from 'DEF:ENTITY1.MODEL' to 'UD7:ENTITY1.MODEL' total records/rows 3.
The following files are created:
browseEntity1.htm
Entity1.xml
entity1Schema.xml
tableEntity1.htm
These files are created in the DEFAULT directory as specified in the windows NT shortcut properties:
'Start in:', which by default is usually your 'usys:..\bin' directory.
If you are not getting the 'DEMO VERSION 1.0...' message in the transcript or the advertising banner the problem is due to the fact that elsewhere in your assignment file you are directing Uniface to store the 'entity1' in another path. This actually will override the command line....
eg: usys:usys.asn
[ENTITIES]
*.model$DB3:*.*
Temporarily comment out this line and use the command:
/cpy db3:entity1.model ud7:
If you get the following transcript:
Unable to locate 3GL function UDBUD7.
8068 - Copy failed: Open error on output file/table 'UD7:ENTITY1.MODEL'.
You need to modify your usys:..\bin\usys.ini file to include UD7x.dll in the DEMANDLOAD line.
$Revision: 1.10 $ $Date: 2011/02/28 02:56:33 $ | [go to top] |