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

ADO Record Sets Field access Syntax

Status
Not open for further replies.

benah

Programmer
Jan 5, 2001
10
US
I've been looking at examples for accessing ado record set field values. It looks to me that my only choice is the "wordy" approach:

ors.fields("my_field1").value = "Hello"
ors.fields("my_field2").value = "Bye"

Visual basic provides the Bang operator(!) to simplify the access:

ors![my_field1] = "Hello"
ors![my_field2] = "Bye"

Is there a Foxpro syntactical equivalent to the VB bang(!)?
 
WITH ors
.fields("my_field1").value = "Hello"
ENDWITH
Attitude is Everything
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top