#include "SaRnHtml.h"
void SaPopulateMasDetHotList(Widget list, XtPointer client_data, SaCallbackStruct *cbs);
client_data
is typecast to an integer and used to determine the column by which to group. You should use an order by clause on this column in your Stored Procedure or DSQL Object. The remaining columns are used to display to the user. The group by column does appear in the Anchor but as a separate line of text when its value is changed. Its format is:
<BR><H2>column name : value</H2><BR>The following fragment shows how to use this call:
##Sa_Authors##<A HREF="http://cezanne/cgi-bin //popcall.cgi?FNC=authors__Asamp_html"
>TEMP</A>
/*** the following ad-hoc example can be used without
templates **/
SaCallbackStruct *cbs;
cbs = SaExecSQL("CEZANNE", "pubs2", SGESYBASE, "select * from authors");
/*** calls to set the beginning HTML context ***/
SaPopulateMasDetHotList(NULL, (void*)6, cbs);
/*** calls to complete the HTML context ***/
SaFreeCbs(cbs);