ASP dataset.fields

R

Red_Star20

Anyone knows what this line does?
rsStudentData.Fields("Payment_1_Date") = Payment1Date

Is this the same as
Payment1Date = rsStudentData("Payment_1_Date") ?
 
S

Stefan B Rusynko

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") ?
|
|
|
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top