View Single Post
Old 03-15-2006   #85 (permalink)
streaker69
Psychic Amish Stumbler
 
streaker69's Avatar
 
Join Date: Jul 2004
Location: Virginville, BlueBall, Bird In Hand, Intercourse, Paradise, PA
Posts: 12,239
Quote:
Originally Posted by valic
Goldfndr,
Great job on the new scripts !!
Wondering if anyone else has seen the following error?
Attachment 4812
From what I see, it looks like the apostrophe hasn’t been cleaned from the SSID:
Looking at the code here is what I see.
SubRoutine “OnPositionChangeDatabase” Cleans the SSID (Position Table)
SubRoutine “OnGPSPositionDatabase” Doesn’t clean the SSID (Readings Table)
SubRoutine “OnScanResultDatabase” Doesn’t clean the SSID (Readings Table)
There's two ways to resolve that problem in an SQL query.

Depending upon what I'm doing I either do a replace of the ' with two of them '' or I replace the ' with &#039. I believe the general accepted way is to replace it with two of them '', not a ".
__________________
Treat your gun like your genitals, only whip it out when it's absolutely necessary.
streaker69 is offline   Reply With Quote