[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUe] Result sets
From: |
Julio Cesar Gazquez |
Subject: |
[GNUe] Result sets |
Date: |
Fri, 18 Jul 2003 22:06:11 -0300 |
User-agent: |
KMail/1.5.1 |
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] Result sets,
Julio Cesar Gazquez <=