MAKEMSI quickly and reliably creates MSI files in a non-programmatic way
Have your say! Join the MAKEMSI discussion list or view archive! Suggest improvements. No question too simple or too complex.
[Bottom][Contents][Prev]: IceViewClose()[Next]: IceViewOpen()
Have your say! Join the MAKEMSI discussion list or view archive! Suggest improvements. No question too simple or too complex.
\->MAKEMSI Installs...->Available Frameworks->Validation Suites (create CUB files)->Functions - ICE->IceViewFetch()

IceViewFetch()

This subroutine retrieves the next record from a "view" (SQL query) previously opened with a call to "IceViewOpen()".

It returns a record containing all the selected columns of one record or "Nothing" The first column is at index 1 and the "StringData()" and "IntegerData()" methods can be used on each column to retrieve data.

This function takes these parameters:

  1. A "view" handle previously returned by a call to "IceViewOpen()".

EXAMPLE

Please see the "Sample Validation Suite" section for complex examples, a small fragment follows:

do
   ;--- Get next record, exit at end ---
   set oRec = IceViewFetch(oView)
   if oRec is nothing then exit do

   ;--- Process record ---
   Component  = oRec.StringData(1)      ;;1st field in record
   Attributes = oRec.IntegerData(2)     ;;2nd field in record
loop


Microsoft awarded me an MVP (Most Valuable Professional award) in 2004, 2005, 2006 & 2007 for the Windows SDK (Windows Installer) area.This external link was OK when tested at 23 Aug 2008Please email me any feedback, additional information or corrections.
See this page online (look for updates)

[Top][Contents][Prev]: IceViewClose()[Next]: IceViewOpen()


MAKEMSI© is (C)opyright Dennis Bareis 2003-2008 (All rights reserved).
Thursday August 28 2008 at 11:28am
Visit MAKEMSI's Home PageThis external link was OK when tested at 13 Aug 2008

HTML page dated Mon, 29 Jan 2007 00:11:11 GMT
Microsoft awarded me an MVP (Most Valuable Professional award) in 2004, 2005, 2006 & 2007 for the Windows SDK (Windows Installer) area.This external link was OK when tested at 23 Aug 2008