It appears you have not yet registered with DEVPPL. To register please click here... (it's fast, easy and free!)

Forum

Log In Sponsors
Board index Programming Visual Basic Forum

ADO data control statement

Moderator: dafunkymunky

ADO data control statement

Postby stephennpa on Tue Apr 01, 2008 11:51 pm

I am working on this exercise and don't quite understand this a lot yet....so was wondering if anyone is familiar with this or can help? One thing I am not sure of is the (" ") marks around the field areas and whether it is needed or not... Thanks! :D

ADO data control name is adoNum


I basically am trying to figure out which statement will multiply the contents of the fldNum1 field by the number 3 and then store the result in the fldTot field.

adoNum.Fields(fldTot) = adoNum.Fields(fldNum1) * 3
adoNum.Fields("fldTot") = adoNum.Fields("fldNum1") * 3

adoNum.Recordset.Fields(fldTot) = adoNum.Recordset.Fields(fldNum1) *
3
adoNum.Recordset.Fields("fldTot") = adoNum.Recordset.Fields("fldNum1") * 3
stephennpa
 
Posts: 3
Joined: Tue Apr 01, 2008 11:45 pm

Who is online

Users browsing this forum: No registered users and 6 guests