FoxInCloud
FoxInCloud 2.31.0-beta.3
Gravatar is a globally recognized avatar based on your email address. FoxInCloud 2.31.0-beta.3
  Vincent H.
  All
  Jun 27, 2020 @ 01:45am

Hi Thierry,

I have a problem with the listeauto class.
The list of choices is no longer composed, but only when RowSource is a cursor. It always works perfectly when the source is a table.
In both cases, the request is made with a code 200.

Body request:

nKeyCode=&nButton=-1&nShiftAltCtrl=NaN&nXcoord=NaN&nYcoord=NaN&nRow=NaN&nCol=NaN&ValueType=string&Value='hel'&lastKey=76&selS=0&selL=0&version=2.31.0-beta.3&sync=false&vpw=1478&vph=938&userID=5SV0M1LDJ&reqID=1385_5SV0MSSVV-001&nInet=0.000&nCli=0.063

Any idea ?

Gravatar is a globally recognized avatar based on your email address. re: FoxInCloud 2.31.0-beta.3
  FoxInCloud Support - Thierry N.
  Vincent H.
  Jun 27, 2020 @ 04:10am

Hi Vincent,

Do you have a simple repro. case? Please feel free to provide by PM if specific to your app.

thanks

Gravatar is a globally recognized avatar based on your email address. re: FoxInCloud 2.31.0-beta.3
  Vincent H.
  FoxInCloud Support - Thierry N.
  Jun 27, 2020 @ 10:54am

I found the origin of the problem !

WAClMatchInside is always at .F.

Gravatar is a globally recognized avatar based on your email address. re: FoxInCloud 2.31.0-beta.3
  Vincent H.
  Vincent H.
  Jun 27, 2020 @ 01:29pm

WAClMatchInside_Assign()
...
and varType(m.this.wACcCandExpr) == 'C'

Gravatar is a globally recognized avatar based on your email address. re: FoxInCloud 2.31.0-beta.3
  FoxInCloud Support - Thierry N.
  Vincent H.
  Jun 29, 2020 @ 02:48am

Hi Vincent,

Good catch, thanks

Here is the fixed code:

&& modi class awCboAutoComp of aw method wAClMatchInside_Assign

lparameters twAClMatchInside

local abSelect as abSelect of abData.prg

this.wAClMatchInside = lTrue(m.twAClMatchInside);
 and ga_Type_IsChar(m.this.wACcCandExpr, .T.);
 and varSet(@m.abSelect, abSelect(Evl(m.this.RowSource_, m.this.RowSource)));
 and Type(m.this.wACcCandExpr) $ 'MC'
Gravatar is a globally recognized avatar based on your email address. re: FoxInCloud 2.31.0-beta.3
  Vincent H.
  FoxInCloud Support - Thierry N.
  Jun 29, 2020 @ 03:09am

It works fine !

© 1996-2024