Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how does .find work??

Status
Not open for further replies.

autoIT

IS-IT--Management
May 10, 2006
68
US
I am trying to figure out exactly how .find property works. Will it be better to use that the following code. I plan on having a button on a form that will retrieve the latest vacation time remaining based on the employees whose name is the employee names textbox.


x=rs.Fields.Item("Employee Name")
y=rs.Fields.Item("Vacation Remaining")

do
rs.movenext
loop until x=txtEmpName.text

do while x=txtEmpName.text
txtVacaRemain.text=y
loop

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top