Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Access - Attachmate IF Then Statement

Status
Not open for further replies.

NWildblood

Technical User
Joined
Nov 12, 2007
Messages
113
Location
GB
Hi, I'm running some jobs from Access in Attachmate, and need a simple VB If ... Then statement to either populate a field or move over it if the field is already populated - what's the easiest syntax to use to determine If the field is already populated ?

Many thanks, not a coder, I just use VB to automate tasks.

"No-one got everything done by Friday except Robinson Crusoe...
 
Hi

I'm no expert either but I use the like of:

Test = MyScreen.GetString (1, 1, 1)
If Test = " " then
Code in here for test = " "
Else: Code in here for Test is not = " "
End if

but I'm sure there is a better way

good luck
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top