I have no idea why but by asigning the complete .sql array string to the variable I can do whaterver I want so here is the solution...I can up with...
sqlString = "SELECT " + datacat + ".`Part Number`, " + datacat + ".Description, " + datacat + ".`Qty on...
SkipVought,
using the * causes no errors but does not display any data??
here's another look at what I’m trying.
maybe this will help...
Private Sub query()
SearchText = "'" + searchBoxtext.Value + "%'"
If ActiveSheet.QueryTables.Count = "0" Then
With...
Here's what I have..
SearchText = searchBoxtext.Value
With ActiveSheet.QueryTables.Add(Connection:=Array(Array( _
"ODBC;DefaultDir=C:\newsystest;Driver={Microsoft Text Driver (*.txt; *.csv)};DriverId=27;Extensions=txt,csv,tab,asc;FIL=text;MaxBuffe" _
), Array(...
First..I'm new to VB and macros.
And I'm just looking for some help to get started in the right direction.
Here's what I'm trying to do.
I have some CSV files that I want to query based on a user input in a textbox and I want the query results to be displayed in a combobox. I need this to happen...
Hasit,
Here is how I did it....May not be the best way or
a way to share...
but it works.
Sub OK_Click()
Dim sht()
File = FilenameBox.Value + ".xls"
Workbooks.Open FileName:=File
ActiveWindow.WindowState = xlMinimized
Workbooks(File).Activate
i = 0
For Each wks In Worksheets
ReDim...
I have a spread sheet with several sheets. I want to --From another excel file-- get all the sheet names and list them in a combo box via a macro. Is this possible?
Hi,
Here is waht I have:
use strict;
use Tk;
my $mw = MainWindow->new;
my $width = "1024";
my $height = "768";
$mw->geometry("$widthx$height+0+0");
$mw->title("WOProj");
MainLoop;
The geometry line should make the window width=1024 height=768.
but I...
my bad... I was trying too may things..Here is a simple example of what I'm trying to do...
use strict;
use Tk;
use Tk::Menubutton;
use Tk::Canvas;
my $mw = MainWindow->new;
my $canvas = $mw->Canvas(-width=>200,-height=>110...
Hi,
here is what Tk::Canvas doc says;
$canvas-gtpostscript(?option, value, option, value, ...?)
here is what I have;
use strict;
use Tk;
use Tk::Menubutton;
use Tk::Canvas;
my $wow = MainWindow->new;
$wow->title("Printing");
my $wocanvas = $wow->Canvas(-width=>200,-height=>110...
Hi,
I don't have any problems using hashes...
the problems start when I try to tie the hash to a dbm file
and add, edit and read from the file using MLDBM.
I've read the MLDBM doc over and over yet still can't get it.
thanks
paul
tsdragon,
First, thanks for the ideas.
Second, "not too large"??? it may be rather large
but it may not be changed very often.
All the values will be user inputs, basicly the database will be built by the user.Can that be done with the *.pl file method?
I have other items to work on...
HI,
I can’t figure out how to do this:
I need to build a database like this,
key = colors=>
color1 => red
color2 =>blue
color3 => black
ect…
key = shapes=>
shape1 => oval
shape2 => square
shape3 => circle
ect…
ect...
I need to search on key and return each item separately when...
Ok I spent a little more time checking this time
I've removed the getCookie function and changed the
ckCookie function. here it is
//Start of cookie data
expireDate = new Date
expireDate.setYear(expireDate.getYear()+1)
function setCookie(n , v){
var cookieStr = n + "="+ v...
first if you want the cookie values to display when the page is loaded use
<body onLoad=ckCookie()>
so with that in mind here's what I changed.
<html>
<head>
<title>Untitled</title>
<script language=JavaScript>
//Start of cookie data
// Add from here-------------------------
function...
here's how I would do it.
<script language=JavaScript>
//Start of cookie data
expireDate = new Date
expireDate.setYear(expireDate.getYear()+1)
function setCookie(n , v){
var cookieStr = n + "="+ v
document.cookie = cookieStr+";expires=" + expireDate.toGMTString()
}...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.