[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: What happened to gb.db2?
[Thread Prev] | [Thread Next]
- Subject: Re: What happened to gb.db2?
- From: Lee <t.lee.davidson@xxxxxxxxx>
- Date: Sun, 27 Apr 2025 11:36:01 -0400
- To: user@xxxxxxxxxxxxxxxxxxxxxx
On 4/27/25 10:58 AM, Jorge Carrión wrote:
You can obtain the name of a field with MyResult.fields["name"], for example.
That would yield a ResultField object, not the field name. But you are right. The type of Result.Fields, and hence the type of index, is different between gb.db and gb.db2.
I have a lot of controls and routines who work with resultfields.names and this is a little annoying.
The Result.Fields collection can be enumerated as ResultField(s) just like in gb.db: For Each hField As ResultField In hResult.Fields Print hField.Name Next That may or may not help depending on the structure of your code. -- Lee --- Gambas User List Netiquette [https://gambaswiki.org/wiki/doc/netiquette] ---- --- Gambas User List Archive [https://lists.gambas-basic.org/archive/user] ----
What happened to gb.db2? | Jorge Carrión <shordi@xxxxxxxxx> |
Re: What happened to gb.db2? | Christof Thalhofer <chrisml@xxxxxxxxxxx> |
Re: What happened to gb.db2? | Jorge Carrión <shordi@xxxxxxxxx> |