I downloaded the trial version of Saforms. But, this version is limited
to up 8 records. Because of this, I can't to evaluate the performance
using large databases. Could you all help me, please?
For example:

How many time it needs to show a selectlist within 700 customers records
(size of the record is 140 characthers)?
In C (CW6) it will be something like this:

        NumRecs=DmNumRecords(PrevendaDB);
        i=0;
        for (IndRec=0;IndRec < NumRecs;IndRec++)
                {
                HandleCust=DmQueryRecord(PrevendaDB, IndRec);
                Record=MemHandleLock(HandleCust);
                while (*Record!='\0') 
                        { 
                         txtlist[i++]=*Record++;
                        } 
                 txtlist[i++]='\0';
                MemHandleFree(HandleCust);
                }
        list = SysFormPointerArrayToStrings(txtlist, IndRec);
        itens = MemHandleLock(lista);
        frmlist = (ListPtr)GetObjectPtr(ClienteListCliList);
        LstSetListChoices(frmlist,itens,IndRec);
        FrmDrawForm(frmCustomer);

thanks in advance...
Roberto

Reply via email to