Very Hot Topic (More than 25 Replies) ODBC (Read 5863 times)
r.a.colunga
Member
*
Offline



Posts: 12
Location: San Antonio
Joined: May 22nd, 2008
ODBC
May 22nd, 2008 at 8:07pm
Print Post Print Post  
I have a question can Sesame be linked to Access 2000 tables via ODBC and if so how.
thanks
Smiley
  
Back to top
 
IP Logged
 
Hammer
YaBB Administrator
Lanticans
*****
Offline


Fire bad. Tree pretty.

Posts: 3436
Location: Ohio
Joined: Nov 22nd, 2002
Re: ODBC
Reply #1 - May 22nd, 2008 at 8:12pm
Print Post Print Post  
Sesame does have a read only ODBC driver, meaning that you can use Access to read Sesame information, but not to add or alter it.

If you describe what you need to do in more detail, we can probably offer better suggestions.
  

- Hammer
The plural of anecdote is not data.
Back to top
IP Logged
 
r.a.colunga
Member
*
Offline



Posts: 12
Location: San Antonio
Joined: May 22nd, 2008
Re: ODBC
Reply #2 - May 22nd, 2008 at 8:28pm
Print Post Print Post  
I am trying to import and export information from Sesame into Access with out having to use csv files any suggestions.
Thanks Smiley
  
Back to top
 
IP Logged
 
Bob_Hansen
Senior Member
Members
*****
Offline


WOW, They have the Internet
on computers now!

Posts: 1861
Location: Salem, NH
Joined: Nov 24th, 2002
Re: ODBC
Reply #3 - May 22nd, 2008 at 8:40pm
Print Post Print Post  
As Erica noted, you can create an ODBC connection to Sesame and then have Access use the ODBC connection as its data source.  Make a query in Access that reads the ODBC data source.  And use that Query as a source for making other queries for forms and reports.

Can only read info from Sesame,
Changes made to the data in Access will not be changed in Sesame.
  



Bob Hansen
Sesame Database Manager Professional
Sensible Solutions Inc.
Salem, NH
603-898-8223
Skype ID = sensiblesolutions
Back to top
IP Logged
 
r.a.colunga
Member
*
Offline



Posts: 12
Location: San Antonio
Joined: May 22nd, 2008
Re: ODBC
Reply #4 - May 22nd, 2008 at 9:42pm
Print Post Print Post  
Thank you for the reply Hammer and Bob_Hansen,

I guess my next question is what are the steps to be able use the ODBC drive and how do I get this driver to read Sesame via Access.
Smiley
  
Back to top
 
IP Logged
 
Bob_Hansen
Senior Member
Members
*****
Offline


WOW, They have the Internet
on computers now!

Posts: 1861
Location: Salem, NH
Joined: Nov 24th, 2002
Re: ODBC
Reply #5 - May 23rd, 2008 at 6:43am
Print Post Print Post  
These instructions are from memory, no access to Sesame right now.

Be sure you have the latest ODBC from Sesame.
Extract the files from the ODBC Zip file, and install using setup.exe.  You can create the ODBC connections here or proceed as shown next.

On XP PRO, using SesameSeasons as a sample .....
Start/Control Panel/Administrative Tools/Data Sources ODBC
Tab for User DSN / Add opens a window to Create a New Data Source
Select Sesame ODBC. Finish opens a window for Setup
Data Source = User Friendly Intelligent Name for Data Source (Sesame2SeasonsTest)
Database = Full path to Sesame database. (C:\Sesame2\Data\Samples\SesameSeasons.db)
Host  = Name of computer where database resides  (Computer Name)
Port = Port where database can be accessed (Use defaults 20000:20001)

Save results.
Create a new ODBC for each Sesame FileName.db that you want to use as a source
---------------------------------
Start Sesame Server with the same connection information as defined above with the Host and Port information.
This is critical.  You must be running a server to make the connection happen.
---------------------------------
Now, in Access, open your database, then proceed:
File/Get External Data/Link Tables/
Window opens, Change File Type at bottom of window to ODBC.
Window opens, use Tab for Machine Data Source
Select the Sesame ODBC that you want to use.

