[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [GNUe] Result sets
From: |
Jason Cater |
Subject: |
Re: [GNUe] Result sets |
Date: |
Sat, 19 Jul 2003 17:50:09 -0500 |
This is a typo we actually found a few days ago. The rs.getFirstRecord()
should be rs.firstRecord().
We'll get this fixed in CVS soon.
Thanks,
-- Jason
On Fri, 18 Jul 2003 22:06:11 -0300
Julio Cesar Gazquez <address@hidden> wrote:
>
> I found this trigger code in the "inventory" sample. However, it didn't
> seem to work. It didn't work on my own form, either. This seems pretty
> self-explanatory, but I guess there is some details I'm not aware of.
> I'm also not sure about the meaning of the commented lines.
>
> #ziplookup.clear()
> #ziplookup.setField(0,"zipcode",self.value,TRUE)
> rs = ziplookup.createResultSet({"zipcode":self.value})
> rs.getFirstRecord()
> state = rs.current.getField("state")
> city = rs.current.getField("city")
> blckcompany.fields.ntrycity = city
> blckcompany.fields.ntrystate = state
>
> TIA
>
> --
> Saludos
>
> Julio César Gázquez
>
>
>
> _______________________________________________
> Gnue mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/gnue
>
--
Jason Cater
GNU Enterprise
- [GNUe] Result sets, Julio Cesar Gazquez, 2003/07/18
- Re: [GNUe] Result sets,
Jason Cater <=