SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
read an acess database

 
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite View previous topic
View next topic
read an acess database
Author Message
yann



Joined: 15 Jun 2001
Posts: 9

Post read an acess database Reply with quote

In the preference menu, I'm not able to chose an Excel database. How can I read an Excel database ? thanks for your help.

Mon Jun 18, 2001 6:29 am View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7948

Post Re: read an acess database Reply with quote

You need an ODBC Excel driver and configured "ODBC Data Source". Then in the 24x7 Database Profiles you would select ODBC as a database and create a new profile for the configured ODBC Source.

: In the preference menu, I'm not able to chose an Excel database. How can I
: read an Excel database ? thanks for your help.

Mon Jun 18, 2001 8:44 am View user's profile Send private message
yann



Joined: 15 Jun 2001
Posts: 9

Post Re: read an acess database Reply with quote

It's done, but when I want my job to access to a specified table with the command "DatabaseImport", the soft return me :"Result set is not updatable, specified table must have a primary key" whereas I've already defined a primary key for my table... any idea about this error ?



Mon Jun 18, 2001 10:30 am View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7948

Post Re: read an acess database Reply with quote

Excel is not really a database system and it does not have tables and primary keys, therefore you cannot use DatabaseImport or any other "updateable" operation. If you intend to load some data into Excel you should use direct Excel automation using either Excel COM interface or Excel macros or by manipulating Excel using keystrokes.

For Excel COM automation, see "Excel Automation" example in 24x7 v.3 and also the 24x7 online help for Visual Basic Script

For Excel Macros see Excel on-line help on macros that run whenever you open a workbook. So when you start Excel with a template (or file containing macro) in the command line parameter, that macro will run and do the "import" job.

For keystrokes, see "Send Keystrokes" topic in the 24x7 on-line help.

: It's done, but when I want my job to access to a specified table with the
: command "DatabaseImport", the soft return me :"Result set
: is not updatable, specified table must have a primary key" whereas
: I've already defined a primary key for my table... any idea about this
: error ?

Mon Jun 18, 2001 10:42 am View user's profile Send private message
Display posts from previous:    
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite All times are GMT - 4 Hours
Page 1 of 1

 
Jump to: 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


 

 

Powered by phpBB © 2001, 2005 phpBB Group
Design by Freestyle XL / Flowers Online.