Skip to main content

Hello out there,

I am using VB6, Maximizer 5, ODBC - generating an SQL query and DAO. There are a number of problems I have encountered.

The first problem is when I access the 'text' field from the 'notes' table it appears to be encrypted. Is there any way around this?

Second, Ive tried doing an inner join with client, notes, and combined_client_user_fields and I keep getting a generic ODBC error. Here is the sql for that:

sql = "SELECT * From Client"
sql = sql & " Inner Join (Combined_Client_User_Fields Inner Join Notes"
sql = sql & " On Combined_Client_User_Fields.Client_Id = Notes.Client_Id)"
sql = sql & " On Client.Client_Id = Combined_Client_User_Fields.Client_Id"

Any comments would be greatly appreciated!

hbaker over and out

[This message has been edited by hbaker (edited 12 October 2000).]

[This message has been edited by hbaker (edited 12 October 2000).]
Original Post

Replies sorted oldest to newest

Mmmm

A pretty join.

I'm not quite sure of your intended output but with a Select * it will be huge recordset and very slow. I'd suggest you play around in Access to get the join right first.

You can't really do a join of this sort without specifying the contact number as well as the Client_Id.

The Notes table is not encrypted and you should have no problem reading it provided you have sufficient Maximizer rights.

You will find working with the ODBC tables easier if you have integrators toolkit (Which we can supply if you need it contact [email]sales@cabc.co.uk [/email]).

Regards,

Ian Wallace
CABC, Newbury
I am using the "Integrators Toolkit" book and I am accessing the maximizer ODBC driver. I just found this book kicking around the office. Does the "Toolkit" offer anything more than just the book?

All I get out of the text field in the notes table is a random assortment of characters.

I tried the Access idea - I tried to import the notes table into access and it wouldnt let me - gave me a very generic ODBC error - which I have seen in VB6!

any suggestions?

[This message has been edited by hbaker (edited 13 October 2000).]

Add Reply

Post
LEGAL INFO
CONTACT US
Copyright 2007-2018 Advoco Solutions Ltd. All Rights Reserved.
×
×
×
×
Link copied to your clipboard.
×