Browse lookup problem
Kenneth Brody
kenbrody at spamcop.net
Fri Jun 3 13:25:32 PDT 2011
On 6/3/2011 3:24 PM, Richard Kreiss wrote:
>> From: filepro-list-bounces+rkreiss=verizon.net at lists.celestial.com
>> [mailto:filepro-list-bounces+rkreiss=verizon.net at lists.celestial.com] On
>> Behalf Of Kenneth Brody
[...]
>> On 6/3/2011 12:53 PM, Richard Kreiss wrote:
[...]
>>> Once I saw that they held the correct values, I recreated the browse and
>> then split it apart using h,I,j and then commented out the original code and
>> test it. The new code worked.
>>
>> What do you mean by "split it apart"?
>
> Use the wizard to define the browse and then separate what the wizard
> created into it parts Ba, BB& BC.
But it was already "split apart" in the original code you showed, which used
ba/bb/bc. You said you took that code, and "then split it apart using h,I,j".
Which is it?
>>> I then replaced the ba, bb, and bc with h, I, and J and adjusted the browse
>> command. This worked fine.
>>
>> So, you say that this fails:
>>
>> ba="(brw=10 xkey=xdeu show=pkeep prc=nocard fill=desc,top)"
>> bb="[\b5 Master Code Tp Last Four Expires \a-]"
>> bc="*3<16 *5 XXXX*18 *6"
>> lookup card = l_card k=4 i=B -nxm b=(ba&bb&bc)
>>
>> But this works:
>>
>> h="(brw=10 xkey=xdeu show=pkeep prc=nocard fill=desc,top)"
>> i="[\b5 Master Code Tp Last Four Expires \a-]"
>> j="*3<16 *5 XXXX*18 *6"
>> lookup card = l_card k=4 i=B -nxm b=(h&i&j)
>>
>> With nothing else in the processing being changed?
You didn't answer this question.
>> In that case, something is different between the definitions of ba/bb/bc and
>> h/i/j.
>>
>> However, you say that you "split it apart" when you changed it to h/i/j.
>> Can you show the actual code that "works"?
>
> See above h= i= j= - those are the values
There is no code above which uses h/i/j, only ba/bb/bc. (Well, except for
my code, that is. You haven't shown any of your code that uses h/i/j.)
> See line 62, 683& 684 - these is where the problem was.
Those are just the assignments to ba/bb/bc. Are you having a problem with
the assignments to those fields?
> Full old code from my system:
[... snip code using ba/bb/bc ...]
That's the code you already showed, with ba/bb/bc, which "doesn't work".
You still haven't shown the code with h/i/j that does "work".
> As I indicated, I cannot get into their system as their communication
> server is still down. Once I can get in, I will test the msgbox as you
> suggested.
And show the code with h/i/j that "works".
--
Kenneth Brody
More information about the Filepro-list
mailing list