PC Review


Reply
Thread Tools Rate Thread

Assigning text from outside source to Access form text box

 
 
=?Utf-8?B?U2VsZlRhdWdodDE=?=
Guest
Posts: n/a
 
      3rd Nov 2004
I am trying to scrap text from a Personal Communication(IBM PCOMM) screen and
assign the text to a text box on an Access form. The data will not be stored
in any table. I am using the following code that generats a Syntax error:

[PCOMM SCRIPT HEADER]
LANGUAGE=VBSCRIPT
DESCRIPTION=
[PCOMM SCRIPT SOURCE]
autECLSession.SetConnectionByName(ThisSessionName)

REM This line calls the macro subroutine
subSub1_

sub subSub1_()
dim AcApp, Acmdb

set AcApp = CreateObject("Access.Application")
Acapp.opencurrentdatabase "Z:\mortgage.mdb"
AcApp.visible = true
with autECLSession.autECLPS
Acapp.Forms!FormName!TxtPolicy = .GetText(2, 3, 30)

End With

Any help would be greatly appreciated.
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't get mail outside outside of windows mail PacificElla Windows Vista Mail 1 14th Oct 2008 07:29 PM
What are: "Control Source" , "Row Source" and "Row Source Type" ? ali Microsoft Access Forms 1 14th Jan 2008 03:12 AM
How do I enter text outside a box when finished with a text box? =?Utf-8?B?TWFuZHlo?= Microsoft Word Document Management 1 18th Aug 2005 12:02 AM
outside reference where there should not be an outside reference.... Heidi Microsoft Excel Worksheet Functions 2 2nd Aug 2003 04:29 PM
Launching Access Reports from an outside source. Kelly Cromwell Microsoft Access Reports 3 30th Jul 2003 01:32 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:19 AM.