Now select the database "tables" that you want to use. These will be the Sesame databases.  You can select them all.  Now you can make your queries from these tables.  You will see that these have a different icon from your normal tables.  You may have problems with sub tables, you will get an error message saying that the  table is not valid.

I use a naming convention in Sesame where my databases are named tblName and the forms are named frmName.  This makes it good when using an ODBC link to  Access so my "tables" have the same naming convention that I use in Access or any other databases that I am working with.  I also name my FIELDS with a prefix like str, dat, tim, num, etc. to show the data type that is coming into the Access application.  I do not include the prefix on the ELEMENT names.

Once the ODBC connection has been defined it can be used as a datasource in any other application that uses data sources, like Access, Word, Open Office, FoxPro, Excel, etc.



  



Bob Hansen
Sesame Database Manager Professional
Sensible Solutions Inc.
Salem, NH
603-898-8223
Skype ID = sensiblesolutions
Back to top
IP Logged
 
r.a.colunga
Member
*
Offline



Posts: 12
Location: San Antonio
Joined: May 22nd, 2008
Re: ODBC
Reply #6 - May 23rd, 2008 at 10:38pm
Print Post Print Post  
Thank you Bob Hansen for the instructions they were very helpful.  I followed the instructions and did fine until I finished linking Access to Sesame.  Access did not fine any tables in Sesame.  I beleive it might be the version of the ODBC that I am using.  I am currently runing v1.1.5A and I installed Sesame_v1[1].0.2_ODBC.  My company updated to v1.1.5A via the internet and we do not have a cd how can we get the correct ODBC version. Or can you think of an other reason why Access could not come up with tables for Sesame.

Thanks,
  
Back to top
 
IP Logged
 
Carl Underwood
Senior Member
Members
*****
Offline



Posts: 1350
Location: New Hampshire
Joined: Mar 11th, 2003
Re: ODBC
Reply #7 - May 24th, 2008 at 1:32am
Print Post Print Post  
You can find the latest files here (you will need to log in): http://www.lantica.com/Support/downloads.html

But, it appears that you may have the latest driver for version 1.x, it is named Sesame_v1.0.2_ODBC.zip
  


Carl Underwood
CDU Computer Consulting LLC
Epsom, New Hampshire
Back to top
IP Logged
 
Bob_Hansen
Senior Member
Members
*****
Offline


WOW, They have the Internet
on computers now!

Posts: 1861
Location: Salem, NH
Joined: Nov 24th, 2002
Re: ODBC
Reply #8 - May 24th, 2008 at 4:05am
Print Post Print Post  
Again, be sure you have started Sesame Server before linking with Access.

Here is an example of starting Sesame as a Server machine.
C:\Sesame2\Program\sesame.exe  -server ServerName:20000:20001

And the ODBC values for Host and Port should match, in the example above, the Host would be ServerName and the Port would be 20000:20001

I do have access to Sesame again, and I followed my instructions above with success.  I am using Sesame version 2.06 but my initial ODBC experiences were in earlier 1.x versions.
  



Bob Hansen
Sesame Database Manager Professional
Sensible Solutions Inc.
Salem, NH
603-898-8223
Skype ID = sensiblesolutions
Back to top
IP Logged
 
r.a.colunga
Member
*
Offline



Posts: 12
Location: San Antonio
Joined: May 22nd, 2008
Re: ODBC
Reply #9 - May 24th, 2008 at 4:09am
Print Post Print Post  
Thank you, if I am running the correct version of ODBC do you have any suggestions why Access can not populate any tables from Sesame the list is blank.  I am running both the Sesame client and the Sesame server on the same computer.  Do I need to run the Sesame server on a different computer?  I will double check my sever setting to the ODBC settings put it appears to be fine the Sesame client is working. There is a long pause when I link up Access to Sesame and a window appears with options to add tables but the window is blank.  Cry
  
Back to top
 
IP Logged
 
Bob_Hansen
Senior Member
Members
*****
Offline


WOW, They have the Internet
on computers now!

