Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Recordset Problem

New Here ,
May 18, 2006 May 18, 2006
I have a weird problem that seems to have popped up on its own.
It seems that every one of my application recordsets are messing up.

When I edit or create a new recordset, the wizard shows my table selection (from clause) as follows. (This is an example)

cfquery name="Recordset1" datasource="SVMC"
SELECT *
FROM C:\Data Sources\SVMC.users


It should be

cfquery name="Recordset1" datasource="SVMC">
SELECT *
FROM users

As a result, no application will work until I manually modify the from clause.

Any Ideas?



TOPICS
Database access
686
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 19, 2006 May 19, 2006
As a result, no application will work until I manually modify the from clause.
I would manually modify it. Prevents another headache later.





Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
May 19, 2006 May 19, 2006
Thanks for the reply , but I am looking for a solution, not just a work around, to the strange behaviour. Can anyone provide some more insight?
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Mentor ,
May 19, 2006 May 19, 2006
Sounds like a wizard problem, not a ColdFusion one. What are you using to generate your queries?

Phil
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
May 19, 2006 May 19, 2006
This seems to have started after applying the Dreamweaver MX 8.0.2 update on this particular server however not on my other one. Therefore the common denominator would be Coldfusion as one Dreamweaver works and this one doesn't.

Also it does not matter if I create a new recordset or veiw an existing one - the from clause changes.

The error I get is MM_ERROR: -1
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Mentor ,
May 19, 2006 May 19, 2006
I would disagree and suggest that it is probably a Dreamweaver issue, but since I don't use Dreamweaver myself, I can't offer any recommendations as to where to look there.

Looks like someone else may be having a similar problem over in the Dreamweaver forum. Databases Panel in Dreamweaver 8 displays the full filepath

Phil
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 19, 2006 May 19, 2006
LATEST
I am looking for a solution, not just a work around
The suggestion is not a workaround. The standard way to write a query in Coldfusion is indeed

<cfquery name="Recordset1" datasource="SVMC">
SELECT *
FROM users
</cfquery>


It therefore doesn't surprise me that this version works.




Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources