Solved

Access field transferred to a Sybase field

Posted on 2000-03-05
7
262 Views
Last Modified: 2012-08-14
Bkgrnd: I use Access97 with Windows98

Is there any trick or suggestion you might suggest whereby I can transfer the contents of ONE particular Access field across platforms to a Sybase db field WITHOUT ODBC?  I know that is the point of ODBC, but I, having only one life, do not want to have to learn Sybase to transfer one comment field to the other. Obviously, a Windows98 macro would be the thing I need to simplify my present Copy and pasting, but I realize this does not exist, but a concept along those lines or something! would be most welcome in the way of automating what I want to do.
Z
0
Comment
Question by:zyzzyva57
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 2
7 Comments
 
LVL 14

Accepted Solution

by:
mgrattan earned 200 total points
ID: 2588470
If you are using Access 97 then ODBC is really the simplest answer.  All you have to do is select File, Get External Data, Link Tables and select ODBC as your data source.  Then select the Data Source from the ODBC window that will open (if you do not have one configured for your Sybase database you will need to do so).  Once the Sybase table is linked into your Access database you can use update/append queries in Access to update the fields in the Sybase table.  You DO NOT need to learn Sybase!

0
 

Author Comment

by:zyzzyva57
ID: 2591132
I will study your suggestion.  I am afraid you are right.  The problem i  see from the get-go is I don't think I have whatever for Access to link to the Sybase.  I may from the Sybase side.  See, that has been a big problem for me: It looks as if I might be able to pull it off from the Sybase side, because Access is listed.  I see this in the Sybase program: Open Another DB --> Select Data Source ____ --> I can select Access97-->and hit OK.
Another problem with me not knowing Sybase is when I experiment with the Sybase program I can screw up getting back into my data. There are several files associated with this program.  Lord, Access looks simple compared to what I see!  Parts of the data is split up into Word docs.  Apparently SQL is the only language used. On and on this mess goes.
Thanks,
z
0
 
LVL 14

Expert Comment

by:mgrattan
ID: 2592196
If you open the Control Panel in Windows and select the 32-bit ODBC Data Sources icon you will see a list of currently installed drivers on the Drivers tab.  If Sybase is not listed you can install the Sybase driver by running the Access setup again.  There should be a ODBC driver for Sybase available in your list of drivers if you have installed a Sybase client package such as Active Server Anywhere on your PC.  

0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 14

Expert Comment

by:mgrattan
ID: 2592214
If you open the Control Panel in Windows and select the 32-bit ODBC Data Sources icon you will see a list of currently installed drivers on the Drivers tab. There should be a ODBC driver for Sybase available in your list of drivers if you have installed a Sybase client package such as Active Server Anywhere on your PC.  

Go back to the User DSN tab in the ODBC Data Source Administrator and check to see if there is a data source configured for the Sybase driver.  If not, just click the Add button and select the Sybase driver from the list of available drivers.  You will then be prompted to enter information such as the IP address of the Sybase server, your login name, and your password (optional).  Once you have the data source configured in this manner you will be able to connect to it from within Access.

0
 
LVL 14

Expert Comment

by:mgrattan
ID: 2606656
Please accept or decline my answer so your topic will fall into the proper resolution category.  Thank you!

0
 

Author Comment

by:zyzzyva57
ID: 2607599
Sorry.
I apologize for my delay.
On my end a problem: A computer problem.
Too, I needed the weekend to evaluate potential solutions.  This is the most difficult problem I have wanted to resolve vis-a-vis Access.  As much as I dislike the thought I fear I will have to hunker down and attack the ODBC text book chapters.  Lord, I hope I can avoid also having to learn Sybase, too.
Anyway, a quick question or two and God willing I will close out my question this weekend.  I think I grasp the big picture I can begin to dissect, but I do not see any Sybase SQL Anywhere Database Engine Version 5.5.03 Build #1666, or in fact, any Sybase "Anything" listed in your directions of "...open the Control Panel in Windows and select the 32-bit ODBC Data Sources icon you will see a list of currently installed drivers on the Drivers tab. There should be a ODBC driver for
Sybase available in your list of drivers if you have installed a Sybase client package such as Active Server Anywhere on your PC."

Any final clarifications on this point?  Can I download the driver from Sybase if all I am is a user of a Sybase db.

Many thanks,
z
0
 
LVL 14

Expert Comment

by:mgrattan
ID: 2610012
Actually, ODBC is pretty transparent once you have the correct drivers installed since Access allows you to directly link to a table in another database via the appropriate ODBC driver.  As for Sybase, I'm afraid I don't have any direct knowledge of the ODBC drivers that are available.  I was speaking in general terms about setting up the drivers.

Do you have a Sybase DBA (database administrator) at your site?  If so, that person should be able to assist you in getting the driver installed on your PC.  If not, then you will want to install the client installation of Sybase, which should include the ODBC drivers.

Best regards,

Mike.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Access developers frequently have requirements to interact with Excel (import from or output to) in their applications.  You might be able to accomplish this with the TransferSpreadsheet and OutputTo methods, but in this series of articles I will di…
Did you know that more than 4 billion data records have been recorded as lost or stolen since 2013? It was a staggering number brought to our attention during last week’s ManageEngine webinar, where attendees received a comprehensive look at the ma…
Familiarize people with the process of utilizing SQL Server stored procedures from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Micr…
Using Microsoft Access, learn some simple rules for how to construct tables in a relational database. Split up all multi-value fields into single values: Split up fields that belong to other things into separate tables: Make sure that all record…

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question