Posts: 1861
Location: Salem, NH
Joined: Nov 24th, 2002
Re: ODBC
Reply #10 - May 24th, 2008 at 4:18am
Print Post Print Post  
Do the settings for the ODBC include the full path to the Sesame application file, including the extension .db?
Does the path include a mapped drive or UNC format or IP format?

Does a window pop up listing the Sesame databases, and you can't select any, or does no window pop up at all?
Are you prompted for a user name and/or password?

Can I make a remote connection and look at your system with you?  Could do that now, or in the next half hour if not too late for you.
  



Bob Hansen
Sesame Database Manager Professional
Sensible Solutions Inc.
Salem, NH
603-898-8223
Skype ID = sensiblesolutions
Back to top
IP Logged
 
r.a.colunga
Member
*
Offline



Posts: 12
Location: San Antonio
Joined: May 22nd, 2008
Re: ODBC
Reply #11 - May 24th, 2008 at 4:33am
Print Post Print Post  
Bob Hansen,

Thank you for the offer to link up but I am no longer at my office just following up at home. But yes I do get a window to add tables but the window is blank.
The ODBC  connection Database= (C:\Sesame\Data\Orders.db), Host= warehouse
  
Back to top
 
IP Logged
 
Bob_Hansen
Senior Member
Members
*****
Offline


WOW, They have the Internet
on computers now!

Posts: 1861
Location: Salem, NH
Joined: Nov 24th, 2002
Re: ODBC
Reply #12 - May 24th, 2008 at 5:24am
Print Post Print Post  
Since you are at home, you probably cannot do this now.....

Was going to ask for some screenshots:
1.  The Sesame Server window
2.  The ODBC settings window.

Questions, random, no order:
1.  What version of Access are you using?
2.  Does Access properly open an ODBC from another Sesame database?
3.  Does Access properly open an ODBC from another non-Sesame database (Access/FoxPro/Alpha)?
4.  Do any records exist in the linked Sesame database?  If no records, there will be no tables.
5.  Orders is the filename of the Sesame application that holds the database, correct?  It is not the name of a Sesame database inside a Sesame application file, correct?  There is a matching Orders.dat file in the same folder, correct?

I think that questions 4,5 are most likely to be the cause of the problem. 

I may be around during the weekend for a connection if you get to the machine.



  



Bob Hansen
Sesame Database Manager Professional
Sensible Solutions Inc.
Salem, NH
603-898-8223
Skype ID = sensiblesolutions
Back to top
IP Logged
 
r.a.colunga
Member
*
Offline



Posts: 12
Location: San Antonio
Joined: May 22nd, 2008
Re: ODBC
Reply #13 - May 27th, 2008 at 6:14pm
Print Post Print Post  
I am running XP and Access 2000.  I have a program called TracerPlus that is connected to an Access database via ODBC.  The program installed the connection for me.  How can I add screenshots to this post?  I know how to add a screenshot to word just hit the print screen button open word use Ctrl V to past the picture.  I am unable to use the same process on this post.

Thanks

RAC
  
Back to top
 
IP Logged
 
Bob_Hansen
Senior Member
Members
*****
Offline


WOW, They have the Internet
on computers now!

Posts: 1861
Location: Salem, NH
Joined: Nov 24th, 2002
Re: ODBC
Reply #14 - May 28th, 2008 at 1:27am
Print Post Print Post  
You  need to store the screenshot on a public access location and add a link to it.

Some free sources are PhotoBucket, SkyDrive
  



Bob Hansen
Sesame Database Manager Professional
Sensible Solutions Inc.
Salem, NH
603-898-8223
Skype ID = sensiblesolutions
Back to top
IP Logged
 
r.a.colunga
Member
*
Offline



Posts: 12
Location: San Antonio
Joined: May 22nd, 2008
Re: ODBC
Reply #15 - May 30th, 2008 at 4:25am
Print Post Print Post  
I am trying to run a copy on my computer but I am still having the same problem.  I am enclousing some screenshots maybe this might help.  http://i292.photobucket.com/albums/mm16/racolunga/SesameServer.jpg,http://i292.photobucket.com/albums/mm16/racolunga/SesameODBC.jpg,http://i292.photobucket.com/albums/mm16/racolunga/SelectDataSource.jpg ,and http://i292.photobucket.com/albums/mm16/racolunga/NoTables.jpg.  I cannot figure it out.  Are you sure Access 2000 can create tables from Sesame.  Thank you for the tip on Photobucket.   I hope you get the screenshots.

  
Back to top
 
