File Exchange
Try Origin for Free
The Origin Forum
Home
|
Profile
|
Register
|
Active Topics
|
Members
|
Search
|
FAQ
|
Send File to Tech support
All Forums
Origin Forum for Programming
LabTalk Forum
Creating temporary table via dbImport
Note:
Only the poster of this message, and the Moderator can edit the message.
Screensize:
640 x 480
800 x 600
1024 x 768
1280 x 1024
UserName:
Password:
Anti-Spam Code:
Format Mode:
Basic
Help
Prompt
Format:
Font
Andale Mono
Arial
Arial Black
Book Antiqua
Century Gothic
Comic Sans MS
Courier New
Georgia
Impact
Lucida Console
Script MT Bold
Stencil
Tahoma
Times New Roman
Trebuchet MS
Verdana
Size
1
2
3
4
5
6
Color
Black
Red
Yellow
Pink
Green
Orange
Purple
Blue
Beige
Brown
Teal
Navy
Maroon
LimeGreen
Forum:
LabTalk Forum
Subject:
Message:
* HTML is OFF
*
Forum Code
is ON
Smilies
Origin Ver. and Service Release: 2022b 9.9.5.171 Operating System: Windows Server 2012 Dear Origin-team, I use dbImport to get data from SQL database. This works without problems. But now I have to create a temporary table at the database before I import the data. Thus I know that the server connection is ok, the SQL-import works and if I test the SQL-sequence to create the temporary table directly on the server software he creates the table without problems. This sequence I want to use: string SPECTRALtemp$="CREATE TABLE ##temp_spectral_data (wavelength int, intensity int)"; dbEdit change conn:=dbSource$ sql:=SPECTRALtemp$; dbImport; The following error message occurs: (800a0e78) ADODB.Recordset: Der Vorgang ist für ein geschlossenes Objekt nicht zugelassen. C:\Windows\HELP\ADO270.CHM ... The process is not allowed for a closed object. From web search I found that a closed connection could be a problem but I do not see the point why or where this should occur. Thanks for your help and best regards, Karsten8.
Check here to subscribe to this topic.
The Origin Forum
© 2020 Originlab Corporation
Snitz Forums 2000