¥Û¡¼¥à   ¥Õ¥©¡¼¥é¥à   FAQ
 
¥á¥¤¥ó¥á¥Ë¥å¡¼
¥í¥°¥¤¥ó
¥æ¡¼¥¶¡¼Ì¾:

¥Ñ¥¹¥ï¡¼¥É:


¥Ñ¥¹¥ï¡¼¥Éʶ¼º

Re: µëÍ¿Âç¿Ã£Î£Å¤ÎODDS¤È¤ÎÏ¢·ÈÊýË¡

¤³¤Î¥È¥Ô¥Ã¥¯¤ÎÅê¹Æ°ìÍ÷¤Ø

¼ÁÌä Re: µëÍ¿Âç¿Ã£Î£Å¤ÎODDS¤È¤ÎÏ¢·ÈÊýË¡

msg# 1.1
depth:
1
Á°¤ÎÅê¹Æ - ¼¡¤ÎÅê¹Æ | ¿ÆÅê¹Æ - »ÒÅê¹Æ¤Ê¤· | Åê¹ÆÆü»þ 2009-10-22 13:56 | ºÇ½ªÊѹ¹
ndn  Ⱦ¿ÍÁ°   Åê¹Æ¿ô: 23
¾ÜºÙÆâÍÆ¡§
ODDSŽÏŽÆŽ­Ž±ŽÙ¤Î¡ÖŽ²ŽÝŽ½ŽÄŽ°ŽÙ¤ÈÁ°½àÈ÷(VBŽÍŽÞŽ°Ž½)¡×¤ò¸µ¤ËÏ¢·È¤ò¹Ô¤Ã¤Æ¤ª¤ê
VB¤Ç¤Îµ­½Ò¤ò¢Í¤ËÆɤßÂؤ¨¤ÆÀßÄꤷ¤Æ¤ß¤Þ¤·¤¿¡£
­¡Dim svr As Object
¡¡Set svr = CreateObject(¡ÈKyODDS.Application¡É)
¢ÍOLE¹àÌܤΎ²ŽÝŽ½ŽÀŽÝŽ½²½¡§A=¼«Æ°¤ËÀßÄꤷ¤Æ¤¤¤ë¤Î¤ÇÉÔÍ×(¤È¤Îǧ¼±)

­¢Dim strDataPath As String
¡¡IStatus = svr.SelectData(strDataPath)
¢ÍOLE¹àÌܤΎÀŽ²ŽÌŽßŽ×Ž²ŽÌŽÞŽ×ŽØ¡§KyODDS1.0ŽÀŽ²ŽÌŽßŽ×Ž²ŽÌŽÞŽ×ŽØ
¡¡¡¡¡¡¡¡¡¡ ŽµŽÌŽÞŽ¼ŽÞŽªŽ¸ŽÄ̾¡§AppliCation
¡¡¡¡³°ÉôŽºŽ°ŽÙCOM¤Ë¤ÆŽÒŽ¿Ž¯ŽÄŽÞ¸Æ½Ð=SelectData¤òÀßÄê
¡¡¡¡ŽÊŽßŽ×ŽÒŽ°ŽÀ¤ËÊÑ¿ô¡§¥Ç¡¼¥¿¥Ñ¥¹Ì¾

­£svr.SetCurrentData <¥Ç¡¼¥¿¥Ñ¥¹Ì¾>
¢ÍOLE¹àÌܤΎÀŽ²ŽÌŽßŽ×Ž²ŽÌŽÞŽ×ŽØ¡§KyODDS1.0ŽÀŽ²ŽÌŽßŽ×Ž²ŽÌŽÞŽ×ŽØ
¡¡¡¡¡¡¡¡¡¡ ŽµŽÌŽÞŽ¼ŽÞŽªŽ¸ŽÄ̾¡§AppliCation
¡¡¡¡³°ÉôŽºŽ°ŽÙCOM¤Ë¤ÆŽÒŽ¿Ž¯ŽÄŽÞ¸Æ½Ð=SetCurrentData¤òÀßÄê
¡¡¡¡ŽÊŽßŽ×ŽÒŽ°ŽÀ¤ËÊÑ¿ô¡§¥Ç¡¼¥¿¥Ñ¥¹Ì¾¡Ê­¢¤ÈƱ¤¸¤â¤Î¡Ë

­¤Dim Shozoku As String
¡¡svr.Shain.GetByCode ¡È0001¡É
¢ÍOLE¹àÌܤΎÀŽ²ŽÌŽßŽ×Ž²ŽÌŽÞŽ×ŽØ¡§Kyshain1.0ŽÀŽ²ŽÌŽßŽ×Ž²ŽÌŽÞŽ×ŽØ
¡¡¡¡¡¡¡¡¡¡ ŽµŽÌŽÞŽ¼ŽÞŽªŽ¸ŽÄ̾¡§shain
¡¡¡¡³°ÉôŽºŽ°ŽÙCOM¤Ë¤ÆŽÒŽ¿Ž¯ŽÄŽÞ¸Æ½Ð=GetByCode ¤òÀßÄê
¡¡¡¡ŽÊŽßŽ×ŽÒŽ°ŽÀ¤Ë'0001'

­¥Shozoku = svr.Shain.strShozoku3
¢ÍOLE¹àÌܤΎÀŽ²ŽÌŽßŽ×Ž²ŽÌŽÞŽ×ŽØ¡§Kyshain1.0ŽÀŽ²ŽÌŽßŽ×Ž²ŽÌŽÞŽ×ŽØ
¡¡¡¡¡¡¡¡¡¡ ŽµŽÌŽÞŽ¼ŽÞŽªŽ¸ŽÄ̾¡§shain
¡¡¡¡³°ÉôŽºŽ°ŽÙCOM¤Ë¤ÆŽÌŽßŽÛŽÊŽßŽÃŽ¨¤Î¼èÆÀ=strShozoku3 ¤òÀßÄê

­¡¡Á­£¤ÏÆ°¤¤¤Æ¤¤¤ë¤Î¤Ç¤¹¤¬¡¢­¤¡¦­¥¤¬¤¦¤Þ¤¯¹Ô¤Ã¤Æ¤ª¤é¤º
¥Ç¡¼¥¿¤¬Ê֤äƤ³¤Ê¤¤¾õ¶·¤Ç¤¹¡£
¤Á¤Ê¤ß¤Ë­¡¡Á­£¤È­¤¡¦­¥¤ÎOLE¤ÏÊ̤ÇÊÑ¿ôÄêµÁ¤·¤Æ¤¤¤Þ¤¹¡£
¡Ê1OLE¡á1ŽÀŽ²ŽÌŽßŽ×Ž²ŽÌŽÞŽ×ŽØ¤ÎÀßÄꤷ¤«½ÐÍè¤Ê¤¤°Ù¡Ë
µ­½Ò¤Î¸í¤ê¤Î²ÄǽÀ­¤â¤¢¤ë¤Î¤Ç¡¢·Ð¸³¤Î¤¢¤ëÊý¤¬µï¤é¤ì¤ì¤Ð
¸æ¶µ¼ø¤ò¤ª´ê¤¤¤·¤Þ¤¹¡£
Åêɼ¿ô:0 Ê¿¶ÑÅÀ:0.00

Åê¹Æ¥Ä¥ê¡¼

  ¾ò·ï¸¡º÷¤Ø


Copyright (C) Magic Software Japan K.K. All Rights Reserved.
¸Ä¿Í¾ðÊóÊݸîÊý¿Ë ²ñ°÷µ¬Ìó