I am currently working on a database where a user can create a report document. This document has a dialog list which draws its values from a view(which is populated by only one document). To do this I use the @dbcolumn command. This works fine for the form, but when I try to create a view which will be sorted so that the documents appear in the same order as the options in the dialog list my formula does not work.
The formula I use to sort the column is as follows
data := @DbColumn(“”;“”;“(property/RptType)”;2);
value :=“ReportTitle”;
For(i:=0; value<>data[i]; i:=i+1; count = i);
@return(count)
I am wondering if I am allowed to use the @Dbcolumn command in a view / any problems you may see with me code.