filtering

From: "sbelow" <sbelow(at)dundee(dot)net>
To: pgsql-sql(at)postgresql(dot)org
Subject: filtering
Date: 2001-06-27 13:43:32
Message-ID: 8ql_6.775$5d.347596@newshog.newsread.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

I'm using '
m_pSet->Open(AFX_DB_USE_DEFAULT_TYPE,"SELECT * FROM tblPMTasks WHERE
[TaskDue] = 1");
to filter out certain records.
I want to add a filter to the current one how can I go about this? Or should
I reconstruct to a basic 'Open()' statement and use this example given from
MSDN.

CCustSet rsCustSet( NULL );
// Set the filter
rsCustSet.m_strFilter = "state = 'CA'";
// Run the filtered query
rsCustSet.Open( CRecordset::snapshot, "Customers" );

Thanks in advance for your help
Steve

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Tom Lane 2001-06-27 14:07:52 Re: Plsql Function with error: No space left on device.
Previous Message David M. Richter 2001-06-27 13:06:36 Re: Plsql Function with error: No space left on device.