Form field optional

Peter Müller <[email protected]>
Newsgroups gmane.comp.lang.4gl.aubit.general
Message-ID <CABgRoznL97v83GU0Lh89QoGP_qJn3LH+nUAnG2UstrGEaE-6vA@mail.gmail.com>
Hello,

I'm converting Informix-4gl forms to Aubit. Some forms defines a field like
this:

a  = product.mark, autonext, include=(' ','B','N','D'), upshift;

Using the form with Aubit4gl, it does'nt accept a blank field (like in old
Informix-4gl environment).

If I change the field definition to

a  = product.mark, autonext, include=('','B','N','D'), upshift;

it works.

My question: is the zero-size string ('') functional equivalent to the
one-space string (' ') ?
Will the same data written to the DB ?

------------------------------------------------------------------------------
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. 
http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk

_______________________________________________
Aubit4gl-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/aubit4gl-discuss
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.