![]() ![]() ![]() |
int CCFXQuery::AddRow(void)
Add a new row to the query. You should call this function each time you want to append a row to the query.
Returns the index of the row that was appended to the query.
The following example demonstrates the addition of 2 rows to a query that has 3 columns ('City', 'State', and 'Zip'):
// First row int iRow ; iRow = pQuery->AddRow() ; pQuery->SetData( iCity, iRow, "Minneapolis" ) ; pQuery->SetData( iState, iRow, "MN" ) ; pQuery->SetData( iZip, iRow, "55345" ) ; // Second row iRow = pQuery->AddRow() ; pQuery->SetData( iCity, iRow, "St. Paul" ) ; pQuery->SetData( iState, iRow, "MN" ) ; pQuery->SetData( iZip, iRow, "55105" ) ;
![]() ![]() ![]() |
AllaireDoc@allaire.com
Copyright © 1998, Allaire Corporation. All rights reserved.