For Programmers: Free Programming Magazines  


Home > Archive > PowerBuilder > February 2005 > Compress Access-DB









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Compress Access-DB
Xaver Trapichler

2005-02-03, 4:00 pm

I tried this:

boolean erg
int frequest
string cdriver, cattribute
ulong hwnd

hwnd = Handle(w_anmeldung)
fRequest = 1
cDriver = "Microsoft Access-Treiber (*.mdb)"
cAttribute = "COMPACT_DB='etv.mdb' 'etv3.mdb' General"

erg = SQLConfigDataSource(hwnd,frequest,cdrive
r,cattribute)
if erg = false then
messagebox("","False")
else
messagebox("","True")
end if


erg is always false ...
Does somebody know what am I making wrong??

Xaver


Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com