Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD General Discussion
emnaki
Wanderer


Joined: 12 May 2007
Posts: 59

PostPosted: Sun May 13, 2007 12:10 pm   

ADO RecordSets no longer work in CMUD
 
Problem 1:
Code:
#VAR rs("Name").Value @item.name

Pops up a warning saying "No method/property name: Value". But it seems the assignment takes place so thats alright.

Problem 2:
Code:
#VAR itemfields @rs.Fields
#SAY @itemfields("Name").Value
#SAY @itemfields("Name").Name

No longer correctly returns the Value and Name(returns nothing), as usual the error that poped up above pops up here as well. These codes works in ZMud.
Reply with quote
emnaki
Wanderer


Joined: 12 May 2007
Posts: 59

PostPosted: Sun May 13, 2007 1:07 pm   
 
I was able to solve problem 2 by replacing @itemfields with the direct call @rs.Fields. Which still leaves the question why @rs.Fields cannot be assigned to a variable? Also the annoying warning popup still remains.
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD General Discussion All times are GMT
Page 1 of 1

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

© 2009 Zugg Software. Hosted by Wolfpaw.net