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, 2008 & 2009 for the Windows SDK (Windows Installer) area.Please 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).
Saturday May 28 2022 at 3:11pm
Visit MAKEMSI's Home Page
Microsoft awarded me an MVP (Most Valuable Professional award) in 2004, 2005, 2006, 2007, 2008 & 2009 for the Windows SDK (Windows Installer) area.