IP Logged
 
Ray the Reaper
Global Moderator
Members
Lantica Support
*****
Offline


The One & The Only

Posts: 2480
Joined: Aug 20th, 2003
Re: ODBC
Reply #16 - May 30th, 2008 at 1:49pm
Print Post Print Post  
Hello RAC,

In screenshot NoTables.jpg it appears that you are also running another copy of Sesame besides the Sesame Server. Is this Copy of Sesame set up to be a Client? If it is, Have you tried connecting Access without that other client running(So connection count is 0 of 1)?

-Ray
  

Raymond Yoxall Consulting
ray.yoxall@gmail.com
ryoxall@lantica.com
Sesame Applications, Design and Support
Back to top
IP Logged
 
r.a.colunga
Member
*
Offline



Posts: 12
Location: San Antonio
Joined: May 22nd, 2008
Re: ODBC
Reply #17 - May 30th, 2008 at 4:34pm
Print Post Print Post  
Thanks Ray,

You have solved my problem I am now able to get sesame tables into Access.  I notice that I am unable to open my Sesame client app with Access open.  My office has a server that can runs six clients I assume that Sesame identifies Access as a client.  Will I be able to run five Sesame clients and Access at the same time and if so do I need to load Access first and then load up the Sesame clients?

Grin
  
Back to top
 
IP Logged
 
Ray the Reaper
Global Moderator
Members
Lantica Support
*****
Offline


The One & The Only

Posts: 2480
Joined: Aug 20th, 2003
Re: ODBC
Reply #18 - May 30th, 2008 at 5:18pm
Print Post Print Post  
r.a.colunga wrote on May 30th, 2008 at 4:34pm:
Will I be able to run five Sesame clients and Access at the same time


Yes, you will be able to.

Quote:
....if so do I need to load Access first and then load up the Sesame clients?


They can connect in any order you want them to, there can only just be six of them.

-Ray


  

Raymond Yoxall Consulting
ray.yoxall@gmail.com
ryoxall@lantica.com
Sesame Applications, Design and Support
Back to top
IP Logged
 
Bob_Hansen
Senior Member
Members
*****
Offline


WOW, They have the Internet
on computers now!

Posts: 1861
Location: Salem, NH
Joined: Nov 24th, 2002
Re: ODBC
Reply #19 - May 30th, 2008 at 7:17pm
Print Post Print Post  
Glad to hear you got the ODBC working.

You can also imbed those images into the forum vs, just a link.

Here is the first of your links, surrounded with the "img" tags and centered.
  



Bob Hansen
Sesame Database Manager Professional
Sensible Solutions Inc.
Salem, NH
603-898-8223
Skype ID = sensiblesolutions
Back to top
IP Logged
 
Ray the Reaper
Global Moderator
Members
Lantica Support
*****
Offline


The One & The Only

Posts: 2480
Joined: Aug 20th, 2003
Re: ODBC
Reply #20 - May 30th, 2008 at 7:26pm
Print Post Print Post  
Just an FYI. one of the new features in 2.0 is that the ODBC client does not take up a normal client license. If you were running version 2, you would be able to connect 6 Sesame clients plus the Access client.

-Ray
  

Raymond Yoxall Consulting
ray.yoxall@gmail.com
ryoxall@lantica.com
Sesame Applications, Design and Support
Back to top
IP Logged
 
r.a.colunga
Member
*
Offline



Posts: 12
Location: San Antonio
Joined: May 22nd, 2008
Re: ODBC
Reply #21 - May 31st, 2008 at 7:26pm
Print Post Print Post  
Thank you all this is a great forum and very helpful.

Smiley
  
Back to top
 
IP Logged
 
r.a.colunga
Member
*
Offline



