Malformed GUID in SQL Builder 
Author Message
 Malformed GUID in SQL Builder

When creating commands in the DataEnvironment using the SQL builder, I
continually get "help" from it in the way of converting (for example)
{ fn LTRIM(somefieldvalue) }
which then fails with the error "Malformed GUID"

I've searched through the groups and found this is due to Jet (I'm
accessing an Access db) not understanding OLEDB.

I found a reference to a similar error on MS's site (Q155194)
regarding ACC95.

I've seen plenty of suggestions on proper syntax depending on your db.

What I would like to know is:

use the right syntax for my db. (the provider is specified in the
connection after all!)

When I manually correct the syntax and verify the SQL, everything is
OK (it is verified and will run the query). Well, its OK until I edit
something in the grid pane of the builder, then the {'s show up again
and I have to edit them out.

This also happens with dates (lots of similar postings, but only
suggestions were for proper syntax), and almost any function.

I'm using VB6 with SP5.


Tue, 12 Oct 2004 23:46:11 GMT  
 [ 1 post ] 

 Relevant Pages 

1. Error: 'Malformed GUID in query expression ...'

2. Query Builder or SQL Builder

3. Auto SQL vbx's and SQL builders ???

4. shape sql command/sql builder

5. sorry but again: GUID and AUTONUMBER (not GUID only, not AUTONUMBER only, but both)

6. To GUID or not to GUID...

7. How to convert a GUID string to a GUID data type

8. Using a GUID as a Primary Key or indexing a GUID

9. AddNew with a GUID - can't get back the GUID

10. GUID - Reading the GUID of a file

11. Error using GUID in SQL string for Domain Fuctions and dbs.OpenRecordset

12. Generate an SQL GUID


Powered by phpBB® Forum Software