Page Index Toggle Pages: [1] 2 3  Send Topic Send Topic Print Print
Very Hot Topic (More than 25 Replies) ODBC (Read 5862 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
 
Page Index Toggle Pages: [1] 2 3 
Send Topic Send Topic Print Print