Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.clipper.visual-objects > #5619 > unrolled thread
| Started by | Krystian <softb@softb.pl> |
|---|---|
| First post | 2013-08-01 14:35 -0700 |
| Last post | 2013-08-05 05:16 -0700 |
| Articles | 4 — 2 participants |
Back to article view | Back to comp.lang.clipper.visual-objects
ArrayServer and seek Krystian <softb@softb.pl> - 2013-08-01 14:35 -0700
Re: ArrayServer and seek Joachim Bieler <support@votools.com> - 2013-08-02 07:15 +0200
Re: ArrayServer and seek Krystian <softb@softb.pl> - 2013-08-02 00:59 -0700
Re: ArrayServer and seek Krystian <softb@softb.pl> - 2013-08-05 05:16 -0700
| From | Krystian <softb@softb.pl> |
|---|---|
| Date | 2013-08-01 14:35 -0700 |
| Subject | ArrayServer and seek |
| Message-ID | <82676213-1e3c-4926-9e71-ca6ff91bb912@googlegroups.com> |
Hi once again,
I do not know where is the problem in this piece of code; I create an array server with only one field and copy some records from a database file
tab_dane := {}
tab_stru := {{'Osr_koszt', 'C', 15, 0}}
ps_koszt:Eval({||AAdd(tab_dane, Osr_koszt)}, {|| Do_brygady = 'T'})
ps_koszt:Close()
SELF:as_koszt := bArrayServer{tab_stru, tab_dane, BINACTIVE, BDATAFORMAT_DBASE}
ret := SELF:as_koszt:CreateOrder("Server:Osr_koszt") -> true
Why ret is true even if I give wrong field name into a create order method ?
ret := SELF:as_koszt:CreateOrder("Server:Osr_koszta") -> true
Why I must set in clipper compatibility properties the undeclared variables check box, to be able to compile the module ?
ret := SELF:as_koszt:Seek('Adm') -> false although the entity Adm exists;
why the seek operation fails ?
It seems to be so simple, but it does not work. What is the matter ?
With regards
Krystian
Sometimes this lan
[toc] | [next] | [standalone]
| From | Joachim Bieler <support@votools.com> |
|---|---|
| Date | 2013-08-02 07:15 +0200 |
| Message-ID | <b60tkdFi1e1U1@mid.individual.net> |
| In reply to | #5619 |
Hello Krystian,
no problems with bArrayServer and orders are known to me. Please send me a test application with
which I can reproduce the problem.
Which VO version do you use?
Which bBrowser version do you use?
Regards,
Joachim Bieler
HTML clipboard
Am 01.08.2013 23:35, schrieb Krystian:
> Hi once again,
>
> I do not know where is the problem in this piece of code; I create an array server with only one field and copy some records from a database file
> tab_dane := {}
> tab_stru := {{'Osr_koszt', 'C', 15, 0}}
>
> ps_koszt:Eval({||AAdd(tab_dane, Osr_koszt)}, {|| Do_brygady = 'T'})
> ps_koszt:Close()
>
> SELF:as_koszt := bArrayServer{tab_stru, tab_dane, BINACTIVE, BDATAFORMAT_DBASE}
> ret := SELF:as_koszt:CreateOrder("Server:Osr_koszt") -> true
>
> Why ret is true even if I give wrong field name into a create order method ?
> ret := SELF:as_koszt:CreateOrder("Server:Osr_koszta") -> true
>
> Why I must set in clipper compatibility properties the undeclared variables check box, to be able to compile the module ?
>
> ret := SELF:as_koszt:Seek('Adm') -> false although the entity Adm exists;
> why the seek operation fails ?
>
> It seems to be so simple, but it does not work. What is the matter ?
>
> With regards
> Krystian
> Sometimes this lan
>
>
[toc] | [prev] | [next] | [standalone]
| From | Krystian <softb@softb.pl> |
|---|---|
| Date | 2013-08-02 00:59 -0700 |
| Message-ID | <f058a660-cfa2-43a8-8441-03dd33bb32f8@googlegroups.com> |
| In reply to | #5621 |
W dniu piątek, 2 sierpnia 2013 07:15:58 UTC+2 użytkownik Joachim Bieler napisał:
> Hello Krystian,
>
>
>
> no problems with bArrayServer and orders are known to me. Please send me a test application with
>
> which I can reproduce the problem.
>
>
>
> Which VO version do you use?
>
>
>
> Which bBrowser version do you use?
>
>
>
> Regards,
>
> Joachim Bieler
>
>
>
>
>
> HTML clipboard
>
> Am 01.08.2013 23:35, schrieb Krystian:
>
> > Hi once again,
>
> >
>
> > I do not know where is the problem in this piece of code; I create an array server with only one field and copy some records from a database file
>
> > tab_dane := {}
>
> > tab_stru := {{'Osr_koszt', 'C', 15, 0}}
>
> >
>
> > ps_koszt:Eval({||AAdd(tab_dane, Osr_koszt)}, {|| Do_brygady = 'T'})
>
> > ps_koszt:Close()
>
> >
>
> > SELF:as_koszt := bArrayServer{tab_stru, tab_dane, BINACTIVE, BDATAFORMAT_DBASE}
>
> > ret := SELF:as_koszt:CreateOrder("Server:Osr_koszt") -> true
>
> >
>
> > Why ret is true even if I give wrong field name into a create order method ?
>
> > ret := SELF:as_koszt:CreateOrder("Server:Osr_koszta") -> true
>
> >
>
> > Why I must set in clipper compatibility properties the undeclared variables check box, to be able to compile the module ?
>
> >
>
> > ret := SELF:as_koszt:Seek('Adm') -> false although the entity Adm exists;
>
> > why the seek operation fails ?
>
> >
>
> > It seems to be so simple, but it does not work. What is the matter ?
>
> >
>
> > With regards
>
> > Krystian
>
> > Sometimes this lan
>
> >
>
> >
Hallo Joachim,
Thank you very much for offer of help.
I do not know your address therefore please send short post on my : softb at softb dot pl
With regards
Krystian Besler
[toc] | [prev] | [next] | [standalone]
| From | Krystian <softb@softb.pl> |
|---|---|
| Date | 2013-08-05 05:16 -0700 |
| Message-ID | <043ccf37-8e8d-4c7c-812c-ad1f0624a513@googlegroups.com> |
| In reply to | #5623 |
W dniu piątek, 2 sierpnia 2013 09:59:01 UTC+2 użytkownik Krystian napisał:
> W dniu piątek, 2 sierpnia 2013 07:15:58 UTC+2 użytkownik Joachim Bieler napisał:
>
> > Hello Krystian,
>
> >
>
> >
>
> >
>
> > no problems with bArrayServer and orders are known to me. Please send me a test application with
>
> >
>
> > which I can reproduce the problem.
>
> >
>
> >
>
> >
>
> > Which VO version do you use?
>
> >
>
> >
>
> >
>
> > Which bBrowser version do you use?
>
> >
>
> >
>
> >
>
> > Regards,
>
> >
>
> > Joachim Bieler
>
> >
>
> >
>
> >
>
> >
>
> >
>
> > HTML clipboard
>
> >
>
> > Am 01.08.2013 23:35, schrieb Krystian:
>
> >
>
> > > Hi once again,
>
> >
>
> > >
>
> >
>
> > > I do not know where is the problem in this piece of code; I create an array server with only one field and copy some records from a database file
>
> >
>
> > > tab_dane := {}
>
> >
>
> > > tab_stru := {{'Osr_koszt', 'C', 15, 0}}
>
> >
>
> > >
>
> >
>
> > > ps_koszt:Eval({||AAdd(tab_dane, Osr_koszt)}, {|| Do_brygady = 'T'})
>
> >
>
> > > ps_koszt:Close()
>
> >
>
> > >
>
> >
>
> > > SELF:as_koszt := bArrayServer{tab_stru, tab_dane, BINACTIVE, BDATAFORMAT_DBASE}
>
> >
>
> > > ret := SELF:as_koszt:CreateOrder("Server:Osr_koszt") -> true
>
> >
>
> > >
>
> >
>
> > > Why ret is true even if I give wrong field name into a create order method ?
>
> >
>
> > > ret := SELF:as_koszt:CreateOrder("Server:Osr_koszta") -> true
>
> >
>
> > >
>
> >
>
> > > Why I must set in clipper compatibility properties the undeclared variables check box, to be able to compile the module ?
>
> >
>
> > >
>
> >
>
> > > ret := SELF:as_koszt:Seek('Adm') -> false although the entity Adm exists;
>
> >
>
> > > why the seek operation fails ?
>
> >
>
> > >
>
> >
>
> > > It seems to be so simple, but it does not work. What is the matter ?
>
> >
>
> > >
>
> >
>
> > > With regards
>
> >
>
> > > Krystian
>
> >
>
> > > Sometimes this lan
>
> >
>
> > >
>
> >
>
> > >
>
>
>
> Hallo Joachim,
>
>
>
> Thank you very much for offer of help.
>
> I do not know your address therefore please send short post on my : softb at softb dot pl
>
>
>
> With regards
>
> Krystian Besler
I cancel the problem of bArrayServer - the problem was with me : I created a one-dimensional array of data instead of two-dimensional matrix;
it should be :
ps_koszt:Eval({||AAdd(tab_dane, { Osr_koszt } )}, {|| Do_brygady = 'T'})
(I wanted to create an one-field server; but what is strange, that barrayserver "bought" this statement.)
Thank you very much for help
(Sometimes it is good to read manual carefully)
With regards
Krystian Besler
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.clipper.visual-objects
csiph-web