How can I debug at runtime to find the value of an override setting?
This is for a lookup on a field in a UX.. Lookup defined as a Grid component and there is Advanced -> Override setting. Both the field and lookup grid are DBF, but I don't think that makes any difference to the question "how does the expression evaluate?".
- these work
DBF.table_name = "[PathAlias.ADB_Path]\\EMS\\Client.dbf"
DBF.table_name = "[PathAlias.ADB_Path]" +"\\EMS" +"\\Client.Dbf"
- these give an error 'extra characters at end of expression' when doing the lookup.
DBF.table_name = "[PathAlias.ADB_Path]\\" +"EMS" +"\\Client.Dbf"
DBF.table_name = "[PathAlias.ADB_Path]" +"\\" +"EMS" +"\\Client.Dbf"
Getting the component override settings in the xbasic tab and evaluating in the interactive window, the expressions seem the same.
Ultimately I need to replace EMS with an expression. This works when doing a grid lookup on a field in a grid.
Bill.
This is for a lookup on a field in a UX.. Lookup defined as a Grid component and there is Advanced -> Override setting. Both the field and lookup grid are DBF, but I don't think that makes any difference to the question "how does the expression evaluate?".
- these work
DBF.table_name = "[PathAlias.ADB_Path]\\EMS\\Client.dbf"
DBF.table_name = "[PathAlias.ADB_Path]" +"\\EMS" +"\\Client.Dbf"
- these give an error 'extra characters at end of expression' when doing the lookup.
DBF.table_name = "[PathAlias.ADB_Path]\\" +"EMS" +"\\Client.Dbf"
DBF.table_name = "[PathAlias.ADB_Path]" +"\\" +"EMS" +"\\Client.Dbf"
Getting the component override settings in the xbasic tab and evaluating in the interactive window, the expressions seem the same.
Code:
v = "DBF.table_name = \"[PathAlias.ADB_Path]"+chr(92)+chr(92)+"EMS"+chr(92)+chr(92)+"Client.Dbf\"" ?v = DBF.table_name = "[PathAlias.ADB_Path]\\EMS\\Client.Dbf" DBF.table_name = "[PathAlias.ADB_Path]\\EMS\\Client.Dbf" ?dbf.table_name = "[PathAlias.ADB_Path]\\EMS\\Client.Dbf" v = "DBF.table_name = \"[PathAlias.ADB_Path]\" +\""+chr(92)+chr(92)+chr(92)+"\" +\"EMS\" +\""+chr(92)+chr(92)+"Client.Dbf\"" ?v = DBF.table_name = "[PathAlias.ADB_Path]" +"\\\" +"EMS" +"\\Client.Dbf" DBF.table_name = "[PathAlias.ADB_Path]" +"\\\" +"EMS" +"\\Client.Dbf" ?dbf.table_name = "[PathAlias.ADB_Path]\\EMS\\Client.Dbf"
Bill.