내 문제는 매개 변수가있는 SP를 기반으로 동적으로 데이터 창을 만들려고합니다. 매개 변수없이 SP에서 동적으로 데이터 윈도우를 만들 수 있지만 parms을 사용하면이 오류가 발생합니다 - "프로 시저 매개 변수를 가져올 수 없습니다"동적 Datawindow 만드는 방법 매개 변수가있는 저장 프로 시저 사용
제안 사항을 알려주십시오.
내 코드 :
sql_syntax = "execute starsdba.SP_PROVIDER_LIST; as_Sql= From Users"
presentation_str = "style(type=grid)"
presentation_str = &
"style(type=Grid &
Horizontal_spread = 25 &
Header_bottom_margin = 15 &
Header_top_margin = 15) &
datawindow(units=2 &
Color= 67108864) &
column(Font.Face='system' &
Font.Height=-10 &
Font.Weight=700) &
text(Font.Face='system' &
Font.Height=-10 &
Font.Weight=700 &
Border=6)"
dwsyntax_str = SQLCA.SyntaxFromSQL(sql_syntax, &
presentation_str, ERRORS)
IF Len(ERRORS) > 0 THEN
MessageBox("Caution", &
"SyntaxFromSQL caused these errors: " + ERRORS)
RETURN
END IF
PB의 버전은 무엇입니까? – NoazDad