PDA

View Full Version : Lookuplist is showing duplicate records



Hans van de Laar
8-Dec-2006, 09:15 AM

Harm Wibier
11-Dec-2006, 03:17 PM
Hello Hans,

I noticed that there isn't a record selected in the lookup. Usually it
automatically selects the first record if none is selected, is there a rowid
filled in hidden rowid input of the form? And is this a valid rowid for this
table?

Regards,


--
Harm Wibier
Data Access Europe B.V.
http://www.dataaccess.nl

"Hans van de Laar" <hansvandelaar@micros.nl> wrote in message
news:xn0euq6mbfui59005@news.dataaccess.com...
> Hello Harm,
>
> I'm getting more and more positive results on my first attempts using
> the Ajax library. However, I have made a lookup list which initially
> shows duplicate records (see attached jpg). After clicking on the
> header 'Bondsnummer' the duplicate records are gone and all records
> are showing properly. I did a reindex of the datafiles but the problem
> still exists.
>
> Any ideas why this is happening.
>
>
> --
> Regards,
>
> Hans van de Laar
> Micros b.v.
> The Netherlands
> www.micros.nl
>

Hans van de Laar
12-Dec-2006, 06:41 AM
Harm Wibier wrote:

> Hello Hans,
>
> I noticed that there isn't a record selected in the lookup. Usually
> it automatically selects the first record if none is selected, is
> there a rowid filled in hidden rowid input of the form? And is this a
> valid rowid for this table?
>
> Regards,

Hi Harm,

I tried the other day and wasn't able to reproduce the problem since
then.

I just installed release 2 and now upon activating the lookup I get a
soap error 220 "Unexpected parameter requestdata". The lookup pops up
with no data populated. Any ideas what I'm doing wrong?

--
Regards,

Hans van de Laar
Micros b.v.
The Netherlands
www.micros.nl

Harm Wibier
12-Dec-2006, 10:45 AM
Hello Hans,

Did you update the javascript files in the apphtml directory of you're
project? These need to be copied again from the AppHtml directory of the
Library workspace itself. There are also some changes in the css and images
directory.

The requestData parameter has been renamed in the alpha 2 to tRequestData
and these changes also infected the framework javascript files.

Regards,

--
Harm Wibier
Data Access Europe B.V.
http://www.dataaccess.nl

"Hans van de Laar" <hansvandelaar@micros.nl> wrote in message
news:xn0euvorm7p78i000@news.dataaccess.com...
> Harm Wibier wrote:
>
>> Hello Hans,
>>
>> I noticed that there isn't a record selected in the lookup. Usually
>> it automatically selects the first record if none is selected, is
>> there a rowid filled in hidden rowid input of the form? And is this a
>> valid rowid for this table?
>>
>> Regards,
>
> Hi Harm,
>
> I tried the other day and wasn't able to reproduce the problem since
> then.
>
> I just installed release 2 and now upon activating the lookup I get a
> soap error 220 "Unexpected parameter requestdata". The lookup pops up
> with no data populated. Any ideas what I'm doing wrong?
>
> --
> Regards,
>
> Hans van de Laar
> Micros b.v.
> The Netherlands
> www.micros.nl
>
>

Hans van de Laar
13-Dec-2006, 06:03 AM
Harm Wibier wrote:

> Hello Hans,
>
> Did you update the javascript files in the apphtml directory of
> you're project? These need to be copied again from the AppHtml
> directory of the Library workspace itself. There are also some
> changes in the css and images directory.
>
> The requestData parameter has been renamed in the alpha 2 to
> tRequestData and these changes also infected the framework javascript
> files.
>
> Regards,

Hi Harm,

You were right. I forgot to update the javascript files.

--
Regards,

Hans van de Laar
Micros b.v.
The Netherlands
www.micros.nl