NetTalk Central

Author Topic: Problem with Header sort on fields from related records  (Read 3999 times)

terryd

  • Hero Member
  • *****
  • Posts: 759
    • View Profile
    • Davcomm
    • Email
Problem with Header sort on fields from related records
« on: January 04, 2009, 11:50:10 AM »
Clarion 9056 XP Professional Nettalk 4 PR 28 MSSQL backend IE6 browser
If I have any fields in a browse populated by looking up a parent record the correct information from the parent displays against each record.
However if I click the header to sort based on that field the browse clears and the message 'No records found' appears. This only affects fields from parent files, sorting on fields on the Primary.browse file sort normally. This behaviour occurred on previous version but I waited until 28 in case it cleared up.
Clicking the menu choice to re-display the browse has no effect, neither does starting a new instance of the web browser. The only way I can restore the original browse is to stop the webserver and restart it.
Is there any workaround. At the moment I am setting no sort on each field but since they are key fields they are normally fields that I need to sort on.
Attached images: err1.tif - normal browse err2.tif - after sort on field Insured name (local field) err3.tif - after sort on Master (field in a lookup table )
Thanks
Terry Davidson
         

[attachment deleted by admin]
Terry Davidson
Windows 10 64 bit/Windows7 64bit
Clarion 9.1.11529/Clarion10 12567
Nettalk 913
Nettalk 1015
StringTheory267/Winevent515/XFiles298/MessageBox239/Cryptonite186

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Problem with Header sort on fields from related records
« Reply #1 on: January 04, 2009, 09:42:52 PM »
Hi Terry,

A quick test (with FF and TPS) doesn't show the same problem, so I assume it's related to MsSql.
I'll run a test against the MsSql server when I get in the office.

Do you mention IE6 because that's what you're using - or because it's the only one failing? I don't think the browser will be affected in this situation.

Cheers
Bruce

terryd

  • Hero Member
  • *****
  • Posts: 759
    • View Profile
    • Davcomm
    • Email
Re: Problem with Header sort on fields from related records
« Reply #2 on: January 05, 2009, 04:53:22 AM »
Thanks
No I only mentioned IE6 in case there was an issue with it. I have unloaded my Firefox until they sort out the garbled print issue.
Terry Davidson
Terry Davidson
Windows 10 64 bit/Windows7 64bit
Clarion 9.1.11529/Clarion10 12567
Nettalk 913
Nettalk 1015
StringTheory267/Winevent515/XFiles298/MessageBox239/Cryptonite186

peterH

  • Sr. Member
  • ****
  • Posts: 413
    • View Profile
Re: Problem with Header sort on fields from related records
« Reply #3 on: November 13, 2011, 09:14:30 AM »
Was there ever any solution to this? I'm facing the same problem as Terry.

Peter

peterH

  • Sr. Member
  • ****
  • Posts: 413
    • View Profile
Re: Problem with Header sort on fields from related records
« Reply #4 on: November 18, 2011, 06:30:05 AM »
In case someone else is struggling with this I found the solution: you must define a relation in the dict if you want to be able to click-sort on a column with a lookup field. Easy once you know  ;)

Peter