Search found 343 matches

by mightycpa
Sun Jan 18, 2004 3:41 am
Forum: Technical / Scripting
Topic: How to error trap a web log in
Replies: 3
Views: 5546

I'll bite

What does the error look like? My guess is you can save the HTML returned and look for some key words like:

Try Again
Invalid Password
Not Authorized
by mightycpa
Fri Jan 16, 2004 8:23 pm
Forum: Technical / Scripting
Topic: Reading a Listbox
Replies: 4
Views: 5858

Tried that, doesn't work for me

Actually, I'm working with a java application, and the list box is a swing control from which you pick dates. Although there are a limited number of dates within the available choices, you cannot predict what the presented choices will be. There is no way so simply enter the date, it must be selecte...
by mightycpa
Tue Jan 13, 2004 5:53 pm
Forum: Technical / Scripting
Topic: VBScript variable pass to MacroScheduler
Replies: 1
Views: 3192

VBScript variable pass to MacroScheduler

Hi, Is there a limit as to how much data can be passed from VB to MS? For instance, I'm working with 16 columns that add up to probably no more than 80 chars total, there is no problem. However, some of my tables contain a lot more data than that for each record. What are my practical and theoretica...
by mightycpa
Tue Jan 13, 2004 5:11 pm
Forum: Technical / Scripting
Topic: Parsing problem with Separate
Replies: 6
Views: 6712

Thanks.

Gotcha - I added this to my script: MessageModal>RValue[%k%] MessageModal>elements_%k% and both worked like a charm. This is the part that is missing in your help file, I would suggest the addition of a warning that displaying array values with text will prevent the value from displaying, and that t...
by mightycpa
Tue Jan 13, 2004 4:53 pm
Forum: Technical / Scripting
Topic: Parsing problem with Separate
Replies: 6
Views: 6712

Still missing something

Your solution worked but it is still ..... I could use a little more robust solution, specifically, to place the values in an array. I tried this: Repeat>k Let>k=k+1 Let>the_element=elements_%k% Let>RValue[%k%]=the_element MessageModal>List item %k% %CRLF% the_element is %the_element% %CRLF% RValue ...
by mightycpa
Tue Jan 13, 2004 2:55 pm
Forum: Technical / Scripting
Topic: ODBC persistent link
Replies: 4
Views: 5186

Thanks!

Thanks both!
by mightycpa
Tue Jan 13, 2004 2:53 pm
Forum: Technical / Scripting
Topic: Unexpected VB Error
Replies: 3
Views: 5051

Thanks!

Your support is great, thanks.
by mightycpa
Tue Jan 13, 2004 2:51 pm
Forum: Technical / Scripting
Topic: Parsing problem with Separate
Replies: 6
Views: 6712

Kewl!

Yeah, the "file_names_%k%" is in there alright. I thought it looked a little funny. I will try your approach, makes sense, I appreciate it.

Tx,

George
by mightycpa
Mon Jan 12, 2004 8:25 pm
Forum: Technical / Scripting
Topic: Parsing problem with Separate
Replies: 6
Views: 6712

I found a couple of things

I found that this code from above: MessageModal>%Record% GetFileList>Record,files Separate>files,;,file_names MessageModal>Num Files: %file_names_count% Let>k=0 Repeat>k Let>k=k+1 Message>List item %k% -> file_names_%k% -->file_names_1 Until>k,file_names_count should not use GetFileList, so I change...
by mightycpa
Mon Jan 12, 2004 8:01 pm
Forum: Technical / Scripting
Topic: Parsing problem with Separate
Replies: 6
Views: 6712

Parsing problem with Separate

Hi, I query from a db using VBScript, and place a record in the return variable. I've tried a couple of delimiters, ~ and ; but I get the same results. Here is the offending code, pretty much stripped off the help file: MessageModal>%Record% GetFileList>Record,files Separate>files,;,file_names Messa...
by mightycpa
Mon Jan 12, 2004 7:02 pm
Forum: Technical / Scripting
Topic: Unexpected VB Error
Replies: 3
Views: 5051

Unexpected VB Error

Hi, This VB code causes two errors: Function GetTimeEntry(SerNum) Dim SQLString Dim AcctNum Dim SerNum set MyDB = CreateObject("ADODB.Connection") MyDB.Open "GATER" SQLString = "SELECT time.* FROM [time] where time.serial = '" & SerNum & "';" 'MsgBox SQLString set rsTime = MyDB.Execute(SQLString) If...
by mightycpa
Mon Jan 12, 2004 4:16 pm
Forum: Technical / Scripting
Topic: ODBC persistent link
Replies: 4
Views: 5186

For clarity

For clarity,

BEGIN DBRECORD LOOP

--Query DB
--Select
--Pass value back to MS

--BEGIN DBCOLUMN LOOP

----Do stuff to record
----Put it in another application

--NEXT DBCOLUMN

NEXT DBRECORD
by mightycpa
Mon Jan 12, 2004 4:14 pm
Forum: Technical / Scripting
Topic: ODBC persistent link
Replies: 4
Views: 5186

ODBC persistent link

Hi, I've looked at the ODBC via VB script on the page, and I'm going to try it out, but I already see one need for change. The subroutine CONNECTS, QUERIES, CLOSES ... In my application, I'm going to do something like this: BEGIN DBRECORD LOOP Query DB Select Pass value back to MS BEGIN DBCOLUMN LOO...
Sign up to our newsletter for free automation tips, tricks & discounts