dbTalk Databases Forums  

sentax help

comp.databases comp.databases


Discuss sentax help in the comp.databases forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
jjrmy1
 
Posts: n/a

Default sentax help - 11-28-2006 , 01:15 AM






Hi everyone,
I seem to be in quite a delimma. when I make a recordset and test it DW
returns all the correct records but when I upload the page I get the No
Record error:
ADODB.Field error '800a0bcd'
Either BOF or EOF is True, or the current record has been deleted. Requested
operation requires a current record.

Here's the SQL:

SELECT *
FROM my_groups INNER JOIN contact ON my_groups.secondary_ID = contact.ID
WHERE my_groups.primary_ID = MMColParam AND my_groups.group_ID = MMColParam2
AND my_groups.group_response = MMColParam3
ORDER BY usrid ASC

MMColParam = session(MM_Username)
MMColParam2 = family
MMColParam3 = yes

Yes some parameters rely on sessions but so do other things on the page that
are working correctly.

Someone please help before I go completely mad.
Thanks for any advice in advance.

Jeremy



Reply With Quote
  #2  
Old   
Neo
 
Posts: n/a

Default Re: sentax help - 11-28-2006 , 08:41 AM






Quote:
SELECT *
FROM my_groups INNER JOIN contact ON my_groups.secondary_ID = contact.ID
WHERE my_groups.primary_ID = MMColParam AND my_groups.group_ID = MMColParam2
AND my_groups.group_response = MMColParam3
ORDER BY usrid ASC

MMColParam = session(MM_Username)
MMColParam2 = family
MMColParam3 = yes
Maybe quotes are needed around MMColParam in sql statement. Can you
temporarily print the sql statement on your web page to check it?



Reply With Quote
Reply




Thread Tools
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.