Welcome to dbFreaks.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Shape command

 
   Database Help (Home) -> Visual Basic -> ODBC RSS
Next:  Strange ODBC decimal numbers problem  
Author Message
tiltedvisions

External


Since: Dec 11, 2003
Posts: 1



(Msg. 1) Posted: Thu Dec 11, 2003 9:26 pm
Post subject: Shape command
Archived from groups: microsoft>public>vb>database>odbc (more info?)

Hi ,
I have a customer table, a customer_services table and a services
table,

I want to use the shape command to generate the parent child
relationship of customers and the services they have, and to do this I
have the following code:

tsql = "SHAPE {SELECT * from customers" & _
swhere & _
" } APPEND ({SELECT Service_name, customerid from
services s ,customer_services c where" & _
" s.service_id = c.service_id}" & _
" AS oRSServices" & _
" RELATE customerid TO customerid)"
sconnect = scCONNECT_SHAPE

It works find, BUT I do not want the customerid of the child to appear
again in the recordset, but i must select it in the columns in order
to get the Relate to work correctly....

What can I do to remove the customerid column from the child
recordset?


Thanks in advance!!

 >> Stay informed about: Shape command 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
ODBC CONNECTION FROM COMMAND LINE - I am trying to get an ODBC connection created from a commandline, I have created the ODBC connection, exported the registry key, and have tried doing regedit /s "regkey", problem is after I do that it never shows us in the ODBC manager, it sh...

HOWTO: Clone SQL db ? - Hi all, I'm having a SQL Server database called X. For testing and training, I would like to make a copy of the entire DB to Y. This copy should include all data, properties, indexes, views, etc. Unfortunately, all my attempts to automate this..

Change connect string for Excel Queries using an ODBC Driver - Reference: ODBC Connection for MAS90 MAS200 In Excel we have an ODBC Connection String with a physical (hard coded) path to the data. We have changed the servers. We do not want to recreate all of the queries. How can we edit the ODBC path inside of..

ISA 2006 with My sql Connection - Hi, Please help me,acutually I am facing problem with ISA 2006.It does not connect Mysql data base. It is giving error"Can't connect to Mysql server on "IP" 10060."

Compile Error - Can anyone please help me to solve this problem I have when I tried to compile and run my program written in VB 6.0? Problem: I used variable declaration such as db as Database and ws as Workspace. I use ODBC way to connect my VB form interface with....
   Database Help (Home) -> Visual Basic -> ODBC All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]