getting there

Robert Mann robmann at gp-racing.com
Wed Dec 27 18:26:32 CST 2006


We got it
had to change this VField_GetString(fldRed) & tab after tRec
to
put VField_String(fldRef) & tab after tRec
and it works
on to the next cards and hopefully all will work

Thanks
Robert Mann


-----Original Message-----
From: valentina-bounces at lists.macserve.net
[mailto:valentina-bounces at lists.macserve.net]On Behalf Of Ruslan
Zasukhin
Sent: Wednesday, December 27, 2006 5:42 PM
To: valentina at lists.macserve.net
Subject: Re: getting there


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]


_______________________________________________
Valentina mailing list
Valentina at lists.macserve.net
http://lists.macserve.net/mailman/listinfo/valentina



More information about the Valentina mailing list