Q&A

  • TStringField 사용하는방법좀 알려주세요
Query1ACUCDE: TStringField;
    Query1ACUNAM: TStringField;
    Query1BDEDesigner00003: TStringField;
    Query1BDEDesigner00004: TStringField;
    Query1CUMCDE: TStringField;
    Query1CUMNAM: TStringField;
    Query1RSU: TStringField;
    Query1SETACC: TStringField;
    Query1EVCKNDCDE: TStringField;
    Query1MIDNAM: TStringField;
    Query1BDEDesigner00011: TFloatField;
    Query1BDEDesigner00012: TFloatField;
    Query1BDEDesigner00013: TFloatField;
    Query1MGTITMB: TStringField;
    Query1HGHDPTCDE: TStringField;
    Query1DPTNAM: TStringField;
    Query1MGTITMA: TStringField;
    Query1SUETCGBN: TStringField;
    Query1SUETCNO: TStringField;
    Query1MGTITMC: TStringField;
    Query1ACUCDE_1: TStringField;
    Query1ACUNAM_1: TStringField;
    Query1TSTTSTDAT: TStringField;
    Query1DBTOR_CLS: TStringField;
    Query2SLPCLS: TStringField;
    Query2MIDNAM: TStringField;
    Query2FMRTSTAPC: TStringField;
    Query2MIDNAM_1: TStringField;
    Query2SUGDAT: TStringField;
    Query2INIDAP: TStringField;
    Query2DPTNAM: TStringField;
    Query2CUMCDE: TStringField;
    Query2BSNNUM: TStringField;
    Query2CUMNAM: TStringField;
    Query2SETACC: TStringField;
    Query2INSEMP: TStringField;
    Query2EMPID_KR: TStringField;
    Query2BDEDesigner00014: TStringField;

소스 분석하다보니까 이렇게 선언된 부분이있던데..

Query안에있는 필드값을 TStringField로 선언한거같은데..

아무리 찾아봐도 어떤방법으로 사용해야하는지 알수가없네요..

어떤식으로 사용하는지 사용법(선언법)좀 알려주시기 바랍니다.
1  COMMENTS
  • Profile
    윤수아 2006.06.02 18:34
        DevanalysisQryDEVICE_CODE: TStringField;


        DEVString := FieldByname('DEVICE_CODE').AsString;
        이렇게 쓰셔두 되고...(대부분 이렇게 FieldByName을 써서 쓰는 걸로 알고 있습니다)
        DEVString := DevanalysisQryDEVICE_CODE.AsString;
        이런식으로 쓰셔도 되고요....