Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.clipper.visual-objects > #1678
| From | "Alessandro Vacchiano" <alessandro@computerscenter.com> |
|---|---|
| Newsgroups | comp.lang.clipper.visual-objects |
| References | <f5c563bb-bee9-486f-b097-bfb317a394ae@e18g2000vbx.googlegroups.com> |
| Subject | Re: SQLSELECT - SHOW LOGIC VALUES - BROWSER |
| Date | 2011-07-15 18:05 +0200 |
| Message-ID | <4e20652e$0$15667$4fafbaef@reader2.news.tin.it> (permalink) |
| Organization | TIN.IT (http://www.tin.it) |
Hi Jorge,
look bdatacolumn init() help .
You have to define a Column where the value is returned from a method .
Example :
.... In Postinit() or in your method :
oCol := bdatacolumn{SELF:oDCBB,NIL,"Arg2:CalculateCheck()",#expression,SELF}
oCol:HyperLabel := Hyperlabel{#Saldo}
oCol:Caption := "......"
oCol:Width := 100
SELF:oDCBB:AddColumn(oCol)
METHOD CalculateCheck() CLASS Myclass
RETURN iif(SELF:oDCBB:Server:yourvar=0,"FALSE","TRUE")
Ciao Alessandro
"Jorge" ha scritto nel messaggio
news:f5c563bb-bee9-486f-b097-bfb317a394ae@e18g2000vbx.googlegroups.com...
Hello
In a Sqlselect object comes one column
with values 1 or 0 ( TyniInt in mysql )
I want to show them as Checkbox
in a bBrowser
But I can not find the Right way...
Is there some way ?
TIA
Jorge Accinelli
Back to comp.lang.clipper.visual-objects | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
SQLSELECT - SHOW LOGIC VALUES - BROWSER Jorge <jorgeaccinelli@dextrasistemas.com.ar> - 2011-07-15 07:43 -0700
Re: SQLSELECT - SHOW LOGIC VALUES - BROWSER "Alessandro Vacchiano" <alessandro@computerscenter.com> - 2011-07-15 18:05 +0200
Re: SQLSELECT - SHOW LOGIC VALUES - BROWSER "Stephen Quinn" <stevejqNO@bigpondSPAM.net.au> - 2011-07-16 03:46 +1000
Re: SQLSELECT - SHOW LOGIC VALUES - BROWSER Jorge <jorgeaccinelli@dextrasistemas.com.ar> - 2011-07-16 10:37 -0700
Re: SQLSELECT - SHOW LOGIC VALUES - BROWSER "Geoff Schaller" <geoffx@softwarexobjectives.com.au> - 2011-07-17 02:37 +0000
Re: SQLSELECT - SHOW LOGIC VALUES - BROWSER Jorge <jorgeaccinelli@dextrasistemas.com.ar> - 2011-07-16 23:31 -0700
Re: SQLSELECT - SHOW LOGIC VALUES - BROWSER Jorge <jorgeaccinelli@dextrasistemas.com.ar> - 2011-07-16 23:28 -0700
Re: SQLSELECT - SHOW LOGIC VALUES - BROWSER "Geoff Schaller" <geoffx@softwarexobjectives.com.au> - 2011-07-18 22:58 +0000
csiph-web