NetTalk Central

Author Topic: Tagging records in browse - a tip  (Read 1887 times)

CaseyR

  • Sr. Member
  • ****
  • Posts: 448
    • View Profile
    • Email
Tagging records in browse - a tip
« on: December 29, 2010, 03:06:02 PM »
Just in case anyone else encounters this problem:

For one of my browse procedures that used tagging, I found the first record tagged was not being returned as part of the result set.  Making the EIP check box field the first column of the browse fixed the issue.

Don't know what causes the original problem or why the fix works but it does.   Using 5.05 at the moment.

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11179
    • View Profile
Re: Tagging records in browse - a tip
« Reply #1 on: December 29, 2010, 11:28:06 PM »
Hi Casey,

Changing the column order shouldn't do anything.
Perhaps your change just triggered a re-generate?
which Clarion are you using?

Cheers
Bruce

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11179
    • View Profile
Re: Tagging records in browse - a tip
« Reply #2 on: December 30, 2010, 06:25:13 AM »
I did some more digging;

So IE doesn't fire a "change" event when you click on a checkbox, it fires the change event when you tab
off the checkbox. Visually the item changed, but until you "accept" the field the change isn't registered.

this is the same as say a text field where you can start typing, and "see" the changes, but the change isn't sent
to the server until it's finished. One of those cases though where the behaviour, while completely consistent, is
completely confusing (and wrong).

BTW You're apparently not the first one to notice this;
http://norman.walsh.name/2009/03/24/jQueryIE

I've coded a fix into the JavaScript, which will be in the next build.

Cheers
Bruce