Delphi Programming Forum
C++Builder  |  Delphi  |  FireMonkey  |  C/C++  |  Free Pascal  |  Firebird
볼랜드포럼 BorlandForum
 경고! 게시물 작성자의 사전 허락없는 메일주소 추출행위 절대 금지
델파이 포럼
Q & A
FAQ
팁&트릭
강좌/문서
자료실
컴포넌트/라이브러리
FreePascal/Lazarus
볼랜드포럼 홈
헤드라인 뉴스
IT 뉴스
공지사항
자유게시판
해피 브레이크
공동 프로젝트
구인/구직
회원 장터
건의사항
운영진 게시판
회원 메뉴
북마크
델마당
볼랜드포럼 광고 모집

델파이 Q&A
Delphi Programming Q&A
[14934] Re:access violation 인데 왜 그런지 몰겠어요..코드 첨부합니다.. 부탁좀 드릴게요..
gomsun2 [vhrvnd723] 1797 읽음    2014-01-13 01:37
For I := 0 to   nCount - 1 do


초보자 님이 쓰신 글 :
:
: procedure Tfrm0708.SetData ( szRealcode : String ;
:                              szName2 : String;
:                              szRealName : String );
: var
:   I : integer;
:   Data : String;
:   GridData : String;
: begin
:
:      Data := autosell.GetFieldData( 'OutBlock', szName2 )
:     For I := 0 to autosellGrid.RowCount-2   do
:     begin
:       GridData :=  autosellGrid.Cells[2,I+1];
:       if  GridData = szRealcode then
:
:       autosellGrid.Cells[3,I+1] := Data;
:
:       End;
: end
:
:
: procedure Tfrm0708.autosellQReceiveData(ASender: TObject;
:   const szTrCode: WideString);
:
:
: var
: //Data : WideString;
: Data2 : WideString; /
: I : Integer;
: nCount : Integer;
: begin
:
:    nCount :=autosellQ.GetBlockCount('t8407OutBlock1');
:    For I := 0 to   nCount  do
:    begin
:
:
:       data2 := autosellQ.GetFieldData('OutBlock1','shcode',I);
:       SetData ( data2 ,'price' , szTrCode );     
:         ====================> setdata 함수 호출하고 setdata에 있는 for문 다  돌고나서  access viloataion이 생기네요
:            setdata에 값들은 잘 들어가는 것 같구요... 에러 메시지 첨부합니다..
:
:    End;
:
: 고수님들 체크좀 해주시면 감사하겠습니다.

+ -

관련 글 리스트
14930 access violation 인데 왜 그런지 몰겠어요..코드 첨부합니다.. 부탁좀 드릴게요.. 초보자 1722 2014/01/11
14934     Re:access violation 인데 왜 그런지 몰겠어요..코드 첨부합니다.. 부탁좀 드릴게요.. gomsun2 1797 2014/01/13
Google
Copyright © 1999-2015, borlandforum.com. All right reserved.