다른 용도로 데이터 필터 인터페이스를 사용하고 싶습니다.
그런 다음 "select where" 절을 구문 분석하고 거기에 있는 정보를 사용해야 합니다.
Where 절을 구문 분석하고 식에서 다른 열을 식별할 수 있습니다.
그러나 그들을 참조하지
DFClause=Currentdatafilter << get where clause();<BR />SelectInnerExpr=Arg(parse(DFClause),1);<BR />// let assume for a second this will always return an expression of this type to simplify the example <BR />SelectInnerExpr= expr(:study_owner == "name" & :Is Electr. == 1);<BR /><BR />//so i can parse it with a simple for loop
for(iA=1,iA<=NArg(SelectInnerExpr),iA++,
TestColExp=Arg(Arg(SelectInnerExpr,iA),1); // here i can get the column as i need but as :ColumName
TestCol=eval(TestColExp); // so this does not really retun the column reference<BR /> colname= TestCol<< Get Name;
);
그러나 나는 열을 :ColumName으로 얻습니다.
이제 열 참조를 얻은 다음 스크립트를 계속하려면 어떻게 해야 합니까?
열 이름= TestCol << 이름 가져오기