View Single Post
Old 09-02-2004   #2 (permalink)
goldfndr
Knight Tooth Puller
 
goldfndr's Avatar
 
Join Date: Aug 2004
Location: Bellevue, WA, USA
Posts: 182
Quote:
Originally Posted by Shikha
Sub OnScanResult(SSID, BSSID, CapFlags, Signal, Noise, LastSeen)

rs.Open "INSERT into siteSurvey (position, MAC1_signal, MAC1_noise) VALUES (1,Signal,Noise)"

End Sub
Assuming you pasted your code into this message exactly, the problem is that you're passing string literals instead of the passed parameters.

Try this (obviously untested) instead:
rs.Open "INSERT into siteSurvey (position, MAC1_signal, MAC1_noise) VALUES (1," & Signal & "," & Noise & ")"
goldfndr is offline   Reply With Quote