getting there

Ruslan Zasukhin sunshine at public.kherson.ua
Thu Dec 28 00:42:18 CST 2006


On 06/27/12 5:32 PM, "Robert Mann" <robmann at gp-racing.com> wrote:

> IF recNum > 0 THEN
>    REPEAT recNum times
>    put empty into tRec
>    REPEAT with c = 1 to colNum
> put VCursor_Field(curID, c) & tab after tRec

Stop!

You ask here for Field REFERENCE !!!
Must be

     put VCursor_Field(curID, c) fldRef
     put VField_GetString(fldRed) & tab after tRec


>  END REPEAT
> put tRec & cr after fld "Select"
> get VCursor_Nextrecord(curID)
> IF the result = false THEN exit REPEAT
> END REPEAT
> END IF
> delete last char of fld "Select"
> 
> The above returns the following? It should return in column 1
> (1,2,3,4,5,6..)and in column two (Honda, Kawasaki...)
> 
> 176969688_176969992_
> 176969688_176969992_
> 176969688_176969992_
> 176969688_176969992_
> 176969688_176969992_
> 176969688_176969992_
> 176969688_176969992_
> 176969688_176969992_
> 176969688_176969992_
> 176969688_176969992_
> 176969688_176969992_
> 176969688_176969992_
> 176969688_176969992_
> 176969688_176969992_
> 176969688_176969992_
> 176969688_176969992_
> 
> It looks to me like it is only repeating the first record to recNum which is
> 16 times

-- 
Best regards,

Ruslan Zasukhin
VP Engineering and New Technology
Paradigma Software, Inc

Valentina - Joining Worlds of Information
http://www.paradigmasoft.com

[I feel the need: the need for speed]




More information about the Valentina mailing list