Subject | Problem Re-Post |
---|---|
Author | kamen_lai |
Post date | 2001-12-17T04:02:31Z |
Q1. IB_DataSource with AutoEdit true but can't update value
IBO 4.2Fn
althought IB_DataSource have AutoEdit set to True , i can't directly
assign value
IB_Column.asString := '1';
the '1' value are discard, when IB_datasource is browse state.
i must manually issue edit method before assignment , then above
statement will work.
this statement work early release.
Q2.FieldsDisplayLabel /FieldsGridLabel Problem
IBO 4.2Fn . D5 Ent
IB_Connection :
DatabaseName-> C:\Program Files\borland\interbase\Examples\v5
\employee.gdb
FieldEntryTypes->[fetdomainname]
FieldsdisplayLabel->Custno=Cust no.
Custno is domain name (not field name)
IB_Query :
Sql ->
Select c.Cust_No , s.po_number
FROM CUSTOMER c join
sales s
on (c.cust_no = s.cust_no)
join clause follow with tablealias 'c'
Field Cust_no show correct fieldlabel 'Cust no.'
but
Sql->
Select c.Cust_No , s.po_number
FROM CUSTOMER c /* Put join on next line */
join
sales s
on (c.cust_no = s.cust_no)
place join in next new line
Field Cust_no show wrong Fieldlabel 'CUST_NO'.
it seen different alignment of sql statement produce
different fieldlabel?
Is this a bug ?
Thanks a lot.
IBO 4.2Fn
althought IB_DataSource have AutoEdit set to True , i can't directly
assign value
IB_Column.asString := '1';
the '1' value are discard, when IB_datasource is browse state.
i must manually issue edit method before assignment , then above
statement will work.
this statement work early release.
Q2.FieldsDisplayLabel /FieldsGridLabel Problem
IBO 4.2Fn . D5 Ent
IB_Connection :
DatabaseName-> C:\Program Files\borland\interbase\Examples\v5
\employee.gdb
FieldEntryTypes->[fetdomainname]
FieldsdisplayLabel->Custno=Cust no.
Custno is domain name (not field name)
IB_Query :
Sql ->
Select c.Cust_No , s.po_number
FROM CUSTOMER c join
sales s
on (c.cust_no = s.cust_no)
join clause follow with tablealias 'c'
Field Cust_no show correct fieldlabel 'Cust no.'
but
Sql->
Select c.Cust_No , s.po_number
FROM CUSTOMER c /* Put join on next line */
join
sales s
on (c.cust_no = s.cust_no)
place join in next new line
Field Cust_no show wrong Fieldlabel 'CUST_NO'.
it seen different alignment of sql statement produce
different fieldlabel?
Is this a bug ?
Thanks a lot.