Crystal Report で フィールド・オブジェクトを操作する方法


レポートデザイナでのオブジェクトを操作するにはどうすればいいか。 わかってしまえば単純なものだが、わかるまでが大変です。 VBでやってみました。

キャスト(型変換)してプロパティを使えるようにするという込み入った作業が必要。

CType よりも DirectCast のほうが負荷が少ないらしい。C# のは下記ページにある。

参考: クリスタルレポート

クリスタルレポートでは上下中央寄せができないらしいけど、この方法ならフィールドのLocationの設定で微調整できるかも。


Palmistry – Marriage Line


Marriage Line

A short line found on the Mount of Mercury, the swelling just below the little finger, running from the outside of the little finger toward the ring finger. It expresses one’s fortune in regard to love and marriage.

If there is a long and distinct Marriage Line.

People with this type of line will be blessed with ideal marriage partners. If it appears on both hands, this fortune is even stronger. You’ll have a happy married life, free of problems.

However, if this line is broken, it is a predictor of some kind of trouble. But don’t despire — if you trust and cooperate with your partner you can overcome your difficulties.

If there are two parallel Marriage Lines.

This hints that two people will appear at the same time in your life. The bottom line will be the first person you meet, the top line the second. The line that is more distinct will be the one indication your future mate.

If they are both about the same, there is a good chance that you’ll be unable to decide whom to marry, and miss the chance altogether. In any case, what is important is honesty. If you try to set everything up to go your way, you are likely to choose the wrong person.

If the Marriage Line runs toward the little finger.

Yours could be a real Cinderella story, but it may gain you money and fame rather than the love of your partner. You’ll live in a splendid house, and will not want for anything. But your heart will remain lonely and unfulfilled. It is likely that you’ll explore the adventure of taking a lover in order to fill this void.

If the Marriage Line forms a complex pattern.

You are likely to have a lively love life but never make it to the alter. In the end. some of you may decide that freedom is the most attractive potion, remain unmarried all your life, and enjoy a number of affairs. No matter what age you are, you are blessed with partners, so you will not suffer from loneliness. People with this line tend to look on love as a kind of game. They avoid romance that looks hurtful, love triangles, and anything that requires sacrifice on their part.


Palmistry – Feeling Line


Feeling Line

This line runs from below the middle finger toward the middle of the palm. It expresses the person’s emotions and perceptions.

If the feeling Line stops below the middle finger.

You are passionate and your actions are dictated by your emotions. You run both hot and cold, so you don’t stick with any one thing for long. But you are full of curiosity, and are always finding new things you want to do, the advantage of which is nourishment of a rich imagination.

You are positive and social, and it is always lively around you. But you can also be selfish, so watch it. If you try to think of things from the other person’s point of view, there should be no problem.

If the Feeling Line stops below between the index and middle fingers.

You are a deeply considerate person whi thinks about things from the other person’s point of view. People with this type of line are full of affection, and will be cherished by family and friends, lovers and spouses.

you dislike conflict and never say thins in the heat of the moment or act on a whim. Sometimes you may feel a bit borad by the ordinariness of your life, but you should realize that very ordinary life is the greatest happiness.

If the Feeling Line runs to between the index and middle fingers.

You are naturally kind, and cannot ignore people in distress. No one can rival you in the depth of your affections. Yet by doing too much for others, you are occasionally seen as meddlesome. Being concerned and wanting to help others is a fine thing, but if you overdo it, it can be a pain.

If the Feeling Line runs toward the index finger ….

You are rich in affection but als odiscriminating. No matter how stirred up your feelings may get, you always think things through first and never go off half-cocked. Because of this, you may strike others as cool.

You are equally kind to all your friends, but in matters of love you have high ideals and may have a hard time finding your ideal partner. You are also likely to be put on a pedestal by those around you.


Palmistry – Sun Line


Sun Line

A vertical line beginning at the Mount of the Sun, the swelling immediately below the ring finger. It expresses the person’s luck with work, money and fame.

If the Sun Line crosses the Feeling Line and continues for some distance.

It means that steady effort will bring you wealth. You may succeed by working for a long time at the same job, or getting the qualifications that allow you to slowly accumulate an unexpectedly large fortune, but in any case, you will lead a life in which money is not a problem.

However, if you are frivolous or greedy, it is possible to drive away your luck with money.

If the Sun Line is extremely short, or non-existent.

People whose Sune Line is short have a shallow relationship to money. It’s not that they are totally disinterested in in, but they have little inclination to use their energies in making in, and tend to leave financial matters to chance.

In contrast, people with vertically no Sun Line are really not interested in money. They have no desire to go out of their way to make it, and are indifferent about spending it as well. You might say they are pure as far as money is concerned.

There are multiple Sun Lines, or a network.

People with multiple Sun Lines are disorganized spendthrifts who may aimlessly waste all their money. Even if they are not spendthrifts, they tend to be bold with their use of money. In that sense, you could also say they have a lively sense of adventure.

People who have a network of small Sun Lines are given to imaginative brainstorms, and one of these might bring unexpected wealth into their hands.

A second line runs parallel to a clearly defined Sun Line.

This signifies cooperation with other people. It is an auspicious line, meaning you will be helped by others in your financial luck. Since other people will determine your fate, you should choose your partners carefully.

There are many variations in the Sun Line appearing on the Mount of the Sun, an indicator of the wide cariety there is in people’s attachment to money.


A Life Summary of an Gypsy