Active TopicsActive Topics  Display List of Forum MembersMemberlist  Search The ForumSearch  HelpHelp
  RegisterRegister  LoginLogin
PowerHome Programming
 PowerHome Messageboard : PowerHome Programming
Subject Topic: Weather Underground SQL for 2.1.b Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
jonkjon
Groupie
Groupie


Joined: June 21 2010
Online Status: Offline
Posts: 77
Posted: June 23 2010 at 15:02 | IP Logged Quote jonkjon

How can I update the weather underground macro to work with
PH 2.1b. I am getting a 207 error presumably because the
table structure is changed? Thanks
Back to Top View jonkjon's Profile Search for other posts by jonkjon
 
BeachBum
Super User
Super User
Avatar

Joined: April 11 2007
Location: United States
Online Status: Offline
Posts: 1880
Posted: June 23 2010 at 15:20 | IP Logged Quote BeachBum

I assume you are using Tony’s GetWeather macro. If so I am not getting any errors on 2.1b. Could you be a little more specific.

__________________
Pete - X10 Oldie
Back to Top View BeachBum's Profile Search for other posts by BeachBum
 
jonkjon
Groupie
Groupie


Joined: June 21 2010
Online Status: Offline
Posts: 77
Posted: June 23 2010 at 16:30 | IP Logged Quote jonkjon

I probably am doing something wrong. I am not certain which
macro to use. I have found a number of them in the forums.
I am opening the direct sql link from the wev center and
pasting in the macro.
I then get : "Invalid SQL Code -207
SQLSTATE = 21S01 [Sybase][ODBC Driver][Adaptive Server
Anywhere]Insert value list does not match column list:
Wrong number of values for INSERT "

Thanks for your reply and assistance with this.
Back to Top View jonkjon's Profile Search for other posts by jonkjon
 
BeachBum
Super User
Super User
Avatar

Joined: April 11 2007
Location: United States
Online Status: Offline
Posts: 1880
Posted: June 23 2010 at 16:51 | IP Logged Quote BeachBum

Not quite sure what you are doing but if you go here:

http://www.power-home.com/forum/forum_posts.asp?TID=999&KW=g etweather

and copy the Get Weather macro in your system and execute it you should be able to get started with what you are trying to do.

__________________
Pete - X10 Oldie
Back to Top View BeachBum's Profile Search for other posts by BeachBum
 
jonkjon
Groupie
Groupie


Joined: June 21 2010
Online Status: Offline
Posts: 77
Posted: June 23 2010 at 17:11 | IP Logged Quote jonkjon

Thanks.....got it! I was using the wrong macro....I think that I a can learn alot about PH now that I have an example to go by. Thanks again.
Back to Top View jonkjon's Profile Search for other posts by jonkjon
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum