Search found 7 matches

by jtsy
Tue Jul 31, 2007 8:50 am
Forum: Beginners
Topic: Get Result Set from Database
Replies: 1
Views: 3682

Get Result Set from Database

Hi we'd like to ask if there's a way to get a list of results from the database using a Select Statement. Below is a part of our code, which we think only gives us one result field, whereas what we need is a list of results for us to display onto the macro scheduler dialog. Thanks in advance. . . . ...
by jtsy
Mon Jul 23, 2007 2:55 pm
Forum: Beginners
Topic: CTRL-c cannot copy text to clipboard
Replies: 1
Views: 5497

CTRL-c cannot copy text to clipboard

Hi, We wrote a piece of macroscript code in order to copy a portion of text from a text file to another text file. part of the code is as follows: Run Program>C:\Program Files\Windows NT\Accessories\wordpad.exe WaitWindowOpen>Document - WordPad WindowAction>1,Document - WordPad //open source file Wa...
by jtsy
Tue Jul 17, 2007 12:38 pm
Forum: Beginners
Topic: Insert Statement
Replies: 2
Views: 4319

ok! thanks!
by jtsy
Tue Jul 17, 2007 11:07 am
Forum: Beginners
Topic: Insert Statement
Replies: 2
Views: 4319

Insert Statement

Hi sorry i got another problem now I tried to perform an Insert Into. 'Temp' variable contains values that i retrieved from notepad. However, the data that was inserted into the database is always (1, blank space). Is it because 'temp' is outside VBSTART and VBEND? if so, how do i go about correctin...
by jtsy
Tue Jul 17, 2007 10:21 am
Forum: Beginners
Topic: Database Connection
Replies: 4
Views: 5639

It worked! Thanks!! :D
by jtsy
Tue Jul 17, 2007 9:49 am
Forum: Beginners
Topic: Database Connection
Replies: 4
Views: 5639

Erm how do you check what value is actually taken in? How do we print out the value? Sorry I'm a total newbie :P After changing the final line to Set rs = MyDB.Execute("INSERT INTO carriertest VALUES('3', 'temp');") I now get an error message Specified Window "rs = MyDB.Execute("INSERT INTO carriert...
by jtsy
Tue Jul 17, 2007 9:15 am
Forum: Beginners
Topic: Database Connection
Replies: 4
Views: 5639

Database Connection

Hi i'm trying to connect to MySQL Database using ODBC Connection Driver. There was no error message when i executed it, but my database doesn't seem to be updated. Any form of help will be greatly appreciated! Below is my code Dim MyDB : MyDB=Server.CreateObject("ADODB.Connection") MyDB.open "Driver...
Sign up to our newsletter for free automation tips, tricks & discounts