Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.clipper.visual-objects > #10675

Re: bArrayServer Seek() Problem

From Martin <Martin@spam.spam>
Newsgroups comp.lang.clipper.visual-objects
Subject Re: bArrayServer Seek() Problem
Date 2017-06-13 09:55 +0100
Organization A noiseless patient Spider
Message-ID <oho93v$6tf$1@dont-email.me> (permalink)
References <873365fb-38bd-42c2-b39d-cd0559b76001@googlegroups.com> <ohnnfh$n92$1@news.albasani.net>

Show all headers | View raw


And also is the notificiation disabled?

On 13/06/2017 04:51, Jamal wrote:
> Paul,
>
> Classic response that every classic VO developer should be doing:
>
> Check the success of CreateOrder.
> Make the values you are searching for are correct.
> Where is your SetOrder() ?
> In the Seek() set the lSoftSeek (2nd parameter)  to FALSE.
>
> Jamal
>
> "Paulo Oliveira"  wrote in message
> news:873365fb-38bd-42c2-b39d-cd0559b76001@googlegroups.com...
>
> Hi all,
>
> I have a Order in a bArrayServer like this:
> SELF:obdbEstruturaFinal:CreateOrder("server:CMARCA+server:PRODUTO+Str(server:SANOCALC,4,0)+Str(server:INRCALC,6,0)")
>
>
> And this don't work:
>
> cChaveOri:=CMARCA+PRODUTO+Str(SANOCALC,4,0)+Str(INRCALC,6,0)
>
> SELF:obdbEstruturaFinal:Seek(cChaveOri)
> cChave:=SELF:obdbEstruturaFinal:CMARCA+SELF:obdbEstruturaFinal:PRODUTO+Str(SELF:obdbEstruturaFinal:SANOCALC,4,0)+Str(SELF:obdbEstruturaFinal:INRCALC,6,0)
>
>
> DO WHILE cChave==cChaveOri
> SELF:obdbEstruturaFinal:FIELDPUT(#DDTPROD,dData)
>  SELF:obdbEstruturaFinal:FIELDPUT(#SEMANA,ClipWeekNumber(dData))
> SELF:obdbEstruturaFinal:Skip()
> cChave:=SELF:obdbEstruturaFinal:CMARCA+SELF:obdbEstruturaFinal:PRODUTO+Str(SELF:obdbEstruturaFinal:SANOCALC,4,0)+Str(SELF:obdbEstruturaFinal:INRCALC,6,0)
>
> ENDDO
>
> What is Wrong? The seek in bArrayServer is not equal of the seek in
> bdbserver?
>
> TIA
> Paulo Oliveira

Back to comp.lang.clipper.visual-objects | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

bArrayServer Seek() Problem Paulo Oliveira <paulofvoliveira@gmail.com> - 2017-06-12 14:14 -0700
  Re: bArrayServer Seek() Problem "Jamal" <noooospam@example.com> - 2017-06-12 23:51 -0400
    Re: bArrayServer Seek() Problem Martin <Martin@spam.spam> - 2017-06-13 09:55 +0100
  Re: bArrayServer Seek() Problem Gerhard Bunzel <g.bunzel@domonet.de> - 2017-06-13 14:31 +0200
  Re: bArrayServer Seek() Problem Paulo Oliveira <paulofvoliveira@gmail.com> - 2017-06-14 02:33 -0700
    Re: bArrayServer Seek() Problem Gerhard Bunzel <g.bunzel@domonet.de> - 2017-06-14 15:39 +0200

csiph-web