[Lazarus] SQLdb not detect automatically Required field

silvioprog silvioprog at gmail.com
Fri Aug 12 13:59:17 CEST 2011


2011/8/9 waldo kitty <wkitty42 at windstream.net>:
> off the top of my head, without reading the bug report, is this a required
> field that the database knows about that is expected to tell the application
> about?
>
> even though i've been doing a lot of this type of stuff for 20+ years, i've
> not run into this particular situation based on the reading of the posts
> about it... in my past, anything that was required was required by the coder
> to handle... in other words, they must know the requirements of the database
> when they wrote their code so that specific situations like this were
> covered by their code... yes, this meant "hardcoding" items like this... but
> many things have changed over the years and this may be one of those... but
> i am trying to assist when and where i can though many, like yourself, may
> have more experience than i in some cases like this ;)

Hi Waldo,

Sorry if I did not understand everything, the translator was not very
clear for me. ^^'

Know if the field is Required would be very helpful for me to
configure the fields are not null in my views (I use MVC with input in
HTML5: http://www.w3schools.com/html5/att_input_required.asp).

But I can put the field not null manually, no problems. ;)

Thx, and sorry if I was not very clear in the translation.

-- 
Silvio Clécio
===============================================
Blog - <silvioprog.com.br>
Twitter - <twitter.com/silvioprog>
LazSolutions - <code.google.com/p/lazsolutions>
LazWebSolutions - <code.google.com/p/lazwebsolutions>
Lazarus-BR - <groups.google.com.br/group/lazarus-br?hl=pt-BR>
===============================================
   * Conheça nosso canal IRC sobre Lazarus: #lazarus-br *
===============================================




More information about the Lazarus mailing list