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
[9727] Re:제발 이소스좀 봐주세여
civilian [civilian] 850 읽음    2004-07-13 13:46
티나 님이 쓰신 글 :
: procedure TfrmOpen.btnViewReportClick(Sender: TObject);
: var
:    strQuery : string;
:    startDate, endDate : TDateTime;
: begin
:
:    strQuery := 'Select * From weight' + #13 +
:                'Where DateTime > :pStartDateTime' and DateTime < :pEndDateTime';
:
:    startDate := StrToDateTime(datetostr(dtpStartDate.Date)+ ' '+ cbStartTime.Text + ':00:00');
:    EndDate := StrToDateTime(datetostr(dtpEndDate.Date)+ ' '+ cbEndTime.Text + ':00:00');
:    with dm.adoQuery do begin
:       sql.Clear;
:       // sql.Text := strQuery;
        sql.Add('Select * From weight');
        sql.Add('Where DateTime > :pStartDateTime' and DateTime < :pEndDateTime');
        Parameters.ParseSQL(SQL.Text, True);
:       Parameters.ParamByName('pStartDateTime').Value := startDate;
:       Parameters.ParamByName('pEndDateTime').Value := endDate;
:    end;
:
: 위 소스가 'pStartDateTime' /'pEndDateTime' 파라미터를 찾을수 없다고 나오네여
: 제발 좀 갈켜주세요

+ -

관련 글 리스트
9720 제발 이소스좀 봐주세여 티나 778 2004/07/12
9727     Re:제발 이소스좀 봐주세여 civilian 850 2004/07/13
Google
Copyright © 1999-2015, borlandforum.com. All right reserved.