No they are not the same (the second one is correct)
The variable on the left of the = must be a writable at run time
rsStudentData.Fields("Payment_1_Date"), a readable DB field, is not writable w/ an = operator
PS
rsStudentData.Fields("Payment_1_Date") is the same as rsStudentData("Payment_1_Date")
--
_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
To find the best Newsgroup for FrontPage support see:
http://www.frontpagemvps.com/FrontPageNewsGroups/tabid/53/Default.aspx
_____________________________________________
| Anyone knows what this line does?
| rsStudentData.Fields("Payment_1_Date") = Payment1Date
|
| Is this the same as
| Payment1Date = rsStudentData("Payment_1_Date") ?
|
|
|