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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VB Help with AR1300 UI 1

Status
Not open for further replies.

basquiat

Technical User
Jun 1, 2005
22
ZA
I am a new Accpac Advantage 5.3A user;
I would like to customize the customers screen for my "CRM" staff;
I've created a Data Link from VB to Access;
And opened the AR1300 UI;
Is it possible to cutomize this screen?;
Remove tabs, change descriptions etc.?

And...
All the tables are accessible through Data View Window, but is possible to add fields to these tables;

Any help would be much appreciated!
 
Yes, you can change descriptions, you drop the UI on your form, and change accordingly. Use the Accpac UI info utility to tell you where you need to make changes.

No, you CANNOT add fields. But with the unlimited optional fields feature in 5.3, this is a moot point.

Jay Converse
IT Director
Systemlink, Inc.
 
Thanks Jay

I couldn't find any online help on the UI info utility;

Let say I wanted to for example change the description on AR1300, the customer screen, from 'Zip / Postal' to 'Postal';
I guessed, from the UI utility, that the labels name is 'afecARCUScodepstl' and that I'd be able to change the caption with the following code.....

Private Sub ACCPACAR1300UICtrl1_OnUIAppOpened()

afecARCUScodepstl.Caption = "Postal"

End Sub

Any help you can give me on this one?;
Thanks, the optional fields works just fine;

 
You will probably need to get into the UI's controls collection. Something similar to this might work,
Code:
AccpacAR1300UICtrl1.UIAppControls("afecARCUScodepstl").Caption = "Postal"

zemp
 
Thanks Zemp, that did the trick;

If you wanted to remove certian fields from the UI, would you do it through Accpac's customize feature or can one remove it in "design mode"?;

I managed to add text boxes to the UI;
But couldn't remove text boxes or add additional tabs;

 
You can't do it in design mode, you would do this at runtime:

AccpacAR1300UICtrl1.UIAppControls("afecARCUScodepstl").Visible = False

or, you can use normal screen customization.

But sorry, you can't add tabs.


Jay Converse
IT Director
Systemlink, Inc.
 
Thanks for the help Jay;

I've tried your code but got..."Can't assign to Read-only property";

Any ideas?;

Thanks again for the help!
 
Oops, I forgot that one, it's .MacroVisibleFlag = False


Jay Converse
IT Director
Systemlink, Inc.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top