[Gambas-user] Unknown field -- Case sensitive fields?
Ivan Williams
ivanwms64 at ...43...
Thu Oct 20 14:49:09 CEST 2011
Yes, the variables are case sensitive which makes sense since we are in a *nix os.
Ivan \~/
I never saw a wild thing sorry for itself.
A small bird will drop frozen dead from a bough
Without ever having felt sorry for itself.
-- D.H. Lawrence
http://www.usconstitution.net/const.html
Linux - Live Free or Die.
________________________________
From: fvegaf <fvegaf at ...67...>
To: gambas-user at lists.sourceforge.net
Sent: Wednesday, October 19, 2011 7:16 PM
Subject: Re: [Gambas-user] Unknown field -- Case sensitive fields?
Why did it change from gambas 1 to Gambas 2?
The same code was working fine in Gambas 1.
fvegaf wrote:
>
> I'm getting the error "unknown field: codigo"
>
> This os the code:
> '-----------------
> cQuery = "Select Empleado, Codigo from Empleado where empleado=101010"
> resEmp = con1.Exec(cQUery)
>
> FOR EACH resEmp
> var = resEmp!codigo
> NEXT
> '-----------------
> The line os on the line: "var = resEmp!codigo", changing to "var =
> resEmp!Codigo" the error goes away.
>
> This used to work on gambas 1 (1.0.18), bur now in gambas2 (2.8) is
> complaining about the exact case as defined in the query, or if I use
> "select *" as defined in the Table.
>
> Is there a way to make it "case insensitive"?
>
> Thanks in advance for your valuable time.
>
> ps. I'm using Ubuntu 8.04 32 bits.
>
>
--
View this message in context: http://old.nabble.com/Unknown-field----Case-sensitive-fields--tp32674413p32686256.html
Sent from the gambas-user mailing list archive at Nabble.com.
------------------------------------------------------------------------------
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning at ...2706... Self-Assessment and learn
about Cisco certifications, training, and career opportunities.
http://p.sf.net/sfu/cisco-dev2dev
_______________________________________________
Gambas-user mailing list
Gambas-user at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user
More information about the User
mailing list