xsharp.eu • VODBServer Editor in XIDE
Page 1 of 1

VODBServer Editor in XIDE

Posted: Tue Feb 16, 2021 8:05 pm
by Neale
Hello All
The VODBServer Editor in XIDE seems to create ASSIGN'S that need to be modified, and also when any changes are made in the editor a duplicate method is created in the .prg , GetFieldInfo<fieldname>() which in turn generates duplicate method errors (I have copied theCAVODED.tpl to the CONFIG folder under the PROJECTS folder as per help file instructions). I assume its WIP and I am not doing anything wrong ??
I have tried in an new aplication with same results.

Neale

VODBServer Editor in XIDE

Posted: Tue Feb 16, 2021 8:32 pm
by FFF
Neale,
to modify the Assign syntax you have to edit CAVOFED.TPL, not CAVODED.TPL.
I have:
[DBSERVER]
ASSIGN %hlname%(uValue AS %usualtype%) AS %usualtype% PASCAL CLASS %servername%
SELF:FieldPut(#%hlname%, uValue)
RETURN
Re the duplicate method i never saw this, could you describe exactly, what you are doing to provoke this?

VODBServer Editor in XIDE

Posted: Tue Feb 16, 2021 8:38 pm
by Neale
Thanks for the info will edit CAVOFED.TPL, re duplicate methods I just have to use the editor make a small change and another of the same name is generated.