mySQL field with a dashed line under it.? - sql

can anyone please explane what does that dashed line stands for
i am using phpmyadmin
field are
name type NULL default
longtitude float No 0.001
latitude float No 0.001
thank you.

from http://psych.ucsc.edu/AScils/phpmyadmin/Documentation.html
$cfg['ShowBrowseComments'] boolean
$cfg['ShowPropertyComments'] boolean
By setting the corresponding variable to TRUE you can enable the display of column comments in Browse or Property display. In browse mode, the comments are show inside the header. In property mode, comments are displayed using a CSS-formatted dashed-line below the name of the field. The comment is shown as a tool-tip for that field.
So... It looks like the field has a comment attached to it
edit: you can read the comment using:
SHOW FULL COLUMS FROM tbl_name LIKE 'col_name';
(source: http://dev.mysql.com/doc/refman/5.0/en/show-columns.html)

I think it means you defined a comment for that field and it is
PhpMyAdmin's polite way to show you can "hover" your mouse over it and
read it.
enjoy

Related

Jahia : maxlength constraint on a node property

I've been looking for a few hours now for this simple question: how can I add a maxlength constraint on a jahia node text property?
What I've tried so far in the studio:
I also tried seeting it directly in the definition.cnd, but cannot find any example or documentation about the max length of a text.
The property is a String TextArea, with no other specific property (but the maxlength I wanna add...)
Thanks in advance for any help!
You should use a regexp as a constraint. Typically your definition could be like this:
[jnt:test2] > jnt:content, jmix:basicContent
- test2 (string, textarea) < '.{0,250}'
If you use the UI from the studio, you just need to add .{0,250} in the Value constraints input.
And you can also handle the error message in your resource bundle file by adding such key/value:
jnt_test2.test2.constraint.error.message=Please enter a valuer smaller than 250 chars

Make Text Field item as Read Only in APEX 5.0

I have some text field page items on my APEX 5.0 page and I want to make the textboxes as read only/non-editable. During the page load I want to use these text boxes for only the data display on the page and should be non-editable.
Can somebody advice on how to do that? What attributes need to set for this?
This answer is a bit late to the party, but I found myself confronted to this problem and I wanted to share the solution I came up with.
In fact you just need to create your item as a text area, let say P1_Text_Area and you give it a readonly attribute using JavaScript. Write thoses 2 lines in the "Function and Global Variable Declaration" of your page:
var disItem = document.getElementById('P1_Text_Area');
disItem.readOnly = true;
Hope this helps someone in need.
in item properties find the
Read Only group
and set Read Only Condition Type as Always
or the option that suits to you
You can use disabled + save session state ==> read only

Reporting Services - aligning Layout direction Tablix dynamic

Deal All,
Is there a way to have same report show in both layout direction based on parameter?
I have two data set one for label and one for data based on specific parameter show the labels
needed and the data needed but i am unable to switch the lay out direction it keeps LTR.
I need if anyone have an idea to change the layout direction from parameter.
I am having 50 reports and i don't like to have 150 reports because i am having 3 language.
I don't need to change the design of reports if there a new adding columns or changing columns.
I did it in data base by sending paramater name of the report and then get the dataset for it and then use the parameter of language to get label and data.
thanks in advance
I dont know if this helps, because I have no experience with RTL, however if you select a TextBox and open the properties via F4, you can select for the text direction not only LTR or RTL but also an expression. Maybe this gives you the flexibility, you are looking for?
Please right click on the report and choose view code or press F7 and insert below code for the field:
<Style>
<FontFamily />
<TextAlign>Right</TextAlign>
</Style>
and
<Direction>RTL</Direction>

Remove the lines from a document

Goal:
Display the result without using any line between column and row
Problem:
I can't remove these line
The picture below is taken in preview mode
// Fullmetalboy
In the textbox properties for each cell of the grid, just make sure you set the BorderWidth property to 0.
Due to very limited info in the question maybe try Results-to-text instead of Results-to-grid?
I think that we need more info here... are you showing these results in a HTML page, through some dynamic language (ASP, PHP, Ruby)? or are you using reporting tools like Crystal Dynamics?
If you're doing in HTML, I guess the css rule border-collapse:collapse on the table would do the trick

Change parameter name on selection screen to a real text

I'm trying to replace the parameter name shown on the selection screen.
For example I have:
PARAMETERS pa_age TYPE age_type DEFAULT '18'.
It shows PA_AGE on the screen.
How to change it to How old are you? for instance?
You have to define a text via Goto->text elements->selection text.
If you develop in another language as you execute your code, you need also a translation.
Via menu Goto->Text Elements->Selection Text.