Posts: 12
Location: San Antonio
Joined: May 22nd, 2008
Re: ODBC
Reply #22 - Jun 3rd, 2008 at 1:47pm
Print Post Print Post  
I have run into a new problem linking Access up Sesame.  My office is running the Sesame server on a stand-alone server that is running Windows NT Server 2003 service pack 2.   The linking process works fine if I run the Sesame server and Sesame database on my local drive C but not off the office sever on drive G. My computer does have access to the G drive it is mapped.  The process I used was basically the same. The only change was to the ODBC Data Administrator driver I reconfigured it to Data = G:\Sesame\Data\Orders2.db, Host  = ntserver.  This process did not work what am I doing wrong.

Thanks,
  
Back to top
 
IP Logged
 
Bob_Hansen
Senior Member
Members
*****
Offline


WOW, They have the Internet
on computers now!

Posts: 1861
Location: Salem, NH
Joined: Nov 24th, 2002
Re: ODBC
Reply #23 - Jun 3rd, 2008 at 3:36pm
Print Post Print Post  
The ODBC path and the Sesame Server path must be identical.

Does your startup for Sesame Server have the same path using Drive G?

Or have you tried using UNC in the ODBC definition vs. Drive G?


  



Bob Hansen
Sesame Database Manager Professional
Sensible Solutions Inc.
Salem, NH
603-898-8223
Skype ID = sensiblesolutions
Back to top
IP Logged
 
Ray the Reaper
Global Moderator
Members
Lantica Support
*****
Offline


The One & The Only

Posts: 2480
Joined: Aug 20th, 2003
Re: ODBC
Reply #24 - Jun 3rd, 2008 at 3:56pm
Print Post Print Post  
The path to the DB file should be the path to the DB as if you were on the computer ntserver itself.

So if Orders2.db is stored in C:\Sesame\Data on the Server Computer ntserver. Then the filepath in the ODBC setup would still be C:\Sesame\Data\Orders2.db

-Ray
  

Raymond Yoxall Consulting
ray.yoxall@gmail.com
ryoxall@lantica.com
Sesame Applications, Design and Support
Back to top
IP Logged
 
r.a.colunga
Member
*
Offline



Posts: 12
Location: San Antonio
Joined: May 22nd, 2008
Re: ODBC
Reply #25 - Jun 3rd, 2008 at 6:26pm
Print Post Print Post  
The path to the Sesame server is C:\Sesame\Program\sesame.exe -server ntserver:20020:20021 and on this same computer, the database is on the G drive.  My question to you is on the ODBC path, how do I include both the path to the server and the path to the database.  In the ODBC data source I was using Database = G:\Sesame\Data\Orders2.db and Host = ntsever and Port = 20020:20021 but does not work.
The UNC name is \\ntserver\g so should I use under Database = \\ntserver\g\Sesame\Data\Orders2.db.
Thanks
  
Back to top
 
IP Logged
 
Ray the Reaper
Global Moderator
Members
Lantica Support
*****
Offline


The One & The Only

Posts: 2480
Joined: Aug 20th, 2003
Re: ODBC
Reply #26 - Jun 3rd, 2008 at 8:19pm
Print Post Print Post  
You do not need to include the Path to the Server by using a UNC path. The way the ODBC driver, and Sesame works, is that you don't need to include a path to the Server at all in the Database name. The Database path is pathed as if you were sitting on the Server computer where Sesame server resides.

Here's a quick Run Down of how the ODBC connection to a Sesame Server works
The ODBC Client runs
It connects to the Computer specified in the Host field of the ODBC setup on the Ports specified in the Port field of the ODBC setup.
Once connected it asks the Sesame Server to load the file named in the Database field of the ODBC setup.
The Sesame Server loads that file and hands back the list of Tables to the OBDC Client(Assuming the file exists and could be loaded)
The ODBC client can then tell the Sesame Server what Tables it wants and the Sesame Server returns the Data to the ODBC client.


Things to check(In Order):
Check that you can connect a normal Sesame client to ntserver:20020:20021
Check that you can open the Orders2.db file from the Sesame Client.
Once you have that file loaded note the Path that is shown on the top of the Sesame window. That is the path that you will want to use in the Database field in the ODBC setup.


