If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > Visual Basic > Operations with recordset columns

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old
Registered User
 
Join Date: Dec 2012
Posts: 1
Operations with recordset columns

How can I do operations with recordset columns, for instance I have the following code


rsR.Open "SELECT resistance FROM [compilation$B6:C32450]", con
rsX.Open "SELECT reactance FROM [compilation$B6:C32450]", con

how can i calculate the following new values:

The minimum and maximum value of Z where Z is equal to: SQRT(resistance^2+reactance^2) ----> sqrt IS THE square root two
Reply With Quote
Reply

Tags
ado, recordset

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On