NexusDB Aurelius Export

Hi,

I have lots of fields called GUID in my NexusDB tables which is a reserved name so when I access them in SQL i have to use "GUID". I s there any way of making the export aware of this for use in tMS Web?

Thanks,

Ken

Please check: https://www.tmssoftware.com/site/forum/forum_posts.asp?TID=11429&KW=oncolumngenerated&title=force-sqare-brackets-mssql-in-generated-script.


Maybe you can adapt to your own use? Like: 



procedure OnColumnGenerated(Args: TColumnGeneratedArgs);
var
  Expr: TCodeSnippetExpression;
begin
  Expr := TCodeSnippetExpression(Args.ColumnAttr.Arguments[0].Value);
  if Expr.Value = #39'GUID'#39 then
    Expr.Value := #39#34'GUID'#34#39;
end;

Wagner R. Landgraf2018-10-24 23:27:25