ars_GetListEntry
Brought to you by:
jeffmurphy
|
From: Brett R. <br...@ti...> - 1998-12-04 00:08:19
|
Hello - I've read through the previous emails on GetListEntry but was
unable
to find an answer to my problem.
My question is this - Does GetListEntry work correctly on NT (ARSPerl
version
1.61)?
What I'm seeing is that despite the query list I setup, the function
insists on a few of its own fields. Example:
$sid = $f{"Short Description"};
(%entries = ars_GetListEntry($c, $schema, $q, 100, [
{columnWidth=>10, separator=>'|',
fieldId=>$sid},
{columnWidth=>10, separator=>'|',
fieldId=>$sid},
{columnWidth=>10, separator=>'|',
fieldId=>$sid},
{columnWidth=>10, separator=>'|', fieldId=>$sid}
])) ||
TechSupportForms::DisplayErrors($query,
"GetListEntry: $ars_errstr");
Notice I'm trying to pull out (in this example) the Short Description
field
4 times. Here's what I get when I evaluate %entries:
Entryid: 000000000000009, D: Header may|New |Header may|Low |
Entryid: 000000000000010, D: Header may|New |Header may|Low |
Entryid: 000000000000011, D: Test |New |Test |Low |
Entryid: 000000000000012, D: AL test |New |AL test |Low |
Entryid: 000000000000014, D: test |New |test |Low |
Entryid: 000000000000015, D: Font is to|New |Font is to|Low |
Entryid: 000000000000016, D: test |New |test |Low |
Notice that rather than give me 4 columns with 10 characters of the
short
description, it gave me 1st one column with the description, then
the default Status, then my description, and then the Priority.
What is going on here and why can I not seem to overwrite the
default query string completely? I suppose I can use them
anyway, but this is very odd.
Thanks,
Brett
---------------------------------------------------------------------------
To unsubscribe from this list, send mail to maj...@lu...
with a body of "unsubscribe arsperl". The subject line is ignored.
---------------------------------------------------------------------------
|