Re: include in form.xml VDC
Daniel Kroker <[email protected]>
| Newsgroups | gmane.comp.lang.4gl.aubit.general |
|---|---|
| Message-ID | <[email protected]> |
Hi,
the attribute "include" in .per mask is also not implemented.
Am 10.04.2014 15:03, schrieb Yves Vallet:
>
> with VDC 1.2.35 Rel 08.04.2014
>
> the 'required, NOT NULL , INCLUDE ' clauses have no effect
> when exec of the programm
>
> exemple below:
>
>
> execute program.4ae :
> Field a accept any characters
> include and required defined in then form have no effet
>
> --------------------------------------------------------
> database formonly
> screen
> {
>
> zone a [a ]
>
> [b ]
>
> }
> attributes
> a=formonly.a type char, upshift, required, include=("A","B","C") ;
> b=formonly.b type smallint ;
> end
> #########################
>
> database sotracom
> main
> define a char(1)
> define b smallint
>
> open window w1 with form "yv"
> input by name a , b
>
>
> after field b
> error "fin"
>
> end input
>
> end main
> ###################################
>
> fcompile -xml yv.per
> gives yv.xml :
>
>
> <?xml version="1.0" encoding="utf-8"?>
> <Form name="yv.afr" sqlDbName="formonly" width="15" height="6"
> delimiters="[]|" encoding="">
> <Screen width="14" height="4" >
> <Label text="zone a" posY="1" posX="3" gridWidth="6" guessAlign="L"/>
> <FormField name="formonly.a" colName="a" fieldId="0"
> sqlTabName="formonly" sqlType="CHAR(3)" required="1" include="A|B|C"
> tabIndex="1" >
> <Edit width="3" shift="up" posY="1" posX="11" gridWidth="3"/>
> </FormField>
> <FormField name="formonly.b" colName="b" fieldId="1"
> sqlTabName="formonly" sqlType="SMALLINT" tabIndex="2" >
> <Edit width="3" posY="3" posX="11" gridWidth="3"/>
> </FormField>
> </Screen>
> <RecordView tabName="formonly">
> <Link colName="a" fieldIdRef="0"/>
> <Link colName="b" fieldIdRef="1"/>
> </RecordView>
> </Form>
>
>
> --
>
> Tel 01 46 87 40 35
> 06 87 52 23 95
>
>
> ------------------------------------------------------------------------------
> Put Bad Developers to Shame
> Dominate Development with Jenkins Continuous Integration
> Continuously Automate Build, Test & Deployment
> Start a new project now. Try Jenkins in the cloud.
> http://p.sf.net/sfu/13600_Cloudbees
>
>
> _______________________________________________
> Aubit4gl-discuss mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/aubit4gl-discuss
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
_______________________________________________
Aubit4gl-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/aubit4gl-discuss