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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

looping through a column data

Status
Not open for further replies.

mxo

Programmer
May 20, 2005
51
ZA
hi All

How can i do a loop through the entire column in a form when executing the code below:

if txtPaymentType.text = "Cash" And txtCustomerName.text = txtTradingName.text then
txtShipTo.text = txtCustAddress.text
end if

also if there is better way writing this code i will gldly use it.
MXO
 
What kind of column do you want to loop through?

Dataset table
SQL Server
Access
Datagrid
???

Let us know so that we can help.

Ron Repp

If gray hair is a sign of wisdom, then I'm a genius.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top