Let me know if any of the things above gives you an error as that will give us a place to look for the problem.
-Ray
  

Raymond Yoxall Consulting
ray.yoxall@gmail.com
ryoxall@lantica.com
Sesame Applications, Design and Support
Back to top
IP Logged
 
Amor
Full Member
Members
***
Offline


No personal text

Posts: 366
Location: Germany
Joined: Feb 7th, 2004
Re: ODBC
Reply #27 - Dec 3rd, 2009 at 12:05pm
Print Post Print Post  
Hello!

Wie are running the Sesame server on a stand-alone server that is running Windows NT Server 2003
I have the latest Sesame ODBC files and use Crystal Reports to access on Sesame databases.
It works extremely well. But when I try to access on the Form "invoice" (the other Forms in the same Application are OK!)
i get the following message:
Database-Connector - Error: "2203:[lantica, Inc.][Sesame ODBC Driver] out of range [Datenbankanbietercode: 1011]"

please what does this message?

Thank you for any support.
  

Dr. med. Amor Belhareth&&Medizin Labor &&Germany
Back to top
 
IP Logged
 
Ray the Reaper
Global Moderator
Members
Lantica Support
*****
Offline


The One & The Only

Posts: 2480
Joined: Aug 20th, 2003
Re: ODBC
Reply #28 - Dec 7th, 2009 at 2:13pm
Print Post Print Post  
Hello Amor,

Can you e-mail your DB and DAT files to support@lantica.com so that we can have a look at them and see what is causing that error message.

-Ray
  

Raymond Yoxall Consulting
ray.yoxall@gmail.com
ryoxall@lantica.com
Sesame Applications, Design and Support
Back to top
IP Logged
 
Ray the Reaper
Global Moderator
Members
Lantica Support
*****
Offline


The One & The Only

Posts: 2480
Joined: Aug 20th, 2003
Re: ODBC
Reply #29 - Dec 10th, 2009 at 4:12pm
Print Post Print Post  
Hello Amor,

Do you have Microsoft Excel or Word installed on the same computer?
If you do, could you let me know what version it is?

I am going to have you use Excel to also test the ODBC connection to Sesame.

-Ray
  

Raymond Yoxall Consulting
ray.yoxall@gmail.com
ryoxall@lantica.com
Sesame Applications, Design and Support
Back to top
IP Logged
 
Amor
Full Member
Members
***
Offline


No personal text

Posts: 366
Location: Germany
Joined: Feb 7th, 2004
Re: ODBC
Reply #30 - Dec 10th, 2009 at 9:07pm
Print Post Print Post  
Hello ray,

i use the MS Office 2007.

Thanks.
  

Dr. med. Amor Belhareth&&Medizin Labor &&Germany
Back to top
 
IP Logged
 
Ray the Reaper
Global Moderator
Members
Lantica Support
*****
Offline


The One & The Only

Posts: 2480
Joined: Aug 20th, 2003
Re: ODBC
Reply #31 - Dec 10th, 2009 at 9:15pm
Print Post Print Post  
In Excel 2007
Start a New Workbook
Click the Data Tab
Click From Other Sources
From the Drop Down, Click "From Microsoft Query"
Choose the same ODBC link that you were choosing from Crystal Reports

Can Microsoft Query show the fields from the Invoice Database?

-Ray
  

Raymond Yoxall Consulting
ray.yoxall@gmail.com
ryoxall@lantica.com
Sesame Applications, Design and Support
Back to top
IP Logged
 
Amor
Full Member
Members
***
Offline


No personal text

Posts: 366
Location: Germany
Joined: Feb 7th, 2004
Re: ODBC
Reply #32 - Dec 16th, 2009 at 8:45pm
Print Post Print Post  
Hello Ray-

In Excel i could not open files and got this error :"there were no Tabellists from Source Database obtained!"

In Crystal Reports just a few forms are not open (Is the reason perhaps to certain Form characteristics?)

Thanks.

Dr. Belhareth
« Last Edit: Dec 17th, 2009 at 9:12am by Amor »  

Dr. med. Amor Belhareth&&Medizin Labor &&Germany
Back to top
 
IP Logged