Free Advertising Forums | Free Advertising Board | Post Free Ads Forum | Free Advertising Forums Directory | Best Free Advertising Methods | Advertising Forums

Free Advertising Forums | Free Advertising Board | Post Free Ads Forum | Free Advertising Forums Directory | Best Free Advertising Methods | Advertising Forums (http://www.freeadvertisingzone.com/index.php)
-   Post Your Income Opportunities Here (http://www.freeadvertisingzone.com/forumdisplay.php?f=78)
-   -   Microsoft Office Professional Plus 2007 Power Tip (http://www.freeadvertisingzone.com/showthread.php?t=1096786)

04-22-2011 10:00 PM

Microsoft Office Professional Plus 2007 Power Tip
 
Today’s Power Tip comes from Philippe Riondel of text2texte. Philippe is an English to French certified translator based in Québec. I am currently developing a terminology managing database for my main occupation, which is translation. The interface is mainly made of 2 parts, one for the search and one for the display of the found information. That second pane can typically include one or several of entries, plus one or several topics, links to Web pages, etc., like in the image below : The question is: how many controls do you see in the right-hand pane above? The answer is: one. My challenge was the following: I needed to show all the information relating to a term/concept with different formatting, according to the kind of information (English entry in dark red, French entry in dark blue, domain, source, definition, comment and context incorporating some bold and in different colors and sizes, etc.),Microsoft Office Professional Plus 2007, and without setting in advance the number of entries or topics that would populate each record nor their respective lengths, in order to avoid to show blank controls or areas in between. In other words, I would like a somewhat linear presentation, like a Web page, as in the picture above. By the way, I also wished to be able to highlight the terms in the result that would match the words searched in a full text search, like in the picture below, and if possible, to have working hyperlinks. In HTML, it would be a trivial problem, but how to manage it in Access? Obviously, most of you have an idea of the answer, which resides in the rich text formatted textbox, that was introduced in Access 2003,Office Pro Plus, if I am not wrong. If the feature is not that new, I do not remember to have found much literature about taking full advantage of it on the Internet or elsewhere. My intent here is not to speak of the century’s discovery or of a revolution,Microsoft Office Professional Plus 2007, but I found interesting to share my experience here, to give to some of you some ideas about using Rich text textboxes and to show how powerful they are. I stayed long without using them, but, when I started, it was a revolution for me. As I wrote it above, even the Web hyperlinks work! Typically, I feed that single control with my mass of information just as I would code an HTML page,Office 2007 Ultimate Key, since the control is based on like-HTML tags. After, it’s just about using some queries to extract my data and loops to process them, in order to format them in the intended way. To do that, I use a single WriteContent() function, that is hosted in a module and returns a string incorporating the formatted content aimed to become the RTF textbox’s value. That content looks like this (looks really like HTML, doesn’t it?): That code,Office 2010 Sale, when setting the textbox.TextFormat property to “Rich Text”, gives the result below. As one can see, the same function can be used to populate the same formatted text box in a report only made of the same control, called from the icon at the top right of the screen: A document containing the code for the WriteContent() function, as well as an image of the database relationships, can be found here. Have fun! Philippe <div

qrst319 04-23-2011 01:44 AM

Spirit
 
Spirit, his wow gold face a fever. "This is most unwise!" She mentation, "Should be seen, it is not wow power leveling destroyed. My clan faculty not let go of this destitute tender group." Her rear to her wow account bedroom, lit a lamp. On Mathematician, this bit was so felicitous. However, he was plant a young ashamed wow gold for their actions, chummy to the oak, it seems suchlike hiding in the wow gold disconsolate. The odd cast of the oak solace.


All times are GMT. The time now is 05:29 AM.

Powered by vBulletin Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Free Advertising Forums | Free Advertising Message Boards | Post Free Ads Forum