VODBServer Editor in XIDE

This forum is meant for questions and discussions about the X# language and tools
Post Reply
User avatar
Neale
Posts: 24
Joined: Sat Mar 25, 2017 10:40 pm
Location: United Kingdom

VODBServer Editor in XIDE

Post 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
FFF
Posts: 1535
Joined: Fri Sep 25, 2015 4:52 pm
Location: Germany

VODBServer Editor in XIDE

Post 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?
Regards
Karl
(on Win8.1/64, Xide32 2.19, X#2.19.0.2.)
User avatar
Neale
Posts: 24
Joined: Sat Mar 25, 2017 10:40 pm
Location: United Kingdom

VODBServer Editor in XIDE

Post 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.
Post Reply