Difference valuelist.ini in dataface version 0.5.4/0.6.9r1 ?

A place for users and developers of the Xataface to discuss and receive support.

Postby sym » Tue Nov 14, 2006 5:37 am

Dear dataface users,

First of all, Steve thanks for the new version of Dataface with the new functions.

Purpose:
With the file valuelist.ini i 'renamed' the ID into a username, but i will only display the names of a certain group


file: valuelist.ini
EMPLOYEES_BUSINESS]
__sql__ = "SELECT DISTINCT EMPLOYEE_ID, EMPLOYEE_LASTNAME FROM EMPLOYEES_BUSINESS where EMPLOYEE_LOCATION = 'G' "


Problem/Question:
In dataface version 0.5.4 it works fine, i only saw the id/name combination which are in that group displayed.
In version 0.6.9r1 i see also blank lines (with a clickable + sign in front) which are not belonging to that group.

I tried also the mysql join statement, but i get the same output.
Do i something wrong or must i do it on a other way in the new version ?


Best regards,
Nico Sijm
sym
 
Posts: 13
Joined: Wed Dec 31, 1969 5:00 pm

Postby shannah » Tue Nov 14, 2006 12:06 pm

Hi Nico,

There shouldn't be any compatibility problems from 0.5.x to 0.6.x as far as valuelists are concerned. Are these blank lines showing up in list mode or browse mode (on the form)?

-Steve
--
Steve Hannah
@shannah78 (on twitter)
sjhannah.com blog
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm

Postby sym » Wed Nov 15, 2006 4:36 am

Hi Steve,

So, youre fast! Thanks for the reaction.

I see the empty lines in the list mode.

Ik have the idea that in the 0.6.x version always the clicable + referention, even if the result of the sql statement is empty, is dislayed.
The clicable + gives information about that cell (this is new comparing with the 0.5.x version) and i see in my case that EMPLOYEE_LOCATION = 'U' and this cell should not be displayed.

I can mail you the screen dumps of both versions, if this make it more clear.

Best regards,
Nico Sijm
sym
 
Posts: 13
Joined: Wed Dec 31, 1969 5:00 pm

Postby shannah » Wed Nov 15, 2006 12:07 pm

Yes.. screen shots would be helpful.

Also, if you can provide the relevant portions of the database schema and fields.ini files, that might help me to debug on this end.

Best regards

Steve
--
Steve Hannah
@shannah78 (on twitter)
sjhannah.com blog
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm


Return to Xataface Users

Who is online

Users browsing this forum: No registered users and 17 guests

cron
Powered by Dataface
© 2005-2007 Steve Hannah All rights reserved