fbpx
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

VODBServer Editor in XIDE 16 Feb 2021 21:05 #17511

  • Neale's Avatar

  • Neale

  • Topic Author


  • Posts: 18
  • 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

    Please Log in or Create an account to join the conversation.

    VODBServer Editor in XIDE 16 Feb 2021 21:32 #17512

  • FFF's Avatar

  • FFF


  • Posts: 1082
  • 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 (X# 2.7; Xide 1.27; W8.1/64 German)

    Please Log in or Create an account to join the conversation.

    VODBServer Editor in XIDE 16 Feb 2021 21:38 #17513

  • Neale's Avatar

  • Neale

  • Topic Author


  • Posts: 18
  • 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.

    Please Log in or Create an account to join the conversation.

    Last edit: by Neale.
    • Page:
    • 1