CAPITAL Office Business Software
CAPITAL Support Forum
FAQSearchMembersGroupsRegisterProfilePM'sLogin/Out
Adding Images To Stock Records

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    CAPITAL Office Business Software Forum Index -> Technical Notes & Bulletins
View previous topic :: View next topic  
Author Message
COBS Tech Support



Joined: 09 Sep 2005
Posts: 617

PostPosted: Wed Jul 25, 2007 11:17 am    Post subject: Adding Images To Stock Records Reply with quote

This is one suggested approach for adding images to stock records.

Images are assumed to be located in the folder c:\images. Change "c:\images" to a drive letter and path that is accessible to all users who access CAPITAL software.

Place your images in this folder and rename them to match the product code of the items in stock control. For example if your product code is ABC-12345 then the file name of the image should be ABC-12345.JPG if the picture is a JPG image or ABC-12345.BMP if the picture is a BMP image.

Note: You cannot use this approach if your product codes contain reserved characters not allowed by Windows (certain punctuation symbols such as: \ and /, ", < >, ? or *)

1. Log all users out of CAPITAL.
2. Log in with an administrator level password.
3. From the main menu select Special|Screen Builder.
4. Select Stock Control, and press Open.
5. Select Insert|Picture from the main menu.
6. Position the mouse where you want to place the picture and click the left mouse button. (Also resize the image by dragging the mouse as applicable.)
7. Press OK.
8. Double-click on the picture object and press the Formula tab.
9. Paste the following script into the edit area:

PictureLocation := "c:\images"
PictureFileName := Alltrim(SCRRead("Name"))

If IsFile(PictureLocation + "\" + PictureFileName + ".JPG")
Return
Endif

If IsFile(PictureLocation + "\" + PictureFileName + ".BMP")
Return
Endif

PictureLocation := ""
PictureFileName := ""

10. Press OK, and select File|Exit from the menu.
11. When prompted save your changes.
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    CAPITAL Office Business Software Forum Index -> Technical Notes & Bulletins All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

phpBB Template by Vereor
Protected by Anti-Spam ACP