database.sarang.net
UserID
Passwd
Database
DBMS
MySQL
ㆍPostgreSQL
Firebird
Oracle
Informix
Sybase
MS-SQL
DB2
Cache
CUBRID
LDAP
ALTIBASE
Tibero
DB 문서들
스터디
Community
공지사항
자유게시판
구인|구직
DSN 갤러리
도움주신분들
Admin
운영게시판
최근게시물
PostgreSQL Q&A 1651 게시물 읽기
No. 1651
parameter 에 관한 error 도와 주십시요
작성자
이관희
작성일
2000-09-21 17:14
조회수
7,236

visual basic에서 param 이라는 변수를 설정해 "S%"라는 값을 지정을 해 주었는데

아래 식처럼 적으면 "attribute param not found" 라는 error 가 나옵니다.

어떻게 해야 인식을 할 수 있을지 도와주세요!

 

Dim param As ADODB.Parameter

Dim comm As Command

Dim rs As ADODB.Recordset

Dim str As String

 

private Sub Form_Load()

Set con = New ADODB.Connection

Set rs = New ADODB.Recordset

Set comm = New ADODB.Command

str = "provider=msdasql.1;persist security info=true;user id=infra;data source=postgresql;"

comm.ActiveConnection = str

Set param = comm.CreateParameter("", adBSTR, adParamInput, , "S%")

comm.Parameters.Append param

t.Text = param

comm.CommandText = "select * from tcp where part_no like param"

comm.Execute

rs.Open comm

 

End Sub

[Top]
No.
제목
작성자
작성일
조회
1658안녕하세요 질문 또 올립니다. 에러메시지인데요
이근호
2000-09-21
6771
1662┕>Re: 안녕하세요 질문 또 올립니다. 에러메시지인데요
정재익
2000-09-22 02:25:27
6812
1663 ┕>Re: Re: 안녕하세요 질문 또 올립니다. 에러메시지인데요
이근호
2000-09-22 04:04:59
6962
1665  ┕>Re: Re: Re: 안녕하세요 질문 또 올립니다. 에러메시지인데요
정재익
2000-09-22 12:27:39
6956
1655postgreSQL programmer 메뉴얼의 libpq라는 항목 (16번째)
이근호
2000-09-21
7111
1656┕>Re: postgreSQL programmer 메뉴얼의 libpq라는 항목 (16번째)
정재익
2000-09-21 21:26:26
7313
1652Postgres와 (서버) Windows programming(클라이언트)의 연결
이근호
2000-09-21
6423
1653┕>Re: Postgres와 (서버) Windows programming(클라이언트)의 연결
정재익
2000-09-21 19:50:24
6915
1654 ┕>Re: Re: Postgres와 (서버) Windows programming(클라이언트)의 연결
이근호
2000-09-21 21:04:44
6781
1657  ┕>Re: Re: Re: Postgres와 (서버) Windows programming(클라이언트)의 연결
정재익
2000-09-21 21:28:50
7094
1659   ┕>Re: Re: Re: Re: Postgres와 (서버) Windows programming(클라이언트)의 연결
이근호
2000-09-21 23:50:20
7228
1669    ┕>Re: Re: Re: Re: Re: Postgres와 (서버) Windows programming(클라이언트)의 연결
정재익
2000-09-22 18:39:24
7201
1651parameter 에 관한 error 도와 주십시요
이관희
2000-09-21
7236
1649데이터 베이스가 not null 값이라면 항상 값을 넣어야 한다는 것인가요?
알고싶어요.
2000-09-21
6515
1650┕>Re: 데이터 베이스가 not null 값이라면 항상 값을 넣어야 한다는 것인가요?
김종혁
2000-09-21 13:38:02
6999
1644날짜와 시간 함수
김성현
2000-09-20
7242
1646┕>Re: 날짜와 시간 함수
정재익
2000-09-20 11:09:25
7981
1643질문이 있습니다.
김준태
2000-09-19
5958
1645┕>Re: 질문이 있습니다.
정재익
2000-09-20 11:03:19
6460
1647 ┕>다시 질문입니다.
김준태
2000-09-20 16:29:42
6381
1648  ┕>Re: 다시 질문입니다.
정재익
2000-09-21 02:30:40
6226
Valid XHTML 1.0!
All about the DATABASE... Copyleft 1999-2024 DSN, All rights reserved.
작업시간: 0.022초, 이곳 서비스는
	PostgreSQL v16.2로 자료를 관리합니다