Small relationship bug - no spaces in the [NAME] field

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

Postby sthong » Mon Dec 04, 2006 8:09 pm

When setting up a relationship - bug - if you put a space in the name of the relationship (e.g. [Courses Field] ) - it will cause you to not be able to add records when you go into the related table via the "+Add New Courses Field" button... the Save button will do nothing. To solve, simply use a dash instead of a space.
sthong
 
Posts: 3
Joined: Wed Dec 31, 1969 5:00 pm

Postby Aoirthoir » Tue Dec 05, 2006 12:42 am

Actually the [Courses Field] section of the relationship is the name of the MySQL table or view that forms the relationship. Since mysql tables cannot have spaces in them this is not a bug.

Rather what you want is something like this:

[CoursesField] (or whatever your related table is)
action:label = Yo whateva you want the tab to be named. (in this case Courses Field)


So the [section] cannot have any spaces due to mysql requirements. But the action:label can say anything you want.

Hope that helps.
Aoirthoir
 
Posts: 420
Joined: Wed Dec 31, 1969 5:00 pm

Postby shannah » Tue Dec 05, 2006 11:26 am

Thanks Joe,

Small correction though. The [Courses Field] section doesn't necessarily need to be the name of a table. It can be anything. However, it cannot contain spaces. This was a design choice and not a bug.

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 22 guests

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