English
Forum

Excel-macro Call

SQL-ask

 

Stephan
Sonneborn
thanks for Your Tipps. the the Excel-macro can I now The "alte" method through SENDSTRING Call. is me but a morsel of To unelegant...

therefore wished I time with SQL keep busy.

The Excel-scheduler (*.xls) initialisiere I with
SQLInit_NAVBOM$ = "Driver={Microsoft Excel coachman (*.xls)};DBQ=" + NAVBOMFile$ + ";FIL=MSExcel"
HSQL_NAVBOM& = SQLINIT(SQLInit_NAVBOM$)
the works too, because the lever the DB becomes allocated (is mismatched 0).

But if I then z.B. The first Line the Arbeitsmappe scheduler1 reading wants, comes so a MS-JET-Error Message, that the Objekt scheduler1 not famous be and whether I because well too any Pfadangaben correctly. made had.

my Source is:
SQL$ = "SELECT * FROM scheduler1"
SQLEXEC SQL$, 1

ought to really correctly. his. therefore understand I The Message not...

i'd too gladly The names the Arbeitsmappen of/ one XLS-File read, circa then aimed on a Mappe grab to. moreover Have I of course here and there what found (zb: "SELECT * FROM 'Tabelle1$'") but the working not.

white someone council?

68 kB
Kurzbeschreibung: SQL-Error Message
Hochgeladen:09/26/10
Downloadcounter174
Download
 
Schöne Grüße aus Wittgenstein
von Stephan

Programmierumgebung:| XProfan X4 | WIN10 | AMD FX6100 3,3 GHz
09/26/10  
 



there's sure a suitable "JET"-SQL the The tables first any lists but whom know I do not.
 
09/26/10  
 




Uwe
''Pascal''
Niemeier
Hi Stephan!

The name the Arbeitsmappe/scheduler must in bracket clinging staid go:

SQL$=" SELECT TOP 10 * FROM [scheduler1$] "

How one by SQL on a Overview the available tables comes, would me but too time interested...

PS: Per ocx would it well weg...

SeeYou
Pascal
 
09/26/10  
 




Stephan
Sonneborn
Hi Pascal,

thanks for Info. but unfortunately working the neither...

I have a Excel-scheduler with 2 Arbeitsmappen: scheduler1 and scheduler2. Nix goes:

SQL$=" SELECT TOP 10 * FROM [scheduler1$] " or
SQL$=" SELECT TOP 10 * FROM [scheduler1] " or
SQL$="SELECT TOP 10 * FROM [scheduler1$]" or
SQL$="SELECT TOP 10 * FROM [scheduler1]"

it comes always these Error Message...
 
Schöne Grüße aus Wittgenstein
von Stephan

Programmierumgebung:| XProfan X4 | WIN10 | AMD FX6100 3,3 GHz
09/26/10  
 




Stephan
Sonneborn
has it!

I had yet ne old XProfan12it Beta installs.... with XProfan12 - Beta13 GEHTS again!!!
 
Schöne Grüße aus Wittgenstein
von Stephan

Programmierumgebung:| XProfan X4 | WIN10 | AMD FX6100 3,3 GHz
09/26/10  
 




ByteAttack
Well. the only I time with Excel made have, is [...] 
but Makros can there unfortunately not read. must time look whether the too somehow differently goes.
 
Website:  [...] 
Facebook:  [...] 
09/27/10  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

7.548 Views

Untitledvor 0 min.
H.Brill04/17/23
RudiB.07/27/19
rquindt04/08/18
Andre Rohland05/26/17
More...

Themeninformationen



Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie