Solved

Access field transferred to a Sybase field

Posted on 2000-03-05
7
258 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
  • 5
  • 2
7 Comments
 
LVL 14

Accepted Solution

by:
mgrattan earned 200 total points
Comment Utility
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
Comment Utility
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
Comment Utility
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
Free Gift Card with Acronis Backup Purchase!

Backup any data in any location: local and remote systems, physical and virtual servers, private and public clouds, Macs and PCs, tablets and mobile devices, & more! For limited time only, buy any Acronis backup products and get a FREE Amazon/Best Buy gift card worth up to $200!

 
LVL 14

Expert Comment

by:mgrattan
Comment Utility
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
Comment Utility
Please accept or decline my answer so your topic will fall into the proper resolution category.  Thank you!

0
 

Author Comment

by:zyzzyva57
Comment Utility
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
Comment Utility
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

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

In Debugging – Part 1, you learned the basics of the debugging process. You learned how to avoid bugs, as well as how to utilize the Immediate window in the debugging process. This article takes things to the next level by showing you how you can us…
Describes a method of obtaining an object variable to an already running instance of Microsoft Access so that it can be controlled via automation.
Basics of query design. Shows you how to construct a simple query by adding tables, perform joins, defining output columns, perform sorting, and apply criteria.
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…

762 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now