home *** CD-ROM | disk | FTP | other *** search
MIME HTML Archive | 2002-07-05 | 30.6 KB |
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: MIME HTML Archive
(archive/mimeHTMLArchive).
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| MIME HTML Archive (archive/mimeHTMLArchive)
| magic
| Supported |
100%
| dexvert
| Newsgroup Content (archive/news)
| magic
| Supported |
100%
| dexvert
| Internet Message Format (text/imf)
| magic
| Supported |
10%
| dexvert
| Mailbox/MIME Entity (archive/mbox)
| magic
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| news or mail text
| default
| |
99%
| file
| HTML document text
| default (weak)
| |
98%
| file
| exported SGML document text
| default
| |
97%
| file
| exported SGML document, ASCII text, with CRLF line terminators
| default
| |
88%
| TrID
| MIME HTML archive format
| default
| |
11%
| TrID
| E-Mail message (Var. 2)
| default
| |
100%
| checkBytes
| Printable ASCII
| default
| |
100%
| perlTextCheck
| Likely Text (Perl)
| default
| |
100%
| siegfried
| x-fmt/429 MHTML
| default
| |
100%
| gt2
| HTML (Hyper Text Markup Language) Datei
| default
| |
100%
| detectItEasy
| Format: Plain text[CRLF]
| default
| |
100%
| xdgMime
| message/rfc822
| default (weak)
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 46 72 6f 6d 3a 20 3c 53 | 61 76 65 64 20 62 79 20 |From: <S|aved by |
|00000010| 4d 69 63 72 6f 73 6f 66 | 74 20 49 6e 74 65 72 6e |Microsof|t Intern|
|00000020| 65 74 20 45 78 70 6c 6f | 72 65 72 20 35 3e 0d 0a |et Explo|rer 5>..|
|00000030| 53 75 62 6a 65 63 74 3a | 20 57 65 62 20 43 6f 6d |Subject:| Web Com|
|00000040| 70 61 6e 69 6f 6e 0d 0a | 44 61 74 65 3a 20 46 72 |panion..|Date: Fr|
|00000050| 69 2c 20 35 20 4a 75 6c | 20 32 30 30 32 20 31 31 |i, 5 Jul| 2002 11|
|00000060| 3a 33 38 3a 31 39 20 2d | 30 34 30 30 0d 0a 4d 49 |:38:19 -|0400..MI|
|00000070| 4d 45 2d 56 65 72 73 69 | 6f 6e 3a 20 31 2e 30 0d |ME-Versi|on: 1.0.|
|00000080| 0a 43 6f 6e 74 65 6e 74 | 2d 54 79 70 65 3a 20 6d |.Content|-Type: m|
|00000090| 75 6c 74 69 70 61 72 74 | 2f 72 65 6c 61 74 65 64 |ultipart|/related|
|000000a0| 3b 0d 0a 09 62 6f 75 6e | 64 61 72 79 3d 22 2d 2d |;...boun|dary="--|
|000000b0| 2d 2d 3d 5f 4e 65 78 74 | 50 61 72 74 5f 30 30 30 |--=_Next|Part_000|
|000000c0| 5f 30 30 30 35 5f 30 31 | 43 32 32 34 31 38 2e 37 |_0005_01|C22418.7|
|000000d0| 35 41 31 33 37 37 30 22 | 3b 0d 0a 09 74 79 70 65 |5A13770"|;...type|
|000000e0| 3d 22 74 65 78 74 2f 68 | 74 6d 6c 22 0d 0a 58 2d |="text/h|tml"..X-|
|000000f0| 4d 69 6d 65 4f 4c 45 3a | 20 50 72 6f 64 75 63 65 |MimeOLE:| Produce|
|00000100| 64 20 42 79 20 4d 69 63 | 72 6f 73 6f 66 74 20 4d |d By Mic|rosoft M|
|00000110| 69 6d 65 4f 4c 45 20 56 | 36 2e 30 30 2e 32 36 30 |imeOLE V|6.00.260|
|00000120| 30 2e 30 30 30 30 0d 0a | 0d 0a 54 68 69 73 20 69 |0.0000..|..This i|
|00000130| 73 20 61 20 6d 75 6c 74 | 69 2d 70 61 72 74 20 6d |s a mult|i-part m|
|00000140| 65 73 73 61 67 65 20 69 | 6e 20 4d 49 4d 45 20 66 |essage i|n MIME f|
|00000150| 6f 72 6d 61 74 2e 0d 0a | 0d 0a 2d 2d 2d 2d 2d 2d |ormat...|..------|
|00000160| 3d 5f 4e 65 78 74 50 61 | 72 74 5f 30 30 30 5f 30 |=_NextPa|rt_000_0|
|00000170| 30 30 35 5f 30 31 43 32 | 32 34 31 38 2e 37 35 41 |005_01C2|2418.75A|
|00000180| 31 33 37 37 30 0d 0a 43 | 6f 6e 74 65 6e 74 2d 54 |13770..C|ontent-T|
|00000190| 79 70 65 3a 20 74 65 78 | 74 2f 68 74 6d 6c 3b 0d |ype: tex|t/html;.|
|000001a0| 0a 09 63 68 61 72 73 65 | 74 3d 22 69 73 6f 2d 38 |..charse|t="iso-8|
|000001b0| 38 35 39 2d 31 22 0d 0a | 43 6f 6e 74 65 6e 74 2d |859-1"..|Content-|
|000001c0| 54 72 61 6e 73 66 65 72 | 2d 45 6e 63 6f 64 69 6e |Transfer|-Encodin|
|000001d0| 67 3a 20 71 75 6f 74 65 | 64 2d 70 72 69 6e 74 61 |g: quote|d-printa|
|000001e0| 62 6c 65 0d 0a 43 6f 6e | 74 65 6e 74 2d 4c 6f 63 |ble..Con|tent-Loc|
|000001f0| 61 74 69 6f 6e 3a 20 66 | 69 6c 65 3a 2f 2f 45 3a |ation: f|ile://E:|
|00000200| 5c 50 72 6f 67 72 61 6d | 25 32 30 46 69 6c 65 73 |\Program|%20Files|
|00000210| 5c 43 6f 6d 6d 65 6e 63 | 65 52 4d 5c 57 65 62 43 |\Commenc|eRM\WebC|
|00000220| 6f 6d 70 61 6e 69 6f 6e | 4d 56 2e 68 74 6d 0d 0a |ompanion|MV.htm..|
|00000230| 0d 0a 3c 21 44 4f 43 54 | 59 50 45 20 48 54 4d 4c |..<!DOCT|YPE HTML|
|00000240| 20 50 55 42 4c 49 43 20 | 22 2d 2f 2f 57 33 43 2f | PUBLIC |"-//W3C/|
|00000250| 2f 44 54 44 20 48 54 4d | 4c 20 34 2e 30 20 54 72 |/DTD HTM|L 4.0 Tr|
|00000260| 61 6e 73 69 74 69 6f 6e | 61 6c 2f 2f 45 4e 22 3e |ansition|al//EN">|
|00000270| 0d 0a 3c 48 54 4d 4c 3e | 3c 48 45 41 44 3e 3c 54 |..<HTML>|<HEAD><T|
|00000280| 49 54 4c 45 3e 57 65 62 | 20 43 6f 6d 70 61 6e 69 |ITLE>Web| Compani|
|00000290| 6f 6e 3c 2f 54 49 54 4c | 45 3e 0d 0a 3c 4d 45 54 |on</TITL|E>..<MET|
|000002a0| 41 20 68 74 74 70 2d 65 | 71 75 69 76 3d 33 44 43 |A http-e|quiv=3DC|
|000002b0| 6f 6e 74 65 6e 74 2d 54 | 79 70 65 20 63 6f 6e 74 |ontent-T|ype cont|
|000002c0| 65 6e 74 3d 33 44 22 74 | 65 78 74 2f 68 74 6d 6c |ent=3D"t|ext/html|
|000002d0| 3b 20 3d 0d 0a 63 68 61 | 72 73 65 74 3d 33 44 69 |; =..cha|rset=3Di|
|000002e0| 73 6f 2d 38 38 35 39 2d | 31 22 3e 0d 0a 3c 4d 45 |so-8859-|1">..<ME|
|000002f0| 54 41 20 63 6f 6e 74 65 | 6e 74 3d 33 44 22 4d 53 |TA conte|nt=3D"MS|
|00000300| 48 54 4d 4c 20 36 2e 30 | 30 2e 32 36 30 30 2e 30 |HTML 6.0|0.2600.0|
|00000310| 22 20 6e 61 6d 65 3d 33 | 44 47 45 4e 45 52 41 54 |" name=3|DGENERAT|
|00000320| 4f 52 3e 3c 2f 48 45 41 | 44 3e 0d 0a 3c 42 4f 44 |OR></HEA|D>..<BOD|
|00000330| 59 20 74 65 78 74 3d 33 | 44 23 30 30 30 30 30 30 |Y text=3|D#000000|
|00000340| 20 76 4c 69 6e 6b 3d 33 | 44 23 36 36 36 36 30 30 | vLink=3|D#666600|
|00000350| 20 61 4c 69 6e 6b 3d 33 | 44 23 63 63 33 33 30 30 | aLink=3|D#cc3300|
|00000360| 20 6c 69 6e 6b 3d 33 44 | 23 39 39 33 33 30 30 20 | link=3D|#993300 |
|00000370| 3d 0d 0a 62 67 43 6f 6c | 6f 72 3d 33 44 23 66 66 |=..bgCol|or=3D#ff|
|00000380| 66 66 66 66 3d 32 30 0d | 0a 62 61 63 6b 67 72 6f |ffff=20.|.backgro|
|00000390| 75 6e 64 3d 33 44 22 22 | 3e 3c 21 2d 2d 3c 4f 42 |und=3D""|><!--<OB|
|000003a0| 4a 45 43 54 20 49 44 3d | 33 44 22 77 63 22 20 3d |JECT ID=|3D"wc" =|
|000003b0| 0d 0a 43 4c 41 53 53 49 | 44 3d 33 44 22 43 4c 53 |..CLASSI|D=3D"CLS|
|000003c0| 49 44 3a 43 42 44 37 43 | 44 38 45 2d 46 31 33 37 |ID:CBD7C|D8E-F137|
|000003d0| 2d 31 31 44 34 2d 41 44 | 37 43 2d 30 30 30 31 30 |-11D4-AD|7C-00010|
|000003e0| 32 35 46 41 42 45 32 22 | 20 77 69 64 74 68 3d 33 |25FABE2"| width=3|
|000003f0| 44 22 30 22 20 3d 0d 0a | 68 65 69 67 68 74 3d 33 |D"0" =..|height=3|
|00000400| 44 22 30 22 3e 3c 2f 4f | 42 4a 45 43 54 3e 0d 0a |D"0"></O|BJECT>..|
|00000410| 2d 2d 3e 0d 0a 3c 53 43 | 52 49 50 54 20 6c 61 6e |-->..<SC|RIPT lan|
|00000420| 67 75 61 67 65 3d 33 44 | 56 42 53 43 52 49 50 54 |guage=3D|VBSCRIPT|
|00000430| 3e 0d 0a 44 69 6d 20 77 | 63 0d 0a 0d 0a 44 69 6d |>..Dim w|c....Dim|
|00000440| 20 43 4f 4c 55 4d 4e 5f | 41 44 44 52 45 53 53 5f | COLUMN_|ADDRESS_|
|00000450| 4d 45 0d 0a 44 69 6d 20 | 43 4f 4c 55 4d 4e 5f 43 |ME..Dim |COLUMN_C|
|00000460| 49 54 59 5f 4d 45 0d 0a | 44 69 6d 20 43 4f 4c 55 |ITY_ME..|Dim COLU|
|00000470| 4d 4e 5f 53 54 41 54 45 | 5f 4d 45 0d 0a 44 69 6d |MN_STATE|_ME..Dim|
|00000480| 20 43 4f 4c 55 4d 4e 5f | 43 4f 55 4e 54 52 59 5f | COLUMN_|COUNTRY_|
|00000490| 4d 45 0d 0a 44 69 6d 20 | 43 4f 4c 55 4d 4e 5f 5a |ME..Dim |COLUMN_Z|
|000004a0| 49 50 5f 4d 45 0d 0a 0d | 0a 53 65 74 20 77 63 20 |IP_ME...|.Set wc |
|000004b0| 3d 33 44 20 43 72 65 61 | 74 65 4f 62 6a 65 63 74 |=3D Crea|teObject|
|000004c0| 28 22 43 6d 63 57 65 62 | 43 70 2e 47 65 74 55 52 |("CmcWeb|Cp.GetUR|
|000004d0| 4c 22 29 0d 0a 3c 2f 53 | 43 52 49 50 54 3e 0d 0a |L")..</S|CRIPT>..|
|000004e0| 0d 0a 3c 53 43 52 49 50 | 54 20 6c 61 6e 67 75 61 |..<SCRIP|T langua|
|000004f0| 67 65 3d 33 44 56 42 53 | 63 72 69 70 74 3e 0d 0a |ge=3DVBS|cript>..|
|00000500| 0d 0a 27 2f 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |..'/****|********|
|00000510| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00000520| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00000530| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00000540| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 3d 0d 0a 2a 2a |********|***=..**|
|00000550| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00000560| 2a 2a 2a 2a 2a 0d 0a 27 | 2a 09 43 6f 6e 66 69 67 |*****..'|*.Config|
|00000570| 75 72 65 20 74 68 65 20 | 2d 4d 45 2d 20 49 74 65 |ure the |-ME- Ite|
|00000580| 6d 20 63 6f 6c 75 6d 6e | 20 6e 61 6d 65 73 20 66 |m column| names f|
|00000590| 6f 72 20 3d 0d 0a 61 64 | 64 72 65 73 73 2c 63 69 |or =..ad|dress,ci|
|000005a0| 74 79 2c 73 74 61 74 65 | 2c 63 6f 75 6e 74 72 79 |ty,state|,country|
|000005b0| 2c 7a 69 70 20 68 65 72 | 65 20 20 20 20 20 20 20 |,zip her|e |
|000005c0| 20 09 20 20 20 2a 09 09 | 09 09 09 3d 30 39 0d 0a | . *..|...=09..|
|000005d0| 27 2a 09 72 65 6e 61 6d | 65 20 74 68 65 20 63 6f |'*.renam|e the co|
|000005e0| 6c 75 6d 6e 20 6e 61 6d | 65 20 77 69 74 68 20 74 |lumn nam|e with t|
|000005f0| 68 65 20 2d 4d 45 2d 20 | 49 74 65 6d 20 6d 61 70 |he -ME- |Item map|
|00000600| 70 65 64 20 63 61 74 65 | 67 6f 72 79 20 69 6e 20 |ped cate|gory in |
|00000610| 63 6f 6d 6d 65 6e 63 65 | 20 3d 0d 0a 20 20 20 20 |commence| =.. |
|00000620| 20 20 20 09 09 09 20 20 | 20 2a 09 09 09 3d 30 39 | ... | *...=09|
|00000630| 0d 0a 27 2a 09 54 6f 20 | 63 6f 6e 66 69 67 75 72 |..'*.To |configur|
|00000640| 65 20 2d 4d 45 2d 20 49 | 74 65 6d 20 75 73 65 20 |e -ME- I|tem use |
|00000650| 22 43 75 73 74 6f 6d 69 | 7a 65 20 2d 2d 20 50 72 |"Customi|ze -- Pr|
|00000660| 65 66 72 65 6e 63 65 20 | 2d 2d 20 50 65 72 73 6f |efrence |-- Perso|
|00000670| 6e 61 6c 49 6e 66 6f 22 | 20 20 20 3d 0d 0a 20 20 |nalInfo"| =.. |
|00000680| 20 20 20 20 20 20 20 20 | 09 09 20 20 20 2a 0d 0a | |.. *..|
|00000690| 27 2a 09 09 09 09 09 09 | 09 09 09 09 09 09 09 09 |'*......|........|
|000006a0| 09 09 09 09 09 09 09 09 | 09 20 20 20 2a 09 09 09 |........|. *...|
|000006b0| 09 09 09 3d 30 39 0d 0a | 27 2f 2a 2a 2a 2a 2a 2a |...=09..|'/******|
|000006c0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000006d0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000006e0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000006f0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00000700| 2a 3d 0d 0a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |*=..****|********|
|00000710| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 0d 0a 43 4f 4c |********|***..COL|
|00000720| 55 4d 4e 5f 41 44 44 52 | 45 53 53 5f 4d 45 20 3d |UMN_ADDR|ESS_ME =|
|00000730| 33 44 20 22 42 75 73 69 | 6e 65 73 73 20 53 74 72 |3D "Busi|ness Str|
|00000740| 65 65 74 22 0d 0a 43 4f | 4c 55 4d 4e 5f 43 49 54 |eet"..CO|LUMN_CIT|
|00000750| 59 5f 4d 45 20 20 3d 33 | 44 20 22 42 75 73 69 6e |Y_ME =3|D "Busin|
|00000760| 65 73 73 20 43 69 74 79 | 22 0d 0a 43 4f 4c 55 4d |ess City|"..COLUM|
|00000770| 4e 5f 53 54 41 54 45 5f | 4d 45 20 3d 33 44 20 22 |N_STATE_|ME =3D "|
|00000780| 42 75 73 69 6e 65 73 73 | 20 53 74 61 74 65 22 0d |Business| State".|
|00000790| 0a 43 4f 4c 55 4d 4e 5f | 43 4f 55 4e 54 52 59 5f |.COLUMN_|COUNTRY_|
|000007a0| 4d 45 20 3d 33 44 20 22 | 42 75 73 69 6e 65 73 73 |ME =3D "|Business|
|000007b0| 20 43 6f 75 6e 74 72 79 | 22 0d 0a 43 4f 4c 55 4d | Country|"..COLUM|
|000007c0| 4e 5f 5a 49 50 5f 4d 45 | 20 20 3d 33 44 20 22 42 |N_ZIP_ME| =3D "B|
|000007d0| 75 73 69 6e 65 73 73 20 | 5a 69 70 22 0d 0a 0d 0a |usiness |Zip"....|
|000007e0| 53 75 62 20 67 65 74 57 | 28 29 0d 0a 20 20 20 20 |Sub getW|().. |
|000007f0| 44 69 6d 20 63 75 72 0d | 0a 20 20 20 20 44 69 6d |Dim cur.|. Dim|
|00000800| 20 66 6c 61 67 0d 0a 20 | 20 20 20 44 69 6d 20 73 | flag.. | Dim s|
|00000810| 46 69 65 6c 64 4e 61 6d | 65 0d 0a 20 20 20 3d 32 |FieldNam|e.. =2|
|00000820| 30 0d 0a 20 20 20 20 66 | 6c 61 67 20 3d 33 44 20 |0.. f|lag =3D |
|00000830| 47 65 74 41 63 74 69 76 | 65 43 6f 6e 74 61 63 74 |GetActiv|eContact|
|00000840| 49 74 65 6d 28 63 75 72 | 2c 20 73 46 69 65 6c 64 |Item(cur|, sField|
|00000850| 4e 61 6d 65 29 0d 0a 20 | 20 20 3d 32 30 0d 0a 20 |Name).. | =20.. |
|00000860| 20 20 27 20 53 65 74 20 | 63 75 72 20 3d 33 44 20 | ' Set |cur =3D |
|00000870| 47 65 74 41 63 74 69 76 | 65 43 6f 6e 74 61 63 74 |GetActiv|eContact|
|00000880| 49 74 65 6d 0d 0a 20 20 | 20 3d 32 30 0d 0a 20 20 |Item.. | =20.. |
|00000890| 20 20 27 20 64 69 64 20 | 77 65 20 67 65 74 20 69 | ' did |we get i|
|000008a0| 6e 66 6f 20 61 62 6f 75 | 74 20 74 68 65 20 61 63 |nfo abou|t the ac|
|000008b0| 74 69 76 65 20 22 43 6f | 6e 74 61 63 74 22 20 69 |tive "Co|ntact" i|
|000008c0| 74 65 6d 3f 0d 0a 20 20 | 20 20 49 66 20 4e 6f 74 |tem?.. | If Not|
|000008d0| 20 66 6c 61 67 20 54 68 | 65 6e 0d 0a 20 20 20 20 | flag Th|en.. |
|000008e0| 20 20 20 20 4d 73 67 42 | 6f 78 20 22 50 6c 65 61 | MsgB|ox "Plea|
|000008f0| 73 65 20 73 65 6c 65 63 | 74 20 61 20 43 6f 6e 74 |se selec|t a Cont|
|00000900| 61 63 74 20 69 74 65 6d | 20 69 6e 20 43 6f 6d 6d |act item| in Comm|
|00000910| 65 6e 63 65 2e 22 0d 0a | 20 20 20 20 20 20 20 20 |ence."..| |
|00000920| 45 78 69 74 20 53 75 62 | 20 20 20 3d 32 30 0d 0a |Exit Sub| =20..|
|00000930| 20 20 20 20 65 6e 64 20 | 69 66 0d 0a 20 20 20 20 | end |if.. |
|00000940| 27 20 65 6c 73 65 20 69 | 74 20 69 73 20 61 20 63 |' else i|t is a c|
|00000950| 6f 6e 74 61 63 74 20 69 | 74 65 6d 0d 0a 20 20 20 |ontact i|tem.. |
|00000960| 3d 32 30 0d 0a 09 44 69 | 6d 20 71 72 73 0d 0a 20 |=20...Di|m qrs.. |
|00000970| 20 20 20 63 75 72 2e 53 | 65 65 6b 52 6f 77 20 30 | cur.S|eekRow 0|
|00000980| 2c 20 30 0d 0a 20 20 20 | 20 53 65 74 20 71 72 73 |, 0.. | Set qrs|
|00000990| 20 3d 33 44 20 63 75 72 | 2e 47 65 74 51 75 65 72 | =3D cur|.GetQuer|
|000009a0| 79 52 6f 77 53 65 74 28 | 31 2c 20 30 29 0d 0a 3d |yRowSet(|1, 0)..=|
|000009b0| 30 39 0d 0a 20 20 27 67 | 65 74 20 74 68 65 20 66 |09.. 'g|et the f|
|000009c0| 69 65 6c 64 20 76 61 6c | 75 65 73 20 72 65 71 75 |ield val|ues requ|
|000009d0| 69 72 65 64 20 62 79 20 | 77 2f 63 0d 0a 20 20 73 |ired by |w/c.. s|
|000009e0| 5a 69 70 20 3d 33 44 20 | 47 65 74 5a 69 70 56 61 |Zip =3D |GetZipVa|
|000009f0| 6c 75 65 28 71 72 73 29 | 0d 0a 20 3d 32 30 0d 0a |lue(qrs)|.. =20..|
|00000a00| 20 20 44 69 6d 20 73 55 | 72 6c 31 0d 0a 20 20 73 | Dim sU|rl1.. s|
|00000a10| 55 72 6c 31 20 3d 33 44 | 20 77 63 2e 47 65 74 57 |Url1 =3D| wc.GetW|
|00000a20| 65 61 74 68 65 72 28 73 | 5a 69 70 29 0d 0a 20 3d |eather(s|Zip).. =|
|00000a30| 32 30 0d 0a 20 20 27 20 | 6f 70 65 6e 20 74 68 65 |20.. ' |open the|
|00000a40| 20 77 65 62 20 70 61 67 | 65 0d 0a 20 20 77 69 6e | web pag|e.. win|
|00000a50| 64 6f 77 2e 6e 61 76 69 | 67 61 74 65 20 73 55 72 |dow.navi|gate sUr|
|00000a60| 6c 31 20 3d 32 30 0d 0a | 45 6e 64 20 53 75 62 0d |l1 =20..|End Sub.|
|00000a70| 0a 0d 0a 53 75 62 20 67 | 65 74 4d 28 29 0d 0a 20 |...Sub g|etM().. |
|00000a80| 20 20 20 44 69 6d 20 63 | 75 72 0d 0a 20 20 20 20 | Dim c|ur.. |
|00000a90| 44 69 6d 20 66 6c 61 67 | 0d 0a 20 20 20 20 44 69 |Dim flag|.. Di|
|00000aa0| 6d 20 73 46 69 65 6c 64 | 4e 61 6d 65 0d 0a 20 20 |m sField|Name.. |
|00000ab0| 20 20 66 6c 61 67 20 3d | 33 44 20 47 65 74 41 63 | flag =|3D GetAc|
|00000ac0| 74 69 76 65 43 6f 6e 74 | 61 63 74 49 74 65 6d 28 |tiveCont|actItem(|
|00000ad0| 63 75 72 2c 20 73 46 69 | 65 6c 64 4e 61 6d 65 29 |cur, sFi|eldName)|
|00000ae0| 0d 0a 20 20 20 20 27 20 | 64 69 64 20 77 65 20 67 |.. ' |did we g|
|00000af0| 65 74 20 69 6e 66 6f 20 | 61 62 6f 75 74 20 74 68 |et info |about th|
|00000b00| 65 20 61 63 74 69 76 65 | 20 22 43 6f 6e 74 61 63 |e active| "Contac|
|00000b10| 74 22 20 69 74 65 6d 3f | 0d 0a 20 20 20 3d 32 30 |t" item?|.. =20|
|00000b20| 0d 0a 20 20 20 20 49 66 | 20 4e 6f 74 20 66 6c 61 |.. If| Not fla|
|00000b30| 67 20 54 68 65 6e 0d 0a | 20 20 20 20 20 20 20 20 |g Then..| |
|00000b40| 4d 73 67 42 6f 78 20 22 | 50 6c 65 61 73 65 20 73 |MsgBox "|Please s|
|00000b50| 65 6c 65 63 74 20 61 20 | 43 6f 6e 74 61 63 74 20 |elect a |Contact |
|00000b60| 69 74 65 6d 20 69 6e 20 | 43 6f 6d 6d 65 6e 63 65 |item in |Commence|
|00000b70| 2e 22 0d 0a 20 20 20 20 | 20 20 20 20 45 78 69 74 |.".. | Exit|
|00000b80| 20 53 75 62 0d 0a 20 20 | 20 20 65 6e 64 20 69 66 | Sub.. | end if|
|00000b90| 20 20 20 3d 32 30 0d 0a | 20 20 20 20 27 20 65 6c | =20..| ' el|
|00000ba0| 73 65 20 69 74 20 69 73 | 20 61 20 63 6f 6e 74 61 |se it is| a conta|
|00000bb0| 63 74 20 69 74 65 6d 0d | 0a 20 20 20 3d 32 30 0d |ct item.|. =20.|
|00000bc0| 0a 09 44 69 6d 20 71 72 | 73 0d 0a 20 20 20 20 63 |..Dim qr|s.. c|
|00000bd0| 75 72 2e 53 65 65 6b 52 | 6f 77 20 30 2c 20 30 0d |ur.SeekR|ow 0, 0.|
|00000be0| 0a 20 20 20 20 53 65 74 | 20 71 72 73 20 3d 33 44 |. Set| qrs =3D|
|00000bf0| 20 63 75 72 2e 47 65 74 | 51 75 65 72 79 52 6f 77 | cur.Get|QueryRow|
|00000c00| 53 65 74 28 31 2c 20 30 | 29 0d 0a 20 20 20 3d 32 |Set(1, 0|).. =2|
|00000c10| 30 0d 0a 20 20 27 67 65 | 74 20 74 68 65 20 66 69 |0.. 'ge|t the fi|
|00000c20| 65 6c 64 20 76 61 6c 75 | 65 73 20 72 65 71 75 69 |eld valu|es requi|
|00000c30| 72 65 64 20 62 79 20 77 | 2f 63 0d 0a 20 20 73 5a |red by w|/c.. sZ|
|00000c40| 69 70 20 3d 33 44 20 47 | 65 74 5a 69 70 56 61 6c |ip =3D G|etZipVal|
|00000c50| 75 65 28 71 72 73 29 0d | 0a 20 20 73 41 64 64 72 |ue(qrs).|. sAddr|
|00000c60| 65 73 73 20 3d 33 44 20 | 47 65 74 41 64 64 72 65 |ess =3D |GetAddre|
|00000c70| 73 73 56 61 6c 75 65 28 | 71 72 73 29 0d 0a 20 20 |ssValue(|qrs).. |
|00000c80| 73 43 69 74 79 20 3d 33 | 44 20 47 65 74 43 69 74 |sCity =3|D GetCit|
|00000c90| 79 56 61 6c 75 65 28 71 | 72 73 29 0d 0a 20 20 73 |yValue(q|rs).. s|
|00000ca0| 53 74 61 74 65 20 3d 33 | 44 20 47 65 74 53 74 61 |State =3|D GetSta|
|00000cb0| 74 65 56 61 6c 75 65 28 | 71 72 73 29 0d 0a 20 20 |teValue(|qrs).. |
|00000cc0| 73 43 6f 75 6e 74 72 79 | 20 3d 33 44 20 47 65 74 |sCountry| =3D Get|
|00000cd0| 43 6f 75 6e 74 72 79 56 | 61 6c 75 65 28 71 72 73 |CountryV|alue(qrs|
|00000ce0| 29 20 3d 32 30 0d 0a 20 | 3d 32 30 0d 0a 20 20 44 |) =20.. |=20.. D|
|00000cf0| 69 6d 20 73 55 72 6c 31 | 20 3d 32 30 0d 0a 20 20 |im sUrl1| =20.. |
|00000d00| 73 55 72 6c 32 20 3d 33 | 44 20 77 63 2e 47 65 74 |sUrl2 =3|D wc.Get|
|00000d10| 4d 61 70 28 73 41 64 64 | 72 65 73 73 2c 20 73 43 |Map(sAdd|ress, sC|
|00000d20| 69 74 79 2c 20 73 53 74 | 61 74 65 2c 20 73 5a 69 |ity, sSt|ate, sZi|
|00000d30| 70 2c 20 73 43 6f 75 6e | 74 72 79 29 20 3d 32 30 |p, sCoun|try) =20|
|00000d40| 0d 0a 20 3d 32 30 0d 0a | 20 20 27 20 6f 70 65 6e |.. =20..| ' open|
|00000d50| 20 74 68 65 20 77 65 62 | 20 70 61 67 65 20 3d 32 | the web| page =2|
|00000d60| 30 0d 0a 20 20 77 69 6e | 64 6f 77 2e 6e 61 76 69 |0.. win|dow.navi|
|00000d70| 67 61 74 65 20 73 55 72 | 6c 32 20 3d 32 30 0d 0a |gate sUr|l2 =20..|
|00000d80| 45 6e 64 20 53 75 62 0d | 0a 0d 0a 53 75 62 20 67 |End Sub.|...Sub g|
|00000d90| 65 74 44 28 29 0d 0a 09 | 44 69 6d 20 63 75 72 0d |etD()...|Dim cur.|
|00000da0| 0a 09 44 69 6d 20 66 6c | 61 67 0d 0a 09 44 69 6d |..Dim fl|ag...Dim|
|00000db0| 20 73 46 69 65 6c 64 4e | 61 6d 65 0d 0a 09 20 20 | sFieldN|ame... |
|00000dc0| 20 3d 32 30 0d 0a 09 27 | 47 65 74 20 74 68 65 20 | =20...'|Get the |
|00000dd0| 43 6f 6e 74 61 63 74 20 | 69 74 65 6d 20 20 20 20 |Contact |item |
|00000de0| 20 20 20 3d 32 30 0d 0a | 09 66 6c 61 67 20 3d 33 | =20..|.flag =3|
|00000df0| 44 20 47 65 74 41 63 74 | 69 76 65 43 6f 6e 74 61 |D GetAct|iveConta|
|00000e00| 63 74 49 74 65 6d 28 63 | 75 72 2c 20 73 46 69 65 |ctItem(c|ur, sFie|
|00000e10| 6c 64 4e 61 6d 65 29 0d | 0a 09 27 20 64 69 64 20 |ldName).|..' did |
|00000e20| 77 65 20 67 65 74 20 69 | 6e 66 6f 20 61 62 6f 75 |we get i|nfo abou|
|00000e30| 74 20 74 68 65 20 61 63 | 74 69 76 65 20 22 43 6f |t the ac|tive "Co|
|00000e40| 6e 74 61 63 74 22 20 69 | 74 65 6d 3f 0d 0a 09 49 |ntact" i|tem?...I|
|00000e50| 66 20 4e 6f 74 20 66 6c | 61 67 20 54 68 65 6e 0d |f Not fl|ag Then.|
|00000e60| 0a 09 20 20 20 20 4d 73 | 67 42 6f 78 20 22 50 6c |.. Ms|gBox "Pl|
|00000e70| 65 61 73 65 20 73 65 6c | 65 63 74 20 61 20 43 6f |ease sel|ect a Co|
|00000e80| 6e 74 61 63 74 20 69 74 | 65 6d 20 69 6e 20 43 6f |ntact it|em in Co|
|00000e90| 6d 6d 65 6e 63 65 2e 22 | 0d 0a 09 20 20 20 20 45 |mmence."|... E|
|00000ea0| 78 69 74 20 53 75 62 0d | 0a 09 65 6e 64 20 69 66 |xit Sub.|..end if|
|00000eb0| 20 20 20 3d 32 30 0d 0a | 09 27 20 65 6c 73 65 20 | =20..|.' else |
|00000ec0| 69 74 20 69 73 20 61 20 | 63 6f 6e 74 61 63 74 20 |it is a |contact |
|00000ed0| 69 74 65 6d 0d 0a 09 20 | 20 20 3d 32 30 0d 0a 09 |item... | =20...|
|00000ee0| 44 69 6d 20 71 72 73 0d | 0a 09 63 75 72 2e 53 65 |Dim qrs.|..cur.Se|
|00000ef0| 65 6b 52 6f 77 20 30 2c | 20 30 0d 0a 09 53 65 74 |ekRow 0,| 0...Set|
|00000f00| 20 71 72 73 20 3d 33 44 | 20 63 75 72 2e 47 65 74 | qrs =3D| cur.Get|
|00000f10| 51 75 65 72 79 52 6f 77 | 53 65 74 28 31 2c 20 30 |QueryRow|Set(1, 0|
|00000f20| 29 0d 0a 09 20 20 20 3d | 32 30 0d 0a 09 27 67 65 |)... =|20...'ge|
|00000f30| 74 20 74 68 65 20 66 69 | 65 6c 64 20 76 61 6c 75 |t the fi|eld valu|
|00000f40| 65 73 20 72 65 71 75 69 | 72 65 64 20 62 79 20 77 |es requi|red by w|
|00000f50| 2f 63 0d 0a 09 73 5a 69 | 70 20 3d 33 44 20 47 65 |/c...sZi|p =3D Ge|
|00000f60| 74 5a 69 70 56 61 6c 75 | 65 28 71 72 73 29 0d 0a |tZipValu|e(qrs)..|
|00000f70| 09 73 41 64 64 72 65 73 | 73 20 3d 33 44 20 47 65 |.sAddres|s =3D Ge|
|00000f80| 74 41 64 64 72 65 73 73 | 56 61 6c 75 65 28 71 72 |tAddress|Value(qr|
|00000f90| 73 29 0d 0a 09 73 43 69 | 74 79 20 3d 33 44 20 47 |s)...sCi|ty =3D G|
|00000fa0| 65 74 43 69 74 79 56 61 | 6c 75 65 28 71 72 73 29 |etCityVa|lue(qrs)|
|00000fb0| 0d 0a 09 73 53 74 61 74 | 65 20 3d 33 44 20 47 65 |...sStat|e =3D Ge|
|00000fc0| 74 53 74 61 74 65 56 61 | 6c 75 65 28 71 72 73 29 |tStateVa|lue(qrs)|
|00000fd0| 0d 0a 09 73 43 6f 75 6e | 74 72 79 20 3d 33 44 20 |...sCoun|try =3D |
|00000fe0| 47 65 74 43 6f 75 6e 74 | 72 79 56 61 6c 75 65 28 |GetCount|ryValue(|
|00000ff0| 71 72 73 29 0d 0a 09 20 | 20 20 3d 32 30 0d 0a 3d |qrs)... | =20..=|
|00001000| 30 39 0d 0a 27 47 65 74 | 20 74 68 65 20 4d 65 20 |09..'Get| the Me |
|00001010| 69 74 65 6d 20 20 20 3d | 32 30 0d 0a 09 44 69 6d |item =|20...Dim|
|00001020| 20 63 75 72 32 0d 0a 09 | 44 69 6d 20 66 6c 61 67 | cur2...|Dim flag|
|00001030| 32 0d 0a 09 44 69 6d 20 | 73 46 69 65 6c 64 4e 61 |2...Dim |sFieldNa|
|00001040| 6d 65 32 0d 0a 0d 0a 09 | 66 6c 61 67 32 20 3d 33 |me2.....|flag2 =3|
|00001050| 44 20 47 65 74 4d 65 49 | 74 65 6d 28 63 75 72 32 |D GetMeI|tem(cur2|
|00001060| 2c 20 73 46 69 65 6c 64 | 4e 61 6d 65 32 29 0d 0a |, sField|Name2)..|
|00001070| 09 27 20 64 69 64 20 77 | 65 20 67 65 74 20 69 6e |.' did w|e get in|
|00001080| 66 6f 20 61 62 6f 75 74 | 20 74 68 65 20 61 63 74 |fo about| the act|
|00001090| 69 76 65 20 22 43 6f 6e | 74 61 63 74 22 20 69 74 |ive "Con|tact" it|
|000010a0| 65 6d 3f 0d 0a 09 49 66 | 20 4e 6f 74 20 66 6c 61 |em?...If| Not fla|
|000010b0| 67 32 20 54 68 65 6e 0d | 0a 09 20 20 20 20 4d 73 |g2 Then.|.. Ms|
|000010c0| 67 42 6f 78 20 22 50 6c | 65 61 73 65 20 43 6f 6e |gBox "Pl|ease Con|
|000010d0| 66 69 67 75 72 65 20 20 | 2d 4d 65 2d 20 69 74 65 |figure |-Me- ite|
|000010e0| 6d 20 69 6e 20 43 6f 6d | 6d 65 6e 63 65 2e 22 0d |m in Com|mence.".|
|000010f0| 0a 09 20 20 20 20 45 78 | 69 74 20 53 75 62 0d 0a |.. Ex|it Sub..|
|00001100| 09 65 6e 64 20 69 66 20 | 20 20 3d 32 30 0d 0a 09 |.end if | =20...|
|00001110| 27 20 65 6c 73 65 20 77 | 65 20 67 6f 74 20 74 68 |' else w|e got th|
|00001120| 65 20 4d 65 20 69 74 65 | 6d 0d 0a 09 20 20 20 3d |e Me ite|m... =|
|00001130| 32 30 0d 0a 09 44 69 6d | 20 71 72 73 32 0d 0a 09 |20...Dim| qrs2...|
|00001140| 63 75 72 32 2e 53 65 65 | 6b 52 6f 77 20 30 2c 20 |cur2.See|kRow 0, |
|00001150| 30 0d 0a 09 53 65 74 20 | 71 72 73 32 20 3d 33 44 |0...Set |qrs2 =3D|
|00001160| 20 63 75 72 32 2e 47 65 | 74 51 75 65 72 79 52 6f | cur2.Ge|tQueryRo|
|00001170| 77 53 65 74 28 31 2c 20 | 30 29 0d 0a 09 20 20 20 |wSet(1, |0)... |
|00001180| 3d 32 30 0d 0a 09 27 67 | 65 74 20 74 68 65 20 66 |=20...'g|et the f|
|00001190| 69 65 6c 64 20 76 61 6c | 75 65 73 20 72 65 71 75 |ield val|ues requ|
|000011a0| 69 72 65 64 20 62 79 20 | 77 2f 63 0d 0a 09 73 5a |ired by |w/c...sZ|
|000011b0| 69 70 4d 65 20 3d 33 44 | 20 47 65 74 5a 69 70 56 |ipMe =3D| GetZipV|
|000011c0| 61 6c 75 65 4d 45 28 71 | 72 73 32 29 0d 0a 09 73 |alueME(q|rs2)...s|
|000011d0| 41 64 64 72 65 73 73 4d | 65 20 3d 33 44 20 47 65 |AddressM|e =3D Ge|
|000011e0| 74 41 64 64 72 65 73 73 | 56 61 6c 75 65 4d 45 28 |tAddress|ValueME(|
|000011f0| 71 72 73 32 29 0d 0a 09 | 73 43 69 74 79 4d 65 20 |qrs2)...|sCityMe |
|00001200| 3d 33 44 20 47 65 74 43 | 69 74 79 56 61 6c 75 65 |=3D GetC|ityValue|
|00001210| 4d 45 28 71 72 73 32 29 | 0d 0a 09 73 53 74 61 74 |ME(qrs2)|...sStat|
|00001220| 65 4d 65 20 3d 33 44 20 | 47 65 74 53 74 61 74 65 |eMe =3D |GetState|
|00001230| 56 61 6c 75 65 4d 45 28 | 71 72 73 32 29 0d 0a 09 |ValueME(|qrs2)...|
|00001240| 73 43 6f 75 6e 74 72 79 | 4d 65 20 3d 33 44 20 47 |sCountry|Me =3D G|
|00001250| 65 74 43 6f 75 6e 74 72 | 79 56 61 6c 75 65 4d 45 |etCountr|yValueME|
|00001260| 28 71 72 73 32 29 0d 0a | 09 09 20 3d 32 30 0d 0a |(qrs2)..|.. =20..|
|00001270| 09 44 69 6d 20 73 55 72 | 6c 32 20 20 20 3d 32 30 |.Dim sUr|l2 =20|
|00001280| 0d 0a 09 73 55 72 6c 32 | 20 3d 33 44 20 77 63 2e |...sUrl2| =3D wc.|
|00001290| 47 65 74 44 69 72 65 63 | 74 69 6f 6e 73 28 73 41 |GetDirec|tions(sA|
|000012a0| 64 64 72 65 73 73 4d 65 | 2c 20 73 43 69 74 79 4d |ddressMe|, sCityM|
|000012b0| 65 2c 20 73 53 74 61 74 | 65 4d 65 2c 20 73 5a 69 |e, sStat|eMe, sZi|
|000012c0| 70 4d 65 2c 20 3d 0d 0a | 73 43 6f 75 6e 74 72 79 |pMe, =..|sCountry|
|000012d0| 4d 65 2c 20 73 41 64 64 | 72 65 73 73 2c 20 73 43 |Me, sAdd|ress, sC|
|000012e0| 69 74 79 2c 20 73 53 74 | 61 74 65 2c 20 73 5a 69 |ity, sSt|ate, sZi|
|000012f0| 70 2c 20 73 43 6f 75 6e | 74 72 79 29 0d 0a 09 20 |p, sCoun|try)... |
|00001300| 20 20 3d 32 30 0d 0a 09 | 27 20 6f 70 65 6e 20 74 | =20...|' open t|
|00001310| 68 65 20 77 65 62 20 70 | 61 67 65 20 3d 32 30 0d |he web p|age =20.|
|00001320| 0a 09 77 69 6e 64 6f 77 | 2e 6e 61 76 69 67 61 74 |..window|.navigat|
|00001330| 65 20 73 55 72 6c 32 20 | 3d 32 30 0d 0a 45 6e 64 |e sUrl2 |=20..End|
|00001340| 20 53 75 62 0d 0a 0d 0a | 73 75 62 20 67 65 74 43 | Sub....|sub getC|
|00001350| 28 29 0d 0a 09 44 69 6d | 20 63 75 72 0d 0a 09 44 |()...Dim| cur...D|
|00001360| 69 6d 20 66 6c 61 67 0d | 0a 09 66 6c 61 67 20 3d |im flag.|..flag =|
|00001370| 33 44 20 47 65 74 41 63 | 74 69 76 65 43 6f 6e 74 |3D GetAc|tiveCont|
|00001380| 61 63 74 49 74 65 6d 28 | 63 75 72 2c 20 73 46 69 |actItem(|cur, sFi|
|00001390| 65 6c 64 4e 61 6d 65 29 | 3d 32 30 0d 0a 20 20 20 |eldName)|=20.. |
|000013a0| 3d 32 30 0d 0a 20 20 20 | 20 49 66 20 4e 6f 74 20 |=20.. | If Not |
|000013b0| 66 6c 61 67 20 54 68 65 | 6e 0d 0a 20 20 20 20 20 |flag The|n.. |
|000013c0| 20 20 20 4d 73 67 42 6f | 78 20 22 50 6c 65 61 73 | MsgBo|x "Pleas|
|000013d0| 65 20 73 65 6c 65 63 74 | 20 61 20 43 6f 6e 74 61 |e select| a Conta|
|000013e0| 63 74 20 69 74 65 6d 20 | 69 6e 20 43 6f 6d 6d 65 |ct item |in Comme|
|000013f0| 6e 63 65 2e 22 0d 0a 20 | 20 20 20 20 20 20 20 45 |nce.".. | E|
|00001400| 78 69 74 20 53 75 62 0d | 0a 20 20 20 20 65 6e 64 |xit Sub.|. end|
|00001410| 20 69 66 0d 0a 20 20 20 | 20 27 20 65 6c 73 65 20 | if.. | ' else |
|00001420| 69 74 20 69 73 20 61 20 | 63 6f 6e 74 61 63 74 20 |it is a |contact |
|00001430| 69 74 65 6d 0d 0a 20 20 | 20 3d 32 30 0d 0a 09 44 |item.. | =20...D|
|00001440| 69 6d 20 71 72 73 0d 0a | 20 20 20 20 63 75 72 2e |im qrs..| cur.|
|00001450| 53 65 65 6b 52 6f 77 20 | 30 2c 20 30 0d 0a 20 20 |SeekRow |0, 0.. |
|00001460| 20 20 53 65 74 20 71 72 | 73 20 3d 33 44 20 63 75 | Set qr|s =3D cu|
|00001470| 72 2e 47 65 74 51 75 65 | 72 79 52 6f 77 53 65 74 |r.GetQue|ryRowSet|
|00001480| 28 31 2c 20 30 29 0d 0a | 20 20 20 3d 32 30 0d 0a |(1, 0)..| =20..|
|00001490| 09 3d 30 39 0d 0a 09 64 | 69 6d 20 73 43 6f 6d 70 |.=09...d|im sComp|
|000014a0| 61 6e 79 2c 20 73 43 69 | 74 79 2c 20 73 53 74 61 |any, sCi|ty, sSta|
|000014b0| 74 65 0d 0a 09 73 43 6f | 6d 70 61 6e 79 20 3d 33 |te...sCo|mpany =3|
|000014c0| 44 20 67 65 74 43 6f 6d | 70 61 6e 79 56 61 6c 75 |D getCom|panyValu|
|000014d0| 65 28 71 72 73 29 0d 0a | 09 73 43 69 74 79 20 3d |e(qrs)..|.sCity =|
|000014e0| 33 44 20 67 65 74 43 69 | 74 79 56 61 6c 75 65 28 |3D getCi|tyValue(|
|000014f0| 71 72 73 29 0d 0a 09 73 | 53 74 61 74 65 20 3d 33 |qrs)...s|State =3|
|00001500| 44 20 47 65 74 53 74 61 | 74 65 56 61 6c 75 65 28 |D GetSta|teValue(|
|00001510| 71 72 73 29 0d 0a 09 69 | 66 20 73 53 74 61 74 65 |qrs)...i|f sState|
|00001520| 20 3d 33 44 20 22 22 20 | 74 68 65 6e 0d 0a 09 61 | =3D "" |then...a|
|00001530| 6c 65 72 74 20 22 20 50 | 6c 65 61 73 65 20 49 6e |lert " P|lease In|
|00001540| 73 65 72 74 20 61 20 76 | 61 6c 75 65 20 66 6f 72 |sert a v|alue for|
|00001550| 20 53 74 61 74 65 20 69 | 6e 20 43 6f 6d 6d 65 6e | State i|n Commen|
|00001560| 63 65 22 0d 0a 09 65 78 | 69 74 20 73 75 62 0d 0a |ce"...ex|it sub..|
|00001570| 09 65 6e 64 20 69 66 0d | 0a 3d 30 39 0d 0a 09 64 |.end if.|.=09...d|
|00001580| 69 6d 20 73 55 72 6c 31 | 0d 0a 09 73 55 72 6c 31 |im sUrl1|...sUrl1|
|00001590| 20 3d 33 44 20 77 63 2e | 46 69 6e 64 43 6f 6d 70 | =3D wc.|FindComp|
|000015a0| 61 6e 79 28 73 43 6f 6d | 70 61 6e 79 2c 20 73 43 |any(sCom|pany, sC|
|000015b0| 69 74 79 2c 20 73 53 74 | 61 74 65 29 3d 30 39 0d |ity, sSt|ate)=09.|
|000015c0| 0a 3d 30 39 0d 0a 09 27 | 20 6f 70 65 6e 20 74 68 |.=09...'| open th|
|000015d0| 65 20 77 65 62 20 70 61 | 67 65 20 3d 32 30 0d 0a |e web pa|ge =20..|
|000015e0| 09 77 69 6e 64 6f 77 2e | 6e 61 76 69 67 61 74 65 |.window.|navigate|
|000015f0| 20 73 55 72 6c 31 0d 0a | 65 6e 64 20 73 75 62 0d | sUrl1..|end sub.|
|00001600| 0a 0d 0a 73 75 62 20 53 | 4e 28 29 0d 0a 09 44 69 |...sub S|N()...Di|
|00001610| 6d 20 63 75 72 0d 0a 20 | 20 20 20 44 69 6d 20 66 |m cur.. | Dim f|
|00001620| 6c 61 67 0d 0a 20 20 20 | 20 44 69 6d 20 73 46 69 |lag.. | Dim sFi|
|00001630| 65 6c 64 4e 61 6d 65 0d | 0a 20 20 20 20 66 6c 61 |eldName.|. fla|
|00001640| 67 20 3d 33 44 20 47 65 | 74 41 63 74 69 76 65 43 |g =3D Ge|tActiveC|
|00001650| 6f 6e 74 61 63 74 49 74 | 65 6d 28 63 75 72 2c 20 |ontactIt|em(cur, |
|00001660| 73 46 69 65 6c 64 4e 61 | 6d 65 29 0d 0a 20 20 20 |sFieldNa|me).. |
|00001670| 20 27 20 64 69 64 20 77 | 65 20 67 65 74 20 69 6e | ' did w|e get in|
|00001680| 66 6f 20 61 62 6f 75 74 | 20 74 68 65 20 61 63 74 |fo about| the act|
|00001690| 69 76 65 20 22 43 6f 6e | 74 61 63 74 22 20 69 74 |ive "Con|tact" it|
|000016a0| 65 6d 3f 0d 0a 20 20 20 | 3d 32 30 0d 0a 20 20 20 |em?.. |=20.. |
|000016b0| 20 49 66 20 4e 6f 74 20 | 66 6c 61 67 20 54 68 65 | If Not |flag The|
|000016c0| 6e 0d 0a 20 20 20 20 20 | 20 20 20 4d 73 67 42 6f |n.. | MsgBo|
|000016d0| 78 20 22 50 6c 65 61 73 | 65 20 73 65 6c 65 63 74 |x "Pleas|e select|
|000016e0| 20 61 20 43 6f 6e 74 61 | 63 74 20 69 74 65 6d 20 | a Conta|ct item |
|000016f0| 69 6e 20 43 6f 6d 6d 65 | 6e 63 65 2e 22 0d 0a 20 |in Comme|nce.".. |
|00001700| 20 20 20 20 20 20 20 45 | 78 69 74 20 53 75 62 20 | E|xit Sub |
|00001710| 20 20 3d 32 30 0d 0a 20 | 20 20 20 45 6e 64 20 49 | =20.. | End I|
|00001720| 66 0d 0a 20 20 20 20 27 | 20 65 6c 73 65 20 69 74 |f.. '| else it|
|00001730| 20 69 73 20 61 20 63 6f | 6e 74 61 63 74 20 69 74 | is a co|ntact it|
|00001740| 65 6d 0d 0a 20 20 20 3d | 32 30 0d 0a 09 44 69 6d |em.. =|20...Dim|
|00001750| 20 71 72 73 0d 0a 20 20 | 20 20 63 75 72 2e 53 65 | qrs.. | cur.Se|
|00001760| 65 6b 52 6f 77 20 30 2c | 20 30 0d 0a 20 20 20 20 |ekRow 0,| 0.. |
|00001770| 53 65 74 20 71 72 73 20 | 3d 33 44 20 63 75 72 2e |Set qrs |=3D cur.|
|00001780| 47 65 74 51 75 65 72 79 | 52 6f 77 53 65 74 28 31 |GetQuery|RowSet(1|
|00001790| 2c 20 30 29 0d 0a 20 20 | 20 3d 32 30 0d 0a 20 20 |, 0).. | =20.. |
|000017a0| 20 20 73 46 69 65 6c 64 | 4e 61 6d 65 20 3d 33 44 | sField|Name =3D|
|000017b0| 20 47 65 74 43 75 72 72 | 65 6e 74 46 69 65 6c 64 | GetCurr|entField|
|000017c0| 56 61 6c 75 65 28 71 72 | 73 2c 20 73 46 69 65 6c |Value(qr|s, sFiel|
|000017d0| 64 4e 61 6d 65 29 0d 0a | 20 20 20 3d 32 30 0d 0a |dName)..| =20..|
|000017e0| 20 20 20 20 44 69 6d 20 | 73 55 72 6c 31 0d 0a 20 | Dim |sUrl1.. |
|000017f0| 20 20 20 73 55 72 6c 31 | 20 3d 33 44 20 77 63 2e | sUrl1| =3D wc.|
|00001800| 53 65 61 72 63 68 4e 65 | 77 73 28 73 46 69 65 6c |SearchNe|ws(sFiel|
|00001810| 64 4e 61 6d 65 29 0d 0a | 20 20 20 3d 32 30 0d 0a |dName)..| =20..|
|00001820| 09 27 20 6f 70 65 6e 20 | 74 68 65 20 77 65 62 20 |.' open |the web |
|00001830| 70 61 67 65 20 3d 32 30 | 0d 0a 09 77 69 6e 64 6f |page =20|...windo|
|00001840| 77 2e 6e 61 76 69 67 61 | 74 65 20 73 55 72 6c 31 |w.naviga|te sUrl1|
|00001850| 0d 0a 65 6e 64 20 73 75 | 62 0d 0a 0d 0a 73 75 62 |..end su|b....sub|
|00001860| 20 53 49 28 29 0d 0a 09 | 44 69 6d 20 63 75 72 0d | SI()...|Dim cur.|
|00001870| 0a 20 20 20 20 44 69 6d | 20 66 6c 61 67 0d 0a 20 |. Dim| flag.. |
|00001880| 20 20 20 44 69 6d 20 73 | 46 69 65 6c 64 4e 61 6d | Dim s|FieldNam|
|00001890| 65 0d 0a 20 20 20 20 66 | 6c 61 67 20 3d 33 44 20 |e.. f|lag =3D |
|000018a0| 47 65 74 41 63 74 69 76 | 65 43 6f 6e 74 61 63 74 |GetActiv|eContact|
|000018b0| 49 74 65 6d 28 63 75 72 | 2c 20 73 46 69 65 6c 64 |Item(cur|, sField|
|000018c0| 4e 61 6d 65 29 0d 0a 20 | 20 20 20 27 20 64 69 64 |Name).. | ' did|
|000018d0| 20 77 65 20 67 65 74 20 | 69 6e 66 6f 20 61 62 6f | we get |info abo|
|000018e0| 75 74 20 74 68 65 20 61 | 63 74 69 76 65 20 22 43 |ut the a|ctive "C|
|000018f0| 6f 6e 74 61 63 74 22 20 | 69 74 65 6d 3f 0d 0a 20 |ontact" |item?.. |
|00001900| 20 20 20 49 66 20 4e 6f | 74 20 66 6c 61 67 20 54 | If No|t flag T|
|00001910| 68 65 6e 0d 0a 20 20 20 | 20 20 20 20 20 4d 73 67 |hen.. | Msg|
|00001920| 42 6f 78 20 22 50 6c 65 | 61 73 65 20 73 65 6c 65 |Box "Ple|ase sele|
|00001930| 63 74 20 61 20 43 6f 6e | 74 61 63 74 20 69 74 65 |ct a Con|tact ite|
|00001940| 6d 20 69 6e 20 43 6f 6d | 6d 65 6e 63 65 2e 22 0d |m in Com|mence.".|
|00001950| 0a 20 20 20 20 20 20 20 | 20 45 78 69 74 20 53 75 |. | Exit Su|
|00001960| 62 0d 0a 20 20 20 20 65 | 6e 64 20 69 66 0d 0a 20 |b.. e|nd if.. |
|00001970| 20 20 20 27 20 65 6c 73 | 65 20 69 74 20 69 73 20 | ' els|e it is |
|00001980| 61 20 63 6f 6e 74 61 63 | 74 20 69 74 65 6d 0d 0a |a contac|t item..|
|00001990| 20 20 20 3d 32 30 0d 0a | 09 44 69 6d 20 71 72 73 | =20..|.Dim qrs|
|000019a0| 0d 0a 20 20 20 20 63 75 | 72 2e 53 65 65 6b 52 6f |.. cu|r.SeekRo|
|000019b0| 77 20 30 2c 20 30 0d 0a | 20 20 20 20 53 65 74 20 |w 0, 0..| Set |
|000019c0| 71 72 73 20 3d 33 44 20 | 63 75 72 2e 47 65 74 51 |qrs =3D |cur.GetQ|
|000019d0| 75 65 72 79 52 6f 77 53 | 65 74 28 31 2c 20 30 29 |ueryRowS|et(1, 0)|
|000019e0| 0d 0a 20 20 20 3d 32 30 | 0d 0a 20 20 20 20 73 46 |.. =20|.. sF|
|000019f0| 69 65 6c 64 4e 61 6d 65 | 20 3d 33 44 20 47 65 74 |ieldName| =3D Get|
|00001a00| 43 75 72 72 65 6e 74 46 | 69 65 6c 64 56 61 6c 75 |CurrentF|ieldValu|
|00001a10| 65 28 71 72 73 2c 20 73 | 46 69 65 6c 64 4e 61 6d |e(qrs, s|FieldNam|
|00001a20| 65 29 0d 0a 20 20 20 3d | 32 30 0d 0a 20 20 20 20 |e).. =|20.. |
|00001a30| 44 69 6d 20 73 55 72 6c | 31 0d 0a 20 20 20 20 73 |Dim sUrl|1.. s|
|00001a40| 55 72 6c 31 20 3d 33 44 | 20 77 63 2e 53 65 61 72 |Url1 =3D| wc.Sear|
|00001a50| 63 68 49 6d 61 67 65 73 | 28 73 46 69 65 6c 64 4e |chImages|(sFieldN|
|00001a60| 61 6d 65 29 20 20 20 3d | 32 30 0d 0a 20 20 20 3d |ame) =|20.. =|
|00001a70| 32 30 0d 0a 09 27 20 6f | 70 65 6e 20 74 68 65 20 |20...' o|pen the |
|00001a80| 77 65 62 20 70 61 67 65 | 20 3d 32 30 0d 0a 09 77 |web page| =20...w|
|00001a90| 69 6e 64 6f 77 2e 6e 61 | 76 69 67 61 74 65 20 73 |indow.na|vigate s|
|00001aa0| 55 72 6c 31 0d 0a 65 6e | 64 20 73 75 62 0d 0a 0d |Url1..en|d sub...|
|00001ab0| 0a 73 75 62 20 53 41 28 | 29 0d 0a 09 44 69 6d 20 |.sub SA(|)...Dim |
|00001ac0| 63 75 72 0d 0a 20 20 20 | 20 44 69 6d 20 66 6c 61 |cur.. | Dim fla|
|00001ad0| 67 0d 0a 20 20 20 20 44 | 69 6d 20 73 46 69 65 6c |g.. D|im sFiel|
|00001ae0| 64 4e 61 6d 65 0d 0a 20 | 20 20 20 66 6c 61 67 20 |dName.. | flag |
|00001af0| 3d 33 44 20 47 65 74 41 | 63 74 69 76 65 43 6f 6e |=3D GetA|ctiveCon|
|00001b00| 74 61 63 74 49 74 65 6d | 28 63 75 72 2c 20 73 46 |tactItem|(cur, sF|
|00001b10| 69 65 6c 64 4e 61 6d 65 | 29 0d 0a 20 20 20 20 27 |ieldName|).. '|
|00001b20| 20 64 69 64 20 77 65 20 | 67 65 74 20 69 6e 66 6f | did we |get info|
|00001b30| 20 61 62 6f 75 74 20 74 | 68 65 20 61 63 74 69 76 | about t|he activ|
|00001b40| 65 20 22 43 6f 6e 74 61 | 63 74 22 20 69 74 65 6d |e "Conta|ct" item|
|00001b50| 3f 0d 0a 20 20 20 20 49 | 66 20 4e 6f 74 20 66 6c |?.. I|f Not fl|
|00001b60| 61 67 20 54 68 65 6e 0d | 0a 20 20 20 20 20 20 20 |ag Then.|. |
|00001b70| 20 4d 73 67 42 6f 78 20 | 22 50 6c 65 61 73 65 20 | MsgBox |"Please |
|00001b80| 73 65 6c 65 63 74 20 61 | 20 43 6f 6e 74 61 63 74 |select a| Contact|
|00001b90| 20 69 74 65 6d 20 69 6e | 20 43 6f 6d 6d 65 6e 63 | item in| Commenc|
|00001ba0| 65 2e 22 0d 0a 20 20 20 | 20 20 20 20 20 45 78 69 |e.".. | Exi|
|00001bb0| 74 20 53 75 62 20 20 20 | 3d 32 30 0d 0a 20 20 20 |t Sub |=20.. |
|00001bc0| 20 45 6e 64 20 49 66 0d | 0a 20 20 20 20 27 20 65 | End If.|. ' e|
|00001bd0| 6c 73 65 20 69 74 20 69 | 73 20 61 20 63 6f 6e 74 |lse it i|s a cont|
|00001be0| 61 63 74 20 69 74 65 6d | 0d 0a 20 20 20 3d 32 30 |act item|.. =20|
|00001bf0| 0d 0a 09 44 69 6d 20 71 | 72 73 0d 0a 20 20 20 20 |...Dim q|rs.. |
|00001c00| 63 75 72 2e 53 65 65 6b | 52 6f 77 20 30 2c 20 30 |cur.Seek|Row 0, 0|
|00001c10| 0d 0a 20 20 20 20 53 65 | 74 20 71 72 73 20 3d 33 |.. Se|t qrs =3|
|00001c20| 44 20 63 75 72 2e 47 65 | 74 51 75 65 72 79 52 6f |D cur.Ge|tQueryRo|
|00001c30| 77 53 65 74 28 31 2c 20 | 30 29 0d 0a 20 20 20 3d |wSet(1, |0).. =|
|00001c40| 32 30 0d 0a 20 20 20 20 | 73 46 69 65 6c 64 4e 61 |20.. |sFieldNa|
|00001c50| 6d 65 20 3d 33 44 20 47 | 65 74 43 75 72 72 65 6e |me =3D G|etCurren|
|00001c60| 74 46 69 65 6c 64 56 61 | 6c 75 65 28 71 72 73 2c |tFieldVa|lue(qrs,|
|00001c70| 20 73 46 69 65 6c 64 4e | 61 6d 65 29 0d 0a 20 20 | sFieldN|ame).. |
|00001c80| 20 3d 32 30 0d 0a 20 20 | 20 20 44 69 6d 20 73 55 | =20.. | Dim sU|
|00001c90| 72 6c 31 0d 0a 20 20 20 | 20 73 55 72 6c 31 20 3d |rl1.. | sUrl1 =|
|00001ca0| 33 44 20 77 63 2e 53 65 | 61 72 63 68 41 75 64 69 |3D wc.Se|archAudi|
|00001cb0| 6f 28 73 46 69 65 6c 64 | 4e 61 6d 65 29 0d 0a 20 |o(sField|Name).. |
|00001cc0| 20 20 3d 32 30 0d 0a 20 | 20 20 20 27 20 6f 70 65 | =20.. | ' ope|
|00001cd0| 6e 20 74 68 65 20 77 65 | 62 20 70 61 67 65 20 3d |n the we|b page =|
|00001ce0| 32 30 0d 0a 09 77 69 6e | 64 6f 77 2e 6e 61 76 69 |20...win|dow.navi|
|00001cf0| 67 61 74 65 20 73 55 72 | 6c 31 0d 0a 65 6e 64 20 |gate sUr|l1..end |
|00001d00| 73 75 62 0d 0a 0d 0a 73 | 75 62 20 53 56 28 29 0d |sub....s|ub SV().|
|00001d10| 0a 09 44 69 6d 20 63 75 | 72 0d 0a 20 20 20 20 44 |..Dim cu|r.. D|
|00001d20| 69 6d 20 66 6c 61 67 0d | 0a 20 20 20 20 44 69 6d |im flag.|. Dim|
|00001d30| 20 73 46 69 65 6c 64 4e | 61 6d 65 0d 0a 20 20 20 | sFieldN|ame.. |
|00001d40| 20 66 6c 61 67 20 3d 33 | 44 20 47 65 74 41 63 74 | flag =3|D GetAct|
|00001d50| 69 76 65 43 6f 6e 74 61 | 63 74 49 74 65 6d 28 63 |iveConta|ctItem(c|
|00001d60| 75 72 2c 20 73 46 69 65 | 6c 64 4e 61 6d 65 29 0d |ur, sFie|ldName).|
|00001d70| 0a 20 20 20 20 27 20 64 | 69 64 20 77 65 20 67 65 |. ' d|id we ge|
|00001d80| 74 20 69 6e 66 6f 20 61 | 62 6f 75 74 20 74 68 65 |t info a|bout the|
|00001d90| 20 61 63 74 69 76 65 20 | 22 43 6f 6e 74 61 63 74 | active |"Contact|
|00001da0| 22 20 69 74 65 6d 3f 0d | 0a 20 20 20 20 49 66 20 |" item?.|. If |
|00001db0| 4e 6f 74 20 66 6c 61 67 | 20 54 68 65 6e 0d 0a 20 |Not flag| Then.. |
|00001dc0| 20 20 20 20 20 20 20 4d | 73 67 42 6f 78 20 22 50 | M|sgBox "P|
|00001dd0| 6c 65 61 73 65 20 73 65 | 6c 65 63 74 20 61 20 43 |lease se|lect a C|
|00001de0| 6f 6e 74 61 63 74 20 69 | 74 65 6d 20 69 6e 20 43 |ontact i|tem in C|
|00001df0| 6f 6d 6d 65 6e 63 65 2e | 22 0d 0a 20 20 20 20 20 |ommence.|".. |
|00001e00| 20 20 20 45 78 69 74 20 | 53 75 62 20 20 20 3d 32 | Exit |Sub =2|
|00001e10| 30 0d 0a 20 20 20 20 45 | 6e 64 20 49 66 0d 0a 20 |0.. E|nd If.. |
|00001e20| 20 20 20 27 20 65 6c 73 | 65 20 69 74 20 69 73 20 | ' els|e it is |
|00001e30| 61 20 63 6f 6e 74 61 63 | 74 20 69 74 65 6d 0d 0a |a contac|t item..|
|00001e40| 20 20 20 3d 32 30 0d 0a | 09 44 69 6d 20 71 72 73 | =20..|.Dim qrs|
|00001e50| 0d 0a 20 20 20 20 63 75 | 72 2e 53 65 65 6b 52 6f |.. cu|r.SeekRo|
|00001e60| 77 20 30 2c 20 30 0d 0a | 20 20 20 20 53 65 74 20 |w 0, 0..| Set |
|00001e70| 71 72 73 20 3d 33 44 20 | 63 75 72 2e 47 65 74 51 |qrs =3D |cur.GetQ|
|00001e80| 75 65 72 79 52 6f 77 53 | 65 74 28 31 2c 20 30 29 |ueryRowS|et(1, 0)|
|00001e90| 0d 0a 20 20 20 3d 32 30 | 0d 0a 20 20 20 20 73 46 |.. =20|.. sF|
|00001ea0| 69 65 6c 64 4e 61 6d 65 | 20 3d 33 44 20 47 65 74 |ieldName| =3D Get|
|00001eb0| 43 75 72 72 65 6e 74 46 | 69 65 6c 64 56 61 6c 75 |CurrentF|ieldValu|
|00001ec0| 65 28 71 72 73 2c 20 73 | 46 69 65 6c 64 4e 61 6d |e(qrs, s|FieldNam|
|00001ed0| 65 29 0d 0a 20 20 20 3d | 32 30 0d 0a 20 20 20 20 |e).. =|20.. |
|00001ee0| 44 69 6d 20 73 55 72 6c | 31 0d 0a 20 20 20 20 73 |Dim sUrl|1.. s|
|00001ef0| 55 72 6c 31 20 3d 33 44 | 20 77 63 2e 53 65 61 72 |Url1 =3D| wc.Sear|
|00001f00| 63 68 56 69 64 65 6f 28 | 73 46 69 65 6c 64 4e 61 |chVideo(|sFieldNa|
|00001f10| 6d 65 29 0d 0a 20 20 20 | 3d 32 30 0d 0a 20 20 20 |me).. |=20.. |
|00001f20| 20 27 20 6f 70 65 6e 20 | 74 68 65 20 77 65 62 20 | ' open |the web |
|00001f30| 70 61 67 65 0d 0a 09 77 | 69 6e 64 6f 77 2e 6e 61 |page...w|indow.na|
|00001f40| 76 69 67 61 74 65 20 73 | 55 72 6c 31 0d 0a 65 6e |vigate s|Url1..en|
|00001f50| 64 20 73 75 62 0d 0a 0d | 0a 73 75 62 20 67 65 74 |d sub...|.sub get|
|00001f60| 53 74 6f 63 6b 28 29 3d | 30 39 0d 0a 09 64 69 6d |Stock()=|09...dim|
|00001f70| 20 71 75 6f 74 65 0d 0a | 09 71 75 6f 74 65 20 3d | quote..|.quote =|
|00001f80| 33 44 20 66 72 6d 4d 61 | 69 6e 2e 74 78 74 43 6f |3D frmMa|in.txtCo|
|00001f90| 64 65 2e 76 61 6c 75 65 | 0d 0a 3d 30 39 0d 0a 09 |de.value|..=09...|
|00001fa0| 64 69 6d 20 73 55 72 6c | 31 0d 0a 09 73 55 72 6c |dim sUrl|1...sUrl|
|00001fb0| 31 20 3d 33 44 20 77 63 | 2e 47 65 74 53 74 6f 63 |1 =3D wc|.GetStoc|
|00001fc0| 6b 51 75 6f 74 65 28 71 | 75 6f 74 65 29 0d 0a 3d |kQuote(q|uote)..=|
|00001fd0| 30 39 0d 0a 09 27 20 6f | 70 65 6e 20 74 68 65 20 |09...' o|pen the |
|00001fe0| 77 65 62 20 70 61 67 65 | 0d 0a 09 77 69 6e 64 6f |web page|...windo|
|00001ff0| 77 2e 6e 61 76 69 67 61 | 74 65 20 73 55 72 6c 31 |w.naviga|te sUrl1|
|00002000| 0d 0a 65 6e 64 20 73 75 | 62 0d 0a 0d 0a 73 75 62 |..end su|b....sub|
|00002010| 20 47 65 74 53 74 6f 63 | 6b 53 79 6d 62 6f 6c 28 | GetStoc|kSymbol(|
|00002020| 29 0d 0a 09 64 69 6d 20 | 73 55 72 6c 31 0d 0a 09 |)...dim |sUrl1...|
|00002030| 73 55 72 6c 31 20 3d 33 | 44 20 77 63 2e 53 74 6f |sUrl1 =3|D wc.Sto|
|00002040| 63 6b 53 79 6d 62 6f 6c | 4c 6f 6f 6b 75 70 20 28 |ckSymbol|Lookup (|
|00002050| 29 0d 0a 3d 30 39 0d 0a | 09 27 20 6f 70 65 6e 20 |)..=09..|.' open |
|00002060| 74 68 65 20 77 65 62 20 | 70 61 67 65 0d 0a 09 77 |the web |page...w|
|00002070| 69 6e 64 6f 77 2e 6e 61 | 76 69 67 61 74 65 20 73 |indow.na|vigate s|
|00002080| 55 72 6c 31 0d 0a 65 6e | 64 20 73 75 62 0d 0a 0d |Url1..en|d sub...|
|00002090| 0a 73 75 62 20 43 44 28 | 29 0d 0a 09 44 69 6d 20 |.sub CD(|)...Dim |
|000020a0| 63 75 72 0d 0a 20 20 20 | 20 44 69 6d 20 66 6c 61 |cur.. | Dim fla|
|000020b0| 67 0d 0a 20 20 20 20 44 | 69 6d 20 73 46 69 65 6c |g.. D|im sFiel|
|000020c0| 64 4e 61 6d 65 0d 0a 20 | 20 20 20 66 6c 61 67 20 |dName.. | flag |
|000020d0| 3d 33 44 20 47 65 74 41 | 63 74 69 76 65 43 6f 6e |=3D GetA|ctiveCon|
|000020e0| 74 61 63 74 49 74 65 6d | 28 63 75 72 2c 20 73 46 |tactItem|(cur, sF|
|000020f0| 69 65 6c 64 4e 61 6d 65 | 29 0d 0a 20 20 20 20 27 |ieldName|).. '|
|00002100| 20 64 69 64 20 77 65 20 | 67 65 74 20 69 6e 66 6f | did we |get info|
|00002110| 20 61 62 6f 75 74 20 74 | 68 65 20 61 63 74 69 76 | about t|he activ|
|00002120| 65 20 22 43 6f 6e 74 61 | 63 74 22 20 69 74 65 6d |e "Conta|ct" item|
|00002130| 3f 0d 0a 20 20 20 3d 32 | 30 0d 0a 20 20 20 20 49 |?.. =2|0.. I|
|00002140| 66 20 4e 6f 74 20 66 6c | 61 67 20 54 68 65 6e 0d |f Not fl|ag Then.|
|00002150| 0a 20 20 20 20 20 20 20 | 20 4d 73 67 42 6f 78 20 |. | MsgBox |
|00002160| 22 50 6c 65 61 73 65 20 | 73 65 6c 65 63 74 20 61 |"Please |select a|
|00002170| 20 43 6f 6e 74 61 63 74 | 20 69 74 65 6d 20 69 6e | Contact| item in|
|00002180| 20 43 6f 6d 6d 65 6e 63 | 65 2e 22 0d 0a 20 20 20 | Commenc|e.".. |
|00002190| 20 20 20 20 20 45 78 69 | 74 20 53 75 62 20 20 20 | Exi|t Sub |
|000021a0| 3d 32 30 0d 0a 20 20 20 | 20 45 6e 64 20 49 66 0d |=20.. | End If.|
|000021b0| 0a 20 20 20 20 27 20 65 | 6c 73 65 20 69 74 20 69 |. ' e|lse it i|
|000021c0| 73 20 61 20 63 6f 6e 74 | 61 63 74 20 69 74 65 6d |s a cont|act item|
|000021d0| 0d 0a 20 20 20 3d 32 30 | 0d 0a 09 44 69 6d 20 71 |.. =20|...Dim q|
|000021e0| 72 73 0d 0a 20 20 20 20 | 63 75 72 2e 53 65 65 6b |rs.. |cur.Seek|
|000021f0| 52 6f 77 20 30 2c 20 30 | 0d 0a 20 20 20 20 53 65 |Row 0, 0|.. Se|
|00002200| 74 20 71 72 73 20 3d 33 | 44 20 63 75 72 2e 47 65 |t qrs =3|D cur.Ge|
|00002210| 74 51 75 65 72 79 52 6f | 77 53 65 74 28 31 2c 20 |tQueryRo|wSet(1, |
|00002220| 30 29 0d 0a 20 20 20 3d | 32 30 0d 0a 09 27 67 65 |0).. =|20...'ge|
|00002230| 74 20 74 68 65 20 66 69 | 65 6c 64 20 76 61 6c 75 |t the fi|eld valu|
|00002240| 65 73 20 72 65 71 75 69 | 72 65 64 20 62 79 20 77 |es requi|red by w|
|00002250| 2f 63 0d 0a 09 73 43 69 | 74 79 20 3d 33 44 20 47 |/c...sCi|ty =3D G|
|00002260| 65 74 43 69 74 79 56 61 | 6c 75 65 28 71 72 73 29 |etCityVa|lue(qrs)|
|00002270| 0d 0a 09 73 53 74 61 74 | 65 20 3d 33 44 20 47 65 |...sStat|e =3D Ge|
|00002280| 74 53 74 61 74 65 56 61 | 6c 75 65 28 71 72 73 29 |tStateVa|lue(qrs)|
|00002290| 0d 0a 3d 30 39 0d 0a 09 | 64 69 6d 20 74 65 78 74 |..=09...|dim text|
|000022a0| 31 0d 0a 09 74 65 78 74 | 31 20 3d 33 44 20 66 72 |1...text|1 =3D fr|
|000022b0| 6d 4d 61 69 6e 2e 74 78 | 74 43 61 74 65 67 6f 72 |mMain.tx|tCategor|
|000022c0| 79 2e 76 61 6c 75 65 20 | 3d 30 39 0d 0a 3d 30 39 |y.value |=09..=09|
|000022d0| 0d 0a 09 64 69 6d 20 73 | 55 72 6c 31 0d 0a 09 73 |...dim s|Url1...s|
|000022e0| 55 72 6c 31 20 3d 33 44 | 20 77 63 2e 44 69 72 65 |Url1 =3D| wc.Dire|
|000022f0| 63 74 6f 72 79 43 6f 6d | 70 61 6e 79 20 28 74 65 |ctoryCom|pany (te|
|00002300| 78 74 31 2c 20 73 43 69 | 74 79 2c 20 73 53 74 61 |xt1, sCi|ty, sSta|
|00002310| 74 65 29 0d 0a 3d 30 39 | 0d 0a 09 27 20 6f 70 65 |te)..=09|...' ope|
|00002320| 6e 20 74 68 65 20 77 65 | 62 20 70 61 67 65 0d 0a |n the we|b page..|
|00002330| 09 77 69 6e 64 6f 77 2e | 6e 61 76 69 67 61 74 65 |.window.|navigate|
|00002340| 20 73 55 72 6c 31 0d 0a | 65 6e 64 20 73 75 62 0d | sUrl1..|end sub.|
|00002350| 0a 0d 0a 73 75 62 20 50 | 44 28 29 0d 0a 09 44 69 |...sub P|D()...Di|
|00002360| 6d 20 63 75 72 0d 0a 20 | 20 20 20 44 69 6d 20 66 |m cur.. | Dim f|
|00002370| 6c 61 67 0d 0a 20 20 20 | 20 44 69 6d 20 73 46 69 |lag.. | Dim sFi|
|00002380| 65 6c 64 4e 61 6d 65 0d | 0a 20 20 20 20 66 6c 61 |eldName.|. fla|
|00002390| 67 20 3d 33 44 20 47 65 | 74 41 63 74 69 76 65 43 |g =3D Ge|tActiveC|
|000023a0| 6f 6e 74 61 63 74 49 74 | 65 6d 28 63 75 72 2c 20 |ontactIt|em(cur, |
|000023b0| 73 46 69 65 6c 64 4e 61 | 6d 65 29 0d 0a 20 20 20 |sFieldNa|me).. |
|000023c0| 20 27 20 64 69 64 20 77 | 65 20 67 65 74 20 69 6e | ' did w|e get in|
|000023d0| 66 6f 20 61 62 6f 75 74 | 20 74 68 65 20 61 63 74 |fo about| the act|
|000023e0| 69 76 65 20 22 43 6f 6e | 74 61 63 74 22 20 69 74 |ive "Con|tact" it|
|000023f0| 65 6d 3f 0d 0a 20 20 20 | 3d 32 30 0d 0a 20 20 20 |em?.. |=20.. |
|00002400| 20 49 66 20 4e 6f 74 20 | 66 6c 61 67 20 54 68 65 | If Not |flag The|
|00002410| 6e 0d 0a 20 20 20 20 20 | 20 20 20 4d 73 67 42 6f |n.. | MsgBo|
|00002420| 78 20 22 50 6c 65 61 73 | 65 20 73 65 6c 65 63 74 |x "Pleas|e select|
|00002430| 20 61 20 43 6f 6e 74 61 | 63 74 20 69 74 65 6d 20 | a Conta|ct item |
|00002440| 69 6e 20 43 6f 6d 6d 65 | 6e 63 65 2e 22 0d 0a 20 |in Comme|nce.".. |
|00002450| 20 20 20 20 20 20 20 45 | 78 69 74 20 53 75 62 20 | E|xit Sub |
|00002460| 20 20 3d 32 30 0d 0a 20 | 20 20 20 45 6e 64 20 49 | =20.. | End I|
|00002470| 66 20 20 20 3d 32 30 0d | 0a 20 20 20 20 27 20 65 |f =20.|. ' e|
|00002480| 6c 73 65 20 69 74 20 69 | 73 20 61 20 63 6f 6e 74 |lse it i|s a cont|
|00002490| 61 63 74 20 69 74 65 6d | 0d 0a 20 20 20 3d 32 30 |act item|.. =20|
|000024a0| 0d 0a 09 44 69 6d 20 71 | 72 73 0d 0a 20 20 20 20 |...Dim q|rs.. |
|000024b0| 63 75 72 2e 53 65 65 6b | 52 6f 77 20 30 2c 20 30 |cur.Seek|Row 0, 0|
|000024c0| 0d 0a 20 20 20 20 53 65 | 74 20 71 72 73 20 3d 33 |.. Se|t qrs =3|
|000024d0| 44 20 63 75 72 2e 47 65 | 74 51 75 65 72 79 52 6f |D cur.Ge|tQueryRo|
|000024e0| 77 53 65 74 28 31 2c 20 | 30 29 0d 0a 20 20 20 3d |wSet(1, |0).. =|
|000024f0| 32 30 0d 0a 09 27 67 65 | 74 20 74 68 65 20 66 69 |20...'ge|t the fi|
|00002500| 65 6c 64 20 76 61 6c 75 | 65 73 20 72 65 71 75 69 |eld valu|es requi|
|00002510| 72 65 64 20 62 79 20 77 | 2f 63 0d 0a 09 73 43 69 |red by w|/c...sCi|
|00002520| 74 79 20 3d 33 44 20 47 | 65 74 43 69 74 79 56 61 |ty =3D G|etCityVa|
|00002530| 6c 75 65 28 71 72 73 29 | 0d 0a 09 73 53 74 61 74 |lue(qrs)|...sStat|
|00002540| 65 20 3d 33 44 20 47 65 | 74 53 74 61 74 65 56 61 |e =3D Ge|tStateVa|
|00002550| 6c 75 65 28 71 72 73 29 | 0d 0a 09 73 4c 61 73 74 |lue(qrs)|...sLast|
|00002560| 4e 61 6d 65 20 3d 33 44 | 20 47 65 74 4c 61 73 74 |Name =3D| GetLast|
|00002570| 4e 61 6d 65 28 71 72 73 | 29 0d 0a 09 73 46 69 72 |Name(qrs|)...sFir|
|00002580| 73 74 4e 61 6d 65 20 3d | 33 44 20 47 65 74 46 69 |stName =|3D GetFi|
|00002590| 72 73 74 4e 61 6d 65 28 | 71 72 73 29 0d 0a 3d 30 |rstName(|qrs)..=0|
|000025a0| 39 0d 0a 09 64 69 6d 20 | 73 55 72 6c 31 0d 0a 09 |9...dim |sUrl1...|
|000025b0| 73 55 72 6c 31 20 3d 33 | 44 20 77 63 2e 44 69 72 |sUrl1 =3|D wc.Dir|
|000025c0| 65 63 74 6f 72 79 50 65 | 72 73 6f 6e 20 28 73 46 |ectoryPe|rson (sF|
|000025d0| 69 72 73 74 4e 61 6d 65 | 2c 20 73 4c 61 73 74 4e |irstName|, sLastN|
|000025e0| 61 6d 65 2c 20 73 43 69 | 74 79 2c 20 73 53 74 61 |ame, sCi|ty, sSta|
|000025f0| 74 65 29 0d 0a 3d 30 39 | 0d 0a 09 27 20 6f 70 65 |te)..=09|...' ope|
|00002600| 6e 20 74 68 65 20 77 65 | 62 20 70 61 67 65 0d 0a |n the we|b page..|
|00002610| 09 77 69 6e 64 6f 77 2e | 6e 61 76 69 67 61 74 65 |.window.|navigate|
|00002620| 20 73 55 72 6c 31 0d 0a | 65 6e 64 20 73 75 62 0d | sUrl1..|end sub.|
|00002630| 0a 73 75 62 20 47 65 74 | 4e 42 28 29 0d 0a 09 64 |.sub Get|NB()...d|
|00002640| 69 6d 20 73 55 72 6c 31 | 0d 0a 09 73 55 72 6c 31 |im sUrl1|...sUrl1|
|00002650| 20 3d 33 44 20 77 63 2e | 47 65 74 4e 65 77 73 42 | =3D wc.|GetNewsB|
|00002660| 75 73 69 6e 65 73 73 20 | 28 29 0d 0a 3d 30 39 0d |usiness |()..=09.|
|00002670| 0a 09 27 20 6f 70 65 6e | 20 74 68 65 20 77 65 62 |..' open| the web|
|00002680| 20 70 61 67 65 0d 0a 09 | 77 69 6e 64 6f 77 2e 6e | page...|window.n|
|00002690| 61 76 69 67 61 74 65 20 | 73 55 72 6c 31 0d 0a 65 |avigate |sUrl1..e|
|000026a0| 6e 64 20 73 75 62 0d 0a | 0d 0a 73 75 62 20 47 65 |nd sub..|..sub Ge|
|000026b0| 74 4e 47 28 29 0d 0a 09 | 64 69 6d 20 73 55 72 6c |tNG()...|dim sUrl|
|000026c0| 31 0d 0a 09 73 55 72 6c | 31 20 3d 33 44 20 77 63 |1...sUrl|1 =3D wc|
|000026d0| 2e 47 65 74 4e 65 77 73 | 47 65 6e 65 72 61 6c 20 |.GetNews|General |
|000026e0| 28 29 0d 0a 3d 30 39 0d | 0a 09 27 20 6f 70 65 6e |()..=09.|..' open|
|000026f0| 20 74 68 65 20 77 65 62 | 20 70 61 67 65 0d 0a 09 | the web| page...|
|00002700| 77 69 6e 64 6f 77 2e 6e | 61 76 69 67 61 74 65 20 |window.n|avigate |
|00002710| 73 55 72 6c 31 0d 0a 65 | 6e 64 20 73 75 62 0d 0a |sUrl1..e|nd sub..|
|00002720| 0d 0a 73 75 62 20 47 65 | 74 4e 53 28 29 0d 0a 09 |..sub Ge|tNS()...|
|00002730| 64 69 6d 20 73 55 72 6c | 31 0d 0a 09 73 55 72 6c |dim sUrl|1...sUrl|
|00002740| 31 20 3d 33 44 20 77 63 | 2e 47 65 74 4e 65 77 73 |1 =3D wc|.GetNews|
|00002750| 53 70 6f 72 74 73 20 28 | 29 0d 0a 3d 30 39 0d 0a |Sports (|)..=09..|
|00002760| 09 27 20 6f 70 65 6e 20 | 74 68 65 20 77 65 62 20 |.' open |the web |
|00002770| 70 61 67 65 0d 0a 09 77 | 69 6e 64 6f 77 2e 6e 61 |page...w|indow.na|
|00002780| 76 69 67 61 74 65 20 73 | 55 72 6c 31 0d 0a 65 6e |vigate s|Url1..en|
|00002790| 64 20 73 75 62 0d 0a 0d | 0a 73 75 62 20 47 65 74 |d sub...|.sub Get|
|000027a0| 4e 54 28 29 0d 0a 09 64 | 69 6d 20 73 55 72 6c 31 |NT()...d|im sUrl1|
|000027b0| 0d 0a 09 73 55 72 6c 31 | 20 3d 33 44 20 77 63 2e |...sUrl1| =3D wc.|
|000027c0| 47 65 74 4e 65 77 73 54 | 65 63 68 6e 69 63 61 6c |GetNewsT|echnical|
|000027d0| 20 28 29 0d 0a 3d 30 39 | 0d 0a 09 27 20 6f 70 65 | ()..=09|...' ope|
|000027e0| 6e 20 74 68 65 20 77 65 | 62 20 70 61 67 65 0d 0a |n the we|b page..|
|000027f0| 09 77 69 6e 64 6f 77 2e | 6e 61 76 69 67 61 74 65 |.window.|navigate|
|00002800| 20 73 55 72 6c 31 0d 0a | 65 6e 64 20 73 75 62 0d | sUrl1..|end sub.|
|00002810| 0a 0d 0a 27 20 71 75 65 | 72 79 20 63 6f 6d 6d 65 |...' que|ry comme|
|00002820| 6e 63 65 20 66 6f 72 20 | 74 68 65 20 61 63 74 69 |nce for |the acti|
|00002830| 76 65 20 69 74 65 6d 3b | 0d 0a 27 20 73 65 74 75 |ve item;|..' setu|
|00002840| 70 20 61 20 63 75 72 73 | 6f 72 20 74 68 61 74 20 |p a curs|or that |
|00002850| 75 73 65 73 20 74 68 65 | 20 4f 4c 20 61 64 64 72 |uses the| OL addr|
|00002860| 65 73 73 20 62 6f 6f 6b | 20 61 6e 64 20 63 6f 6e |ess book| and con|
|00002870| 74 61 69 6e 73 20 74 68 | 65 20 61 63 74 69 76 65 |tains th|e active|
|00002880| 20 3d 0d 0a 69 74 65 6d | 0d 0a 46 75 6e 63 74 69 | =..item|..Functi|
|00002890| 6f 6e 20 47 65 74 41 63 | 74 69 76 65 43 6f 6e 74 |on GetAc|tiveCont|
|000028a0| 61 63 74 49 74 65 6d 28 | 63 75 72 2c 20 73 46 69 |actItem(|cur, sFi|
|000028b0| 65 6c 64 4e 61 6d 65 29 | 0d 0a 20 20 20 20 27 20 |eldName)|.. ' |
|000028c0| 63 6f 6e 6e 65 63 74 20 | 74 6f 20 63 6f 6d 6d 65 |connect |to comme|
|000028d0| 6e 63 65 0d 0a 20 20 20 | 20 44 69 6d 20 70 69 6d |nce.. | Dim pim|
|000028e0| 0d 0a 20 20 20 20 53 65 | 74 20 70 69 6d 20 3d 33 |.. Se|t pim =3|
|000028f0| 44 20 43 6f 6e 6e 65 63 | 74 44 42 0d 0a 0d 0a 20 |D Connec|tDB.... |
|00002900| 20 20 20 27 20 67 65 74 | 20 63 6f 6e 74 61 63 74 | ' get| contact|
|00002910| 20 6d 61 70 70 69 6e 67 | 20 69 6e 66 6f 72 6d 61 | mapping| informa|
|00002920| 74 69 6f 6e 0d 0a 20 20 | 20 20 53 65 74 20 63 75 |tion.. | Set cu|
|00002930| 72 20 3d 33 44 20 47 65 | 74 43 6f 6e 74 61 63 74 |r =3D Ge|tContact|
|00002940| 73 28 70 69 6d 29 0d 0a | 0d 0a 20 20 20 20 27 20 |s(pim)..|.. ' |
|00002950| 67 65 74 20 69 6e 66 6f | 20 61 62 6f 75 74 20 61 |get info| about a|
|00002960| 63 74 69 76 65 20 69 74 | 65 6d 0d 0a 20 20 20 20 |ctive it|em.. |
|00002970| 44 69 6d 20 73 43 61 74 | 2c 20 53 4e 61 6d 65 56 |Dim sCat|, SNameV|
|00002980| 61 6c 75 65 20 20 20 3d | 32 30 0d 0a 20 20 20 20 |alue =|20.. |
|00002990| 47 65 74 43 75 72 72 65 | 6e 74 49 74 65 6d 20 70 |GetCurre|ntItem p|
|000029a0| 69 6d 2c 20 73 43 61 74 | 2c 20 53 4e 61 6d 65 56 |im, sCat|, SNameV|
|000029b0| 61 6c 75 65 2c 20 73 46 | 69 65 6c 64 4e 61 6d 65 |alue, sF|ieldName|
|000029c0| 0d 0a 20 20 20 20 3d 30 | 39 0d 0a 20 20 20 20 27 |.. =0|9.. '|
|000029d0| 20 69 66 20 6e 6f 74 20 | 66 6f 72 20 74 68 65 20 | if not |for the |
|000029e0| 63 6f 6e 74 61 63 74 20 | 63 61 74 65 67 6f 72 79 |contact |category|
|000029f0| 2c 20 72 65 74 75 72 6e | 20 65 72 72 6f 72 20 20 |, return| error |
|00002a00| 20 3d 32 30 0d 0a 20 20 | 20 20 49 66 20 4e 6f 74 | =20.. | If Not|
|00002a10| 20 49 73 43 6f 6e 74 61 | 63 74 73 43 61 74 65 67 | IsConta|ctsCateg|
|00002a20| 6f 72 79 28 63 75 72 2c | 20 73 43 61 74 29 20 54 |ory(cur,| sCat) T|
|00002a30| 68 65 6e 09 3d 30 39 0d | 0a 20 20 20 20 20 20 20 |hen.=09.|. |
|00002a40| 20 53 65 74 20 63 75 72 | 20 3d 33 44 20 4e 6f 74 | Set cur| =3D Not|
|00002a50| 68 69 6e 67 0d 0a 20 20 | 20 20 20 20 20 20 47 65 |hing.. | Ge|
|00002a60| 74 41 63 74 69 76 65 43 | 6f 6e 74 61 63 74 49 74 |tActiveC|ontactIt|
|00002a70| 65 6d 20 3d 33 44 20 46 | 61 6c 73 65 0d 0a 20 20 |em =3D F|alse.. |
|00002a80| 20 20 20 20 20 20 45 78 | 69 74 20 46 75 6e 63 74 | Ex|it Funct|
|00002a90| 69 6f 6e 0d 0a 20 20 20 | 20 45 6e 64 20 49 66 0d |ion.. | End If.|
|00002aa0| 0a 20 20 20 3d 32 30 0d | 0a 09 27 20 66 69 6c 74 |. =20.|..' filt|
|00002ab0| 65 72 20 74 6f 20 6a 75 | 73 74 20 74 68 65 20 61 |er to ju|st the a|
|00002ac0| 63 74 69 76 65 20 69 74 | 65 6d 0d 0a 20 20 20 20 |ctive it|em.. |
|00002ad0| 46 69 6c 74 65 72 43 6f | 6e 74 61 63 74 73 20 63 |FilterCo|ntacts c|
|00002ae0| 75 72 2c 20 53 4e 61 6d | 65 56 61 6c 75 65 0d 0a |ur, SNam|eValue..|
|00002af0| 20 20 20 20 49 66 20 63 | 75 72 2e 52 6f 77 43 6f | If c|ur.RowCo|
|00002b00| 75 6e 74 20 3c 3d 33 44 | 20 30 20 54 68 65 6e 0d |unt <=3D| 0 Then.|
|00002b10| 0a 20 20 20 20 20 20 20 | 20 53 65 74 20 63 75 72 |. | Set cur|
|00002b20| 20 3d 33 44 20 4e 6f 74 | 68 69 6e 67 0d 0a 20 20 | =3D Not|hing.. |
|00002b30| 20 20 20 20 20 20 47 65 | 74 41 63 74 69 76 65 43 | Ge|tActiveC|
|00002b40| 6f 6e 74 61 63 74 49 74 | 65 6d 20 3d 33 44 20 46 |ontactIt|em =3D F|
|00002b50| 61 6c 73 65 0d 0a 20 20 | 20 20 20 20 20 20 45 78 |alse.. | Ex|
|00002b60| 69 74 20 46 75 6e 63 74 | 69 6f 6e 0d 0a 20 20 20 |it Funct|ion.. |
|00002b70| 20 45 6e 64 20 49 66 0d | 0a 0d 0a 20 20 20 20 27 | End If.|... '|
|00002b80| 20 73 75 63 63 65 73 73 | 0d 0a 20 20 20 20 47 65 | success|.. Ge|
|00002b90| 74 41 63 74 69 76 65 43 | 6f 6e 74 61 63 74 49 74 |tActiveC|ontactIt|
|00002ba0| 65 6d 20 3d 33 44 20 54 | 72 75 65 0d 0a 45 6e 64 |em =3D T|rue..End|
|00002bb0| 20 46 75 6e 63 74 69 6f | 6e 0d 0a 0d 0a 27 20 71 | Functio|n....' q|
|00002bc0| 75 65 72 79 20 63 6f 6d | 6d 65 6e 63 65 20 66 6f |uery com|mence fo|
|00002bd0| 72 20 74 68 65 20 2d 4d | 65 2d 20 69 74 65 6d 3b |r the -M|e- item;|
|00002be0| 0d 0a 27 20 73 65 74 75 | 70 20 61 20 63 75 72 73 |..' setu|p a curs|
|00002bf0| 6f 72 3d 32 30 0d 0a 46 | 75 6e 63 74 69 6f 6e 20 |or=20..F|unction |
|00002c00| 47 65 74 4d 65 49 74 65 | 6d 28 63 75 72 2c 20 73 |GetMeIte|m(cur, s|
|00002c10| 46 69 65 6c 64 4e 61 6d | 65 29 0d 0a 20 20 20 20 |FieldNam|e).. |
|00002c20| 27 20 63 6f 6e 6e 65 63 | 74 20 74 6f 20 63 6f 6d |' connec|t to com|
|00002c30| 6d 65 6e 63 65 0d 0a 20 | 20 20 20 44 69 6d 20 70 |mence.. | Dim p|
|00002c40| 69 6d 0d 0a 20 20 20 20 | 53 65 74 20 70 69 6d 20 |im.. |Set pim |
|00002c50| 3d 33 44 20 43 6f 6e 6e | 65 63 74 44 42 0d 0a 20 |=3D Conn|ectDB.. |
|00002c60| 20 20 20 27 20 67 65 74 | 20 4d 65 20 69 74 65 6d | ' get| Me item|
|00002c70| 20 6d 61 70 70 69 6e 67 | 20 69 6e 66 6f 72 6d 61 | mapping| informa|
|00002c80| 74 69 6f 6e 0d 0a 20 20 | 20 20 53 65 74 20 63 75 |tion.. | Set cu|
|00002c90| 72 20 3d 33 44 20 47 65 | 74 41 63 63 6f 75 6e 74 |r =3D Ge|tAccount|
|00002ca0| 73 28 70 69 6d 29 0d 0a | 0d 0a 20 20 20 20 27 20 |s(pim)..|.. ' |
|00002cb0| 67 65 74 20 69 6e 66 6f | 20 61 62 6f 75 74 20 6d |get info| about m|
|00002cc0| 65 20 69 74 65 6d 20 66 | 72 6f 6d 20 70 72 65 66 |e item f|rom pref|
|00002cd0| 65 72 65 6e 63 65 0d 0a | 20 20 20 20 44 69 6d 20 |erence..| Dim |
|00002ce0| 73 43 61 74 2c 20 53 4e | 61 6d 65 56 61 6c 75 65 |sCat, SN|ameValue|
|00002cf0| 20 20 20 3d 32 30 0d 0a | 20 20 20 20 47 65 74 50 | =20..| GetP|
|00002d00| 72 65 66 65 72 65 6e 63 | 65 49 74 65 6d 20 70 69 |referenc|eItem pi|
|00002d10| 6d 2c 20 73 43 61 74 2c | 20 53 4e 61 6d 65 56 61 |m, sCat,| SNameVa|
|00002d20| 6c 75 65 2c 20 73 46 69 | 65 6c 64 4e 61 6d 65 0d |lue, sFi|eldName.|
|00002d30| 0a 20 20 20 3d 32 30 0d | 0a 20 20 20 20 27 20 69 |. =20.|. ' i|
|00002d40| 66 20 6e 6f 74 20 66 6f | 72 20 74 68 65 20 63 6f |f not fo|r the co|
|00002d50| 6e 74 61 63 74 20 63 61 | 74 65 67 6f 72 79 2c 20 |ntact ca|tegory, |
|00002d60| 72 65 74 75 72 6e 20 65 | 72 72 6f 72 20 20 20 3d |return e|rror =|
|00002d70| 32 30 0d 0a 20 20 20 20 | 27 49 66 20 4e 6f 74 20 |20.. |'If Not |
|00002d80| 49 73 43 6f 6e 74 61 63 | 74 73 43 61 74 65 67 6f |IsContac|tsCatego|
|00002d90| 72 79 28 63 75 72 2c 20 | 73 43 61 74 29 20 54 68 |ry(cur, |sCat) Th|
|00002da0| 65 6e 09 3d 30 39 0d 0a | 20 20 20 20 20 27 20 20 |en.=09..| ' |
|00002db0| 20 53 65 74 20 63 75 72 | 20 3d 33 44 20 4e 6f 74 | Set cur| =3D Not|
|00002dc0| 68 69 6e 67 0d 0a 20 20 | 20 20 20 20 27 20 20 47 |hing.. | ' G|
|00002dd0| 65 74 41 63 74 69 76 65 | 43 6f 6e 74 61 63 74 49 |etActive|ContactI|
|00002de0| 74 65 6d 20 3d 33 44 20 | 46 61 6c 73 65 0d 0a 20 |tem =3D |False.. |
|00002df0| 20 20 20 20 20 27 20 20 | 45 78 69 74 20 46 75 6e | ' |Exit Fun|
|00002e00| 63 74 69 6f 6e 0d 0a 20 | 20 20 27 45 6e 64 20 49 |ction.. | 'End I|
|00002e10| 66 0d 0a 20 20 3d 32 30 | 0d 0a 09 27 47 65 74 20 |f.. =20|...'Get |
|00002e20| 74 68 65 20 4d 65 20 49 | 74 65 6d 0d 0a 20 20 20 |the Me I|tem.. |
|00002e30| 20 46 69 6c 74 65 72 43 | 6f 6e 74 61 63 74 73 20 | FilterC|ontacts |
|00002e40| 63 75 72 2c 20 53 4e 61 | 6d 65 56 61 6c 75 65 0d |cur, SNa|meValue.|
|00002e50| 0a 20 20 20 3d 32 30 0d | 0a 20 20 20 20 49 66 20 |. =20.|. If |
|00002e60| 63 75 72 2e 52 6f 77 43 | 6f 75 6e 74 20 3c 3d 33 |cur.RowC|ount <=3|
|00002e70| 44 20 30 20 54 68 65 6e | 0d 0a 20 20 20 20 20 20 |D 0 Then|.. |
|00002e80| 20 20 53 65 74 20 63 75 | 72 20 3d 33 44 20 4e 6f | Set cu|r =3D No|
|00002e90| 74 68 69 6e 67 0d 0a 20 | 20 20 20 20 20 20 20 47 |thing.. | G|
|00002ea0| 65 74 4d 65 49 74 65 6d | 20 3d 33 44 20 46 61 6c |etMeItem| =3D Fal|
|00002eb0| 73 65 0d 0a 20 20 20 20 | 20 20 20 20 45 78 69 74 |se.. | Exit|
|00002ec0| 20 46 75 6e 63 74 69 6f | 6e 0d 0a 20 20 20 20 45 | Functio|n.. E|
|00002ed0| 6e 64 20 49 66 0d 0a 0d | 0a 20 20 20 20 27 20 73 |nd If...|. ' s|
|00002ee0| 75 63 63 65 73 73 0d 0a | 20 20 20 20 47 65 74 4d |uccess..| GetM|
|00002ef0| 65 49 74 65 6d 20 3d 33 | 44 20 54 72 75 65 0d 0a |eItem =3|D True..|
|00002f00| 45 6e 64 20 46 75 6e 63 | 74 69 6f 6e 0d 0a 0d 0a |End Func|tion....|
|00002f10| 27 20 63 6f 6e 6e 65 63 | 74 20 74 6f 20 63 6f 6d |' connec|t to com|
|00002f20| 6d 65 6e 63 65 20 61 6e | 64 20 73 65 6e 64 20 74 |mence an|d send t|
|00002f30| 68 65 20 44 44 45 20 22 | 47 65 74 50 72 65 66 65 |he DDE "|GetPrefe|
|00002f40| 72 65 6e 63 65 22 20 63 | 61 6c 6c 0d 0a 53 75 62 |rence" c|all..Sub|
|00002f50| 20 47 65 74 50 72 65 66 | 65 72 65 6e 63 65 49 74 | GetPref|erenceIt|
|00002f60| 65 6d 28 70 69 6d 2c 20 | 73 43 61 74 2c 20 53 4e |em(pim, |sCat, SN|
|00002f70| 61 6d 65 56 61 6c 75 65 | 2c 20 73 46 69 65 6c 64 |ameValue|, sField|
|00002f80| 4e 61 6d 65 29 0d 0a 20 | 20 20 44 69 6d 20 63 6f |Name).. | Dim co|
|00002f90| 6e 76 0d 0a 20 20 20 53 | 65 74 20 63 6f 6e 76 20 |nv.. S|et conv |
|00002fa0| 3d 33 44 20 70 69 6d 2e | 47 65 74 43 6f 6e 76 65 |=3D pim.|GetConve|
|00002fb0| 72 73 61 74 69 6f 6e 28 | 22 63 6f 6d 6d 65 6e 63 |rsation(|"commenc|
|00002fc0| 65 22 2c 20 22 67 65 74 | 64 61 74 61 22 29 0d 0a |e", "get|data")..|
|00002fd0| 20 20 20 44 69 6d 20 73 | 0d 0a 20 20 3d 32 30 0d | Dim s|.. =20.|
|00002fe0| 0a 09 27 20 6c 6f 63 61 | 74 65 20 74 68 65 20 28 |..' loca|te the (|
|00002ff0| 2d 4d 65 2d 29 20 69 74 | 65 6d 0d 0a 09 73 20 3d |-Me-) it|em...s =|
|00003000| 33 44 20 63 6f 6e 76 2e | 52 65 71 75 65 73 74 28 |3D conv.|Request(|
|00003010| 22 5b 47 65 74 50 72 65 | 66 65 72 65 6e 63 65 28 |"[GetPre|ference(|
|00003020| 4d 65 2c 7c 29 5d 22 29 | 0d 0a 0d 0a 09 27 20 75 |Me,|)]")|.....' u|
|00003030| 73 65 20 73 70 6c 69 74 | 20 6d 65 74 68 6f 64 20 |se split| method |
|00003040| 74 6f 20 67 65 74 20 64 | 61 74 61 0d 0a 09 44 69 |to get d|ata...Di|
|00003050| 6d 20 4d 79 41 72 72 61 | 79 20 20 3d 32 30 0d 0a |m MyArra|y =20..|
|00003060| 09 4d 79 41 72 72 61 79 | 20 3d 33 44 20 53 70 6c |.MyArray| =3D Spl|
|00003070| 69 74 28 73 2c 22 7c 22 | 29 0d 0a 09 53 4e 61 6d |it(s,"|"|)...SNam|
|00003080| 65 56 61 6c 75 65 20 3d | 33 44 20 4d 79 41 72 72 |eValue =|3D MyArr|
|00003090| 61 79 28 31 29 0d 0a 09 | 27 20 65 6e 64 20 28 2d |ay(1)...|' end (-|
|000030a0| 4d 65 2d 29 0d 0a 20 20 | 3d 32 30 0d 0a 45 6e 64 |Me-).. |=20..End|
|000030b0| 20 53 75 62 0d 0a 0d 0a | 27 20 63 6f 6e 6e 65 63 | Sub....|' connec|
|000030c0| 74 20 74 6f 20 63 6f 6d | 6d 65 6e 63 65 20 61 6e |t to com|mence an|
|000030d0| 64 20 66 69 6c 74 65 72 | 20 66 6f 72 20 74 68 65 |d filter| for the|
|000030e0| 20 61 63 74 69 76 65 20 | 69 74 65 6d 0d 0a 46 75 | active |item..Fu|
|000030f0| 6e 63 74 69 6f 6e 20 43 | 6f 6e 6e 65 63 74 44 42 |nction C|onnectDB|
|00003100| 28 29 0d 0a 20 20 20 53 | 65 74 20 43 6f 6e 6e 65 |().. S|et Conne|
|00003110| 63 74 44 42 20 3d 33 44 | 20 77 69 6e 64 6f 77 2e |ctDB =3D| window.|
|00003120| 65 78 74 65 72 6e 61 6c | 2e 44 61 74 61 62 61 73 |external|.Databas|
|00003130| 65 0d 0a 20 20 20 27 53 | 65 74 20 43 6f 6e 6e 65 |e.. 'S|et Conne|
|00003140| 63 74 44 42 20 3d 33 44 | 20 43 72 65 61 74 65 4f |ctDB =3D| CreateO|
|00003150| 62 6a 65 63 74 28 22 43 | 4f 4d 4d 45 4e 43 45 2e |bject("C|OMMENCE.|
|00003160| 44 42 22 29 0d 0a 45 6e | 64 20 46 75 6e 63 74 69 |DB")..En|d Functi|
|00003170| 6f 6e 0d 0a 0d 0a 27 20 | 67 65 74 20 63 75 72 73 |on....' |get curs|
|00003180| 6f 72 20 66 6f 72 20 74 | 68 65 20 4f 75 74 6c 6f |or for t|he Outlo|
|00003190| 6f 6b 20 41 64 72 65 73 | 73 20 62 6f 6f 6b 20 70 |ok Adres|s book p|
|000031a0| 72 65 66 65 72 65 6e 63 | 65 0d 0a 46 75 6e 63 74 |referenc|e..Funct|
|000031b0| 69 6f 6e 20 47 65 74 43 | 6f 6e 74 61 63 74 73 28 |ion GetC|ontacts(|
|000031c0| 70 69 6d 29 0d 0a 20 20 | 20 27 20 67 65 74 20 63 |pim).. | ' get c|
|000031d0| 75 72 73 6f 72 20 66 6f | 72 20 4f 75 6c 6f 6f 6b |ursor fo|r Oulook|
|000031e0| 20 41 42 0d 0a 0d 0a 20 | 20 20 44 69 6d 20 69 67 | AB.... | Dim ig|
|000031f0| 6e 6f 72 65 73 79 6e 63 | 0d 0a 20 20 20 69 67 6e |noresync|.. ign|
|00003200| 6f 72 65 73 79 6e 63 20 | 3d 33 44 20 35 31 32 20 |oresync |=3D 512 |
|00003210| 27 43 4d 43 5f 46 4c 41 | 47 5f 49 47 4e 4f 52 45 |'CMC_FLA|G_IGNORE|
|00003220| 53 59 4e 43 43 4f 4e 44 | 49 54 49 4f 4e 0d 0a 0d |SYNCCOND|ITION...|
|00003230| 0a 20 20 20 44 69 6d 20 | 63 6f 6e 74 61 63 74 73 |. Dim |contacts|
|00003240| 0d 0a 20 20 20 53 65 74 | 20 63 6f 6e 74 61 63 74 |.. Set| contact|
|00003250| 73 20 3d 33 44 20 70 69 | 6d 2e 47 65 74 43 75 72 |s =3D pi|m.GetCur|
|00003260| 73 6f 72 28 37 2c 20 22 | 22 2c 20 69 67 6e 6f 72 |sor(7, "|", ignor|
|00003270| 65 73 79 6e 63 29 0d 0a | 20 20 20 53 65 74 20 47 |esync)..| Set G|
|00003280| 65 74 43 6f 6e 74 61 63 | 74 73 20 3d 33 44 20 63 |etContac|ts =3D c|
|00003290| 6f 6e 74 61 63 74 73 0d | 0a 45 6e 64 20 46 75 6e |ontacts.|.End Fun|
|000032a0| 63 74 69 6f 6e 0d 0a 0d | 0a 27 20 67 65 74 20 63 |ction...|.' get c|
|000032b0| 75 72 73 6f 72 20 66 6f | 72 20 74 68 65 20 4f 75 |ursor fo|r the Ou|
|000032c0| 74 6c 6f 6f 6b 20 41 64 | 72 65 73 73 20 62 6f 6f |tlook Ad|ress boo|
|000032d0| 6b 20 70 72 65 66 65 72 | 65 6e 63 65 0d 0a 46 75 |k prefer|ence..Fu|
|000032e0| 6e 63 74 69 6f 6e 20 47 | 65 74 41 63 63 6f 75 6e |nction G|etAccoun|
|000032f0| 74 73 28 70 69 6d 29 0d | 0a 20 20 20 27 20 67 65 |ts(pim).|. ' ge|
|00003300| 74 20 63 75 72 73 6f 72 | 20 66 6f 72 20 4f 75 6c |t cursor| for Oul|
|00003310| 6f 6f 6b 20 41 42 0d 0a | 0d 0a 20 20 20 44 69 6d |ook AB..|.. Dim|
|00003320| 20 69 67 6e 6f 72 65 73 | 79 6e 63 0d 0a 20 20 20 | ignores|ync.. |
|00003330| 69 67 6e 6f 72 65 73 79 | 6e 63 20 3d 33 44 20 35 |ignoresy|nc =3D 5|
|00003340| 31 32 20 27 43 4d 43 5f | 46 4c 41 47 5f 49 47 4e |12 'CMC_|FLAG_IGN|
|00003350| 4f 52 45 53 59 4e 43 43 | 4f 4e 44 49 54 49 4f 4e |ORESYNCC|ONDITION|
|00003360| 0d 0a 0d 0a 20 20 20 44 | 69 6d 20 61 63 63 6f 75 |.... D|im accou|
|00003370| 6e 74 73 0d 0a 20 20 20 | 53 65 74 20 61 63 63 6f |nts.. |Set acco|
|00003380| 75 6e 74 73 20 3d 33 44 | 20 70 69 6d 2e 47 65 74 |unts =3D| pim.Get|
|00003390| 43 75 72 73 6f 72 28 37 | 2c 20 22 22 2c 20 69 67 |Cursor(7|, "", ig|
|000033a0| 6e 6f 72 65 73 79 6e 63 | 29 0d 0a 20 20 20 53 65 |noresync|).. Se|
|000033b0| 74 20 47 65 74 41 63 63 | 6f 75 6e 74 73 20 3d 33 |t GetAcc|ounts =3|
|000033c0| 44 20 61 63 63 6f 75 6e | 74 73 0d 0a 45 6e 64 20 |D accoun|ts..End |
|000033d0| 46 75 6e 63 74 69 6f 6e | 0d 0a 0d 0a 0d 0a 27 20 |Function|......' |
|000033e0| 63 6f 6e 6e 65 63 74 20 | 74 6f 20 63 6f 6d 6d 65 |connect |to comme|
|000033f0| 6e 63 65 20 61 6e 64 20 | 73 65 6e 64 20 74 68 65 |nce and |send the|
|00003400| 20 44 44 45 20 22 47 65 | 74 41 63 74 69 76 65 49 | DDE "Ge|tActiveI|
|00003410| 74 65 6d 22 20 63 61 6c | 6c 0d 0a 53 75 62 20 47 |tem" cal|l..Sub G|
|00003420| 65 74 43 75 72 72 65 6e | 74 49 74 65 6d 28 70 69 |etCurren|tItem(pi|
|00003430| 6d 2c 20 73 43 61 74 2c | 20 53 4e 61 6d 65 56 61 |m, sCat,| SNameVa|
|00003440| 6c 75 65 2c 20 73 46 69 | 65 6c 64 4e 61 6d 65 29 |lue, sFi|eldName)|
|00003450| 0d 0a 20 20 20 44 69 6d | 20 63 6f 6e 76 0d 0a 20 |.. Dim| conv.. |
|00003460| 20 20 53 65 74 20 63 6f | 6e 76 20 3d 33 44 20 70 | Set co|nv =3D p|
|00003470| 69 6d 2e 47 65 74 43 6f | 6e 76 65 72 73 61 74 69 |im.GetCo|nversati|
|00003480| 6f 6e 28 22 63 6f 6d 6d | 65 6e 63 65 22 2c 20 22 |on("comm|ence", "|
|00003490| 67 65 74 64 61 74 61 22 | 29 20 20 3d 32 30 0d 0a |getdata"|) =20..|
|000034a0| 20 20 20 44 69 6d 20 73 | 3d 32 30 0d 0a 20 20 20 | Dim s|=20.. |
|000034b0| 27 20 74 68 69 73 20 77 | 69 6c 6c 20 6d 61 6b 65 |' this w|ill make|
|000034c0| 20 74 68 65 20 68 65 61 | 64 65 72 20 76 69 65 77 | the hea|der view|
|000034d0| 20 74 68 65 20 61 63 74 | 69 76 65 20 76 69 65 77 | the act|ive view|
|000034e0| 20 65 76 65 6e 20 74 68 | 6f 75 67 68 20 77 65 27 | even th|ough we'|
|000034f0| 72 65 0d 0a 20 20 20 27 | 72 65 66 65 72 65 6e 63 |re.. '|referenc|
|00003500| 69 6e 67 20 74 68 65 20 | 6d 75 6c 74 69 76 69 65 |ing the |multivie|
|00003510| 77 20 20 3d 32 30 0d 0a | 20 20 20 63 6f 6e 76 2e |w =20..| conv.|
|00003520| 45 78 65 63 75 74 65 20 | 22 5b 53 68 6f 77 56 69 |Execute |"[ShowVi|
|00003530| 65 77 28 22 22 43 6f 6e | 74 61 63 74 20 4d 61 6e |ew(""Con|tact Man|
|00003540| 61 67 65 72 22 22 2c 20 | 30 29 5d 22 20 20 3d 32 |ager"", |0)]" =2|
|00003550| 30 0d 0a 20 20 20 73 20 | 3d 33 44 20 63 6f 6e 76 |0.. s |=3D conv|
|00003560| 2e 52 65 71 75 65 73 74 | 28 22 5b 47 65 74 41 63 |.Request|("[GetAc|
|00003570| 74 69 76 65 56 69 65 77 | 49 6e 66 6f 28 7c 29 5d |tiveView|Info(|)]|
|00003580| 22 29 0d 0a 0d 0a 20 20 | 20 27 20 75 73 65 20 73 |").... | ' use s|
|00003590| 70 6c 69 74 20 6d 65 74 | 68 6f 64 20 74 6f 20 67 |plit met|hod to g|
|000035a0| 65 74 20 64 61 74 61 0d | 0a 20 20 20 44 69 6d 20 |et data.|. Dim |
|000035b0| 4d 79 41 72 72 61 79 20 | 20 3d 32 30 0d 0a 20 20 |MyArray | =20.. |
|000035c0| 20 4d 79 41 72 72 61 79 | 20 3d 33 44 20 53 70 6c | MyArray| =3D Spl|
|000035d0| 69 74 28 73 2c 20 22 7c | 22 29 0d 0a 20 20 3d 32 |it(s, "||").. =2|
|000035e0| 30 0d 0a 20 20 20 73 43 | 61 74 20 3d 33 44 20 4d |0.. sC|at =3D M|
|000035f0| 79 41 72 72 61 79 28 32 | 29 0d 0a 20 20 20 53 4e |yArray(2|).. SN|
|00003600| 61 6d 65 56 61 6c 75 65 | 20 3d 33 44 20 4d 79 41 |ameValue| =3D MyA|
|00003610| 72 72 61 79 28 33 29 0d | 0a 20 20 20 20 20 20 20 |rray(3).|. |
|00003620| 20 3d 32 30 0d 0a 20 20 | 20 53 46 69 65 6c 64 4e | =20.. | SFieldN|
|00003630| 61 6d 65 20 3d 33 44 20 | 4d 79 41 72 72 61 79 28 |ame =3D |MyArray(|
|00003640| 34 29 0d 0a 45 6e 64 20 | 53 75 62 0d 0a 0d 0a 27 |4)..End |Sub....'|
|00003650| 20 66 69 6c 74 65 72 20 | 74 68 65 20 63 6f 6e 74 | filter |the cont|
|00003660| 61 63 74 73 20 74 6f 20 | 74 68 65 20 73 69 6e 67 |acts to |the sing|
|00003670| 6c 65 20 68 69 67 68 2d | 6c 69 67 68 74 65 64 20 |le high-|lighted |
|00003680| 69 74 65 6d 0d 0a 53 75 | 62 20 46 69 6c 74 65 72 |item..Su|b Filter|
|00003690| 43 6f 6e 74 61 63 74 73 | 28 63 75 72 2c 20 53 4e |Contacts|(cur, SN|
|000036a0| 61 6d 65 56 61 6c 75 65 | 29 0d 0a 20 20 20 44 69 |ameValue|).. Di|
|000036b0| 6d 20 73 4e 61 6d 65 43 | 6f 6c 75 6d 6e 0d 0a 20 |m sNameC|olumn.. |
|000036c0| 20 20 44 69 6d 20 71 72 | 73 2c 20 63 6f 6c 69 64 | Dim qr|s, colid|
|000036d0| 0d 0a 20 20 20 44 69 6d | 20 75 73 65 66 69 65 6c |.. Dim| usefiel|
|000036e0| 64 6e 61 6d 65 0d 0a 20 | 20 20 75 73 65 66 69 65 |dname.. | usefie|
|000036f0| 6c 64 6e 61 6d 65 20 3d | 33 44 20 31 20 27 43 4d |ldname =|3D 1 'CM|
|00003700| 43 5f 46 4c 41 47 5f 46 | 49 45 4c 44 5f 4e 41 4d |C_FLAG_F|IELD_NAM|
|00003710| 45 0d 0a 20 20 20 63 75 | 72 2e 53 65 65 6b 52 6f |E.. cu|r.SeekRo|
|00003720| 77 20 30 2c 20 30 0d 0a | 0d 0a 20 20 20 53 65 74 |w 0, 0..|.. Set|
|00003730| 20 71 72 73 20 3d 33 44 | 20 63 75 72 2e 47 65 74 | qrs =3D| cur.Get|
|00003740| 51 75 65 72 79 52 6f 77 | 53 65 74 28 31 2c 20 30 |QueryRow|Set(1, 0|
|00003750| 29 0d 0a 20 20 20 63 6f | 6c 69 64 20 3d 33 44 20 |).. co|lid =3D |
|00003760| 71 72 73 2e 47 65 74 43 | 6f 6c 75 6d 6e 49 6e 64 |qrs.GetC|olumnInd|
|00003770| 65 78 28 22 46 69 6c 65 | 20 41 73 22 2c 20 30 29 |ex("File| As", 0)|
|00003780| 0d 0a 20 20 3d 32 30 0d | 0a 20 20 20 73 4e 61 6d |.. =20.|. sNam|
|00003790| 65 43 6f 6c 75 6d 6e 20 | 3d 33 44 20 71 72 73 2e |eColumn |=3D qrs.|
|000037a0| 67 65 74 63 6f 6c 75 6d | 6e 6c 61 62 65 6c 28 63 |getcolum|nlabel(c|
|000037b0| 6f 6c 69 64 2c 20 75 73 | 65 66 69 65 6c 64 6e 61 |olid, us|efieldna|
|000037c0| 6d 65 29 20 20 3d 32 30 | 0d 0a 20 20 20 64 69 6d |me) =20|.. dim|
|000037d0| 20 73 46 69 6c 74 65 72 | 0d 0a 20 20 20 73 46 69 | sFilter|.. sFi|
|000037e0| 6c 74 65 72 20 3d 33 44 | 20 22 5b 56 69 65 77 46 |lter =3D| "[ViewF|
|000037f0| 69 6c 74 65 72 28 31 2c | 20 46 2c 2c 20 22 22 22 |ilter(1,| F,, """|
|00003800| 20 26 20 73 4e 61 6d 65 | 43 6f 6c 75 6d 6e 20 26 | & sName|Column &|
|00003810| 20 22 22 22 2c 20 45 71 | 75 61 6c 20 54 6f 2c 20 | """, Eq|ual To, |
|00003820| 3d 0d 0a 22 22 22 20 26 | 20 53 4e 61 6d 65 56 61 |=..""" &| SNameVa|
|00003830| 6c 75 65 20 26 20 22 22 | 22 2c 29 5d 22 20 20 3d |lue & ""|",)]" =|
|00003840| 32 30 0d 0a 20 20 20 63 | 75 72 2e 53 65 74 46 69 |20.. c|ur.SetFi|
|00003850| 6c 74 65 72 20 73 46 69 | 6c 74 65 72 2c 20 30 20 |lter sFi|lter, 0 |
|00003860| 20 3d 32 30 0d 0a 45 6e | 64 20 53 75 62 0d 0a 0d | =20..En|d Sub...|
|00003870| 0a 46 75 6e 63 74 69 6f | 6e 20 49 73 43 6f 6e 74 |.Functio|n IsCont|
|00003880| 61 63 74 73 43 61 74 65 | 67 6f 72 79 28 63 75 72 |actsCate|gory(cur|
|00003890| 2c 20 73 43 61 74 29 0d | 0a 20 20 27 20 63 6f 6d |, sCat).|. ' com|
|000038a0| 70 61 72 65 20 74 68 65 | 20 63 61 74 65 67 6f 72 |pare the| categor|
|000038b0| 79 20 6e 61 6d 65 20 6f | 66 20 74 68 65 20 4f 75 |y name o|f the Ou|
|000038c0| 74 6c 6f 6f 6b 20 41 42 | 20 74 6f 20 74 68 65 0d |tlook AB| to the.|
|000038d0| 0a 20 20 27 20 63 61 74 | 65 67 6f 72 79 20 6e 61 |. ' cat|egory na|
|000038e0| 6d 65 20 6f 66 20 74 68 | 65 20 61 63 74 69 76 65 |me of th|e active|
|000038f0| 20 69 74 65 6d 0d 0a 20 | 20 49 66 20 63 75 72 2e | item.. | If cur.|
|00003900| 43 61 74 65 67 6f 72 79 | 20 3d 33 44 20 73 43 61 |Category| =3D sCa|
|00003910| 74 20 54 68 65 6e 0d 0a | 20 20 20 20 20 49 73 43 |t Then..| IsC|
|00003920| 6f 6e 74 61 63 74 73 43 | 61 74 65 67 6f 72 79 20 |ontactsC|ategory |
|00003930| 3d 33 44 20 54 72 75 65 | 0d 0a 20 20 45 6c 73 65 |=3D True|.. Else|
|00003940| 0d 0a 20 20 20 20 20 49 | 73 43 6f 6e 74 61 63 74 |.. I|sContact|
|00003950| 73 43 61 74 65 67 6f 72 | 79 20 3d 33 44 20 46 61 |sCategor|y =3D Fa|
|00003960| 6c 73 65 0d 0a 20 20 45 | 6e 64 20 49 66 0d 0a 20 |lse.. E|nd If.. |
|00003970| 20 3d 32 30 0d 0a 45 6e | 64 20 46 75 6e 63 74 69 | =20..En|d Functi|
|00003980| 6f 6e 0d 0a 0d 0a 46 75 | 6e 63 74 69 6f 6e 20 43 |on....Fu|nction C|
|00003990| 72 65 61 74 65 4c 69 6e | 6b 28 70 4d 75 6c 74 69 |reateLin|k(pMulti|
|000039a0| 56 69 65 77 4e 61 6d 65 | 29 0d 0a 27 20 74 68 69 |ViewName|)..' thi|
|000039b0| 73 20 66 75 6e 63 74 69 | 6f 6e 20 77 69 6c 6c 20 |s functi|on will |
|000039c0| 62 75 69 6c 64 20 68 65 | 6c 70 20 62 75 69 6c 64 |build he|lp build|
|000039d0| 20 61 20 6c 69 6e 6b 20 | 74 6f 20 74 68 65 20 70 | a link |to the p|
|000039e0| 61 72 65 6e 74 20 72 65 | 63 6f 72 64 20 6f 66 20 |arent re|cord of |
|000039f0| 61 20 3d 0d 0a 6d 75 6c | 74 69 76 69 65 77 0d 0a |a =..mul|tiview..|
|00003a00| 27 20 77 68 65 6e 20 74 | 68 65 20 75 73 65 72 20 |' when t|he user |
|00003a10| 75 73 65 73 20 74 68 65 | 20 61 64 64 20 69 74 65 |uses the| add ite|
|00003a20| 6d 20 63 6c 69 63 6b 20 | 6d 65 6e 75 0d 0a 0d 0a |m click |menu....|
|00003a30| 20 43 6f 6e 73 74 20 73 | 44 65 6c 69 6d 20 3d 33 | Const s|Delim =3|
|00003a40| 44 20 22 7c 22 20 20 27 | 20 47 65 74 41 63 74 69 |D "|" '| GetActi|
|00003a50| 76 65 56 69 65 77 20 44 | 65 6c 69 6d 69 74 65 72 |veView D|elimiter|
|00003a60| 0d 0a 20 43 6f 6e 73 74 | 20 63 44 65 6c 69 6d 20 |.. Const| cDelim |
|00003a70| 3d 33 44 20 22 3e 22 20 | 20 27 20 43 6c 61 72 69 |=3D ">" | ' Clari|
|00003a80| 66 79 20 44 65 6c 69 6d | 69 74 65 72 20 2d 20 74 |fy Delim|iter - t|
|00003a90| 68 69 73 20 63 61 6e 20 | 63 68 61 6e 67 65 20 66 |his can |change f|
|00003aa0| 6f 72 20 65 61 63 68 20 | 3d 0d 0a 63 61 74 65 67 |or each |=..categ|
|00003ab0| 6f 72 79 0d 0a 20 44 69 | 6d 20 73 56 69 65 77 0d |ory.. Di|m sView.|
|00003ac0| 0a 20 44 69 6d 20 4d 79 | 41 72 72 61 79 0d 0a 20 |. Dim My|Array.. |
|00003ad0| 44 69 6d 20 73 49 74 65 | 6d 0d 0a 20 44 69 6d 20 |Dim sIte|m.. Dim |
|00003ae0| 73 43 6c 61 72 69 66 79 | 0d 0a 20 44 69 6d 20 43 |sClarify|.. Dim C|
|00003af0| 6f 6d 6d 65 6e 63 65 44 | 42 0d 0a 20 20 53 65 74 |ommenceD|B.. Set|
|00003b00| 20 43 6f 6d 6d 65 6e 63 | 65 44 42 20 3d 33 44 20 | Commenc|eDB =3D |
|00003b10| 43 72 65 61 74 65 4f 62 | 6a 65 63 74 28 22 43 6f |CreateOb|ject("Co|
|00003b20| 6d 6d 65 6e 63 65 2e 44 | 42 22 29 0d 0a 20 44 69 |mmence.D|B").. Di|
|00003b30| 6d 20 43 6f 6e 76 0d 0a | 20 20 53 65 74 20 43 6f |m Conv..| Set Co|
|00003b40| 6e 76 20 3d 33 44 20 43 | 6f 6d 6d 65 6e 63 65 44 |nv =3D C|ommenceD|
|00003b50| 42 2e 47 65 74 43 6f 6e | 76 65 72 73 61 74 69 6f |B.GetCon|versatio|
|00003b60| 6e 28 22 43 6f 6d 6d 65 | 6e 63 65 22 2c 20 22 47 |n("Comme|nce", "G|
|00003b70| 65 74 44 61 74 61 22 29 | 0d 0a 20 44 69 6d 20 73 |etData")|.. Dim s|
|00003b80| 0d 0a 20 20 73 20 3d 33 | 44 20 43 6f 6e 76 2e 52 |.. s =3|D Conv.R|
|00003b90| 65 71 75 65 73 74 28 22 | 5b 43 6c 61 72 69 66 79 |equest("|[Clarify|
|00003ba0| 49 74 65 6d 4e 61 6d 65 | 73 28 54 72 75 65 29 5d |ItemName|s(True)]|
|00003bb0| 22 29 0d 0a 0d 0a 20 20 | 20 20 27 20 74 68 69 73 |").... | ' this|
|00003bc0| 20 77 69 6c 6c 20 6d 61 | 6b 65 20 74 68 65 20 68 | will ma|ke the h|
|00003bd0| 65 61 64 65 72 20 76 69 | 65 77 20 74 68 65 20 61 |eader vi|ew the a|
|00003be0| 63 74 69 76 65 20 76 69 | 65 77 20 65 76 65 6e 20 |ctive vi|ew even |
|00003bf0| 74 68 6f 75 67 68 20 77 | 65 27 72 65 0d 0a 09 27 |though w|e're...'|
|00003c00| 72 65 66 65 72 65 6e 63 | 69 6e 67 20 74 68 65 20 |referenc|ing the |
|00003c10| 6d 75 6c 74 69 76 69 65 | 77 0d 0a 20 20 20 20 43 |multivie|w.. C|
|00003c20| 6f 6e 76 2e 45 78 65 63 | 75 74 65 20 22 5b 53 68 |onv.Exec|ute "[Sh|
|00003c30| 6f 77 56 69 65 77 28 22 | 22 22 2b 70 4d 75 6c 74 |owView("|""+pMult|
|00003c40| 69 56 69 65 77 4e 61 6d | 65 2b 22 22 22 2c 20 30 |iViewNam|e+""", 0|
|00003c50| 29 5d 22 0d 0a 20 20 20 | 20 73 56 69 65 77 20 3d |)]".. | sView =|
|00003c60| 33 44 20 43 6f 6e 76 2e | 52 65 71 75 65 73 74 28 |3D Conv.|Request(|
|00003c70| 22 5b 47 65 74 41 63 74 | 69 76 65 56 69 65 77 49 |"[GetAct|iveViewI|
|00003c80| 6e 66 6f 28 22 22 22 2b | 73 44 65 6c 69 6d 2b 22 |nfo("""+|sDelim+"|
|00003c90| 22 22 29 5d 22 29 0d 0a | 20 20 20 20 4d 79 41 72 |"")]")..| MyAr|
|00003ca0| 72 61 79 20 3d 33 44 20 | 53 70 6c 69 74 28 73 56 |ray =3D |Split(sV|
|00003cb0| 69 65 77 2c 20 73 44 65 | 6c 69 6d 29 0d 0a 20 20 |iew, sDe|lim).. |
|00003cc0| 20 20 73 56 69 65 77 20 | 3d 33 44 20 4d 79 41 72 | sView |=3D MyAr|
|00003cd0| 72 61 79 28 33 29 0d 0a | 0d 0a 20 20 20 20 27 20 |ray(3)..|.. ' |
|00003ce0| 77 65 20 6e 65 65 64 20 | 74 6f 20 70 61 72 73 65 |we need |to parse|
|00003cf0| 20 6f 75 74 20 74 68 65 | 20 72 65 73 75 6c 74 73 | out the| results|
|00003d00| 0d 0a 20 20 20 20 27 20 | 67 65 74 20 74 68 65 20 |.. ' |get the |
|00003d10| 69 74 65 6d 20 6e 61 6d | 65 20 66 69 72 73 74 0d |item nam|e first.|
|00003d20| 0a 20 20 20 20 4d 79 41 | 72 72 61 79 20 3d 33 44 |. MyA|rray =3D|
|00003d30| 20 53 70 6c 69 74 28 73 | 56 69 65 77 2c 20 63 44 | Split(s|View, cD|
|00003d40| 65 6c 69 6d 29 3d 32 30 | 0d 0a 20 43 72 65 61 74 |elim)=20|.. Creat|
|00003d50| 65 4c 69 6e 6b 20 3d 33 | 44 20 4d 79 41 72 72 61 |eLink =3|D MyArra|
|00003d60| 79 0d 0a 45 6e 64 20 46 | 75 6e 63 74 69 6f 6e 0d |y..End F|unction.|
|00003d70| 0a 0d 0a 0d 0a 27 20 72 | 65 74 75 72 6e 20 74 68 |.....' r|eturn th|
|00003d80| 65 20 66 69 65 6c 64 20 | 76 61 6c 75 65 20 66 6f |e field |value fo|
|00003d90| 72 20 74 68 65 20 22 5a | 49 50 22 20 66 69 65 6c |r the "Z|IP" fiel|
|00003da0| 64 0d 0a 46 75 6e 63 74 | 69 6f 6e 20 47 65 74 5a |d..Funct|ion GetZ|
|00003db0| 69 70 56 61 6c 75 65 28 | 71 72 73 29 3d 32 30 0d |ipValue(|qrs)=20.|
|00003dc0| 0a 20 20 44 69 6d 20 69 | 64 78 0d 0a 20 20 69 64 |. Dim i|dx.. id|
|00003dd0| 78 20 3d 33 44 20 71 72 | 73 2e 47 65 74 43 6f 6c |x =3D qr|s.GetCol|
|00003de0| 75 6d 6e 49 6e 64 65 78 | 28 22 42 75 73 69 6e 65 |umnIndex|("Busine|
|00003df0| 73 73 20 5a 69 70 22 2c | 20 30 29 0d 0a 20 3d 32 |ss Zip",| 0).. =2|
|00003e00| 30 0d 0a 20 20 44 69 6d | 20 73 0d 0a 20 20 73 20 |0.. Dim| s.. s |
|00003e10| 3d 33 44 20 22 22 0d 0a | 20 3d 32 30 0d 0a 20 20 |=3D ""..| =20.. |
|00003e20| 49 66 20 69 64 78 20 3e | 3d 33 44 20 30 20 54 68 |If idx >|=3D 0 Th|
|00003e30| 65 6e 0d 0a 20 20 20 20 | 73 20 3d 33 44 20 71 72 |en.. |s =3D qr|
|00003e40| 73 2e 47 65 74 52 6f 77 | 56 61 6c 75 65 28 30 2c |s.GetRow|Value(0,|
|00003e50| 20 69 64 78 2c 20 30 29 | 0d 0a 20 20 45 6e 64 20 | idx, 0)|.. End |
|00003e60| 49 66 20 3d 32 30 0d 0a | 20 20 47 65 74 5a 69 70 |If =20..| GetZip|
|00003e70| 56 61 6c 75 65 20 3d 33 | 44 20 73 0d 0a 45 6e 64 |Value =3|D s..End|
|00003e80| 20 46 75 6e 63 74 69 6f | 6e 0d 0a 0d 0a 27 20 72 | Functio|n....' r|
|00003e90| 65 74 75 72 6e 20 74 68 | 65 20 66 69 65 6c 64 20 |eturn th|e field |
|00003ea0| 76 61 6c 75 65 20 66 6f | 72 20 74 68 65 20 22 41 |value fo|r the "A|
|00003eb0| 64 64 72 65 73 73 22 20 | 66 69 65 6c 64 0d 0a 46 |ddress" |field..F|
|00003ec0| 75 6e 63 74 69 6f 6e 20 | 47 65 74 41 64 64 72 65 |unction |GetAddre|
|00003ed0| 73 73 56 61 6c 75 65 28 | 71 72 73 29 0d 0a 20 20 |ssValue(|qrs).. |
|00003ee0| 44 69 6d 20 69 64 78 0d | 0a 20 20 69 64 78 20 3d |Dim idx.|. idx =|
|00003ef0| 33 44 20 71 72 73 2e 47 | 65 74 43 6f 6c 75 6d 6e |3D qrs.G|etColumn|
|00003f00| 49 6e 64 65 78 28 22 42 | 75 73 69 6e 65 73 73 20 |Index("B|usiness |
|00003f10| 53 74 72 65 65 74 22 2c | 20 30 29 0d 0a 20 20 44 |Street",| 0).. D|
|00003f20| 69 6d 20 73 0d 0a 20 20 | 73 20 3d 33 44 20 22 22 |im s.. |s =3D ""|
|00003f30| 0d 0a 20 20 49 66 20 69 | 64 78 20 3e 3d 33 44 20 |.. If i|dx >=3D |
|00003f40| 30 20 54 68 65 6e 0d 0a | 20 20 20 20 73 20 3d 33 |0 Then..| s =3|
|00003f50| 44 20 71 72 73 2e 47 65 | 74 52 6f 77 56 61 6c 75 |D qrs.Ge|tRowValu|
|00003f60| 65 28 30 2c 20 69 64 78 | 2c 20 30 29 0d 0a 20 20 |e(0, idx|, 0).. |
|00003f70| 45 6e 64 20 49 66 0d 0a | 20 20 20 3d 32 30 0d 0a |End If..| =20..|
|00003f80| 20 20 47 65 74 41 64 64 | 72 65 73 73 56 61 6c 75 | GetAdd|ressValu|
|00003f90| 65 20 3d 33 44 20 73 0d | 0a 45 6e 64 20 46 75 6e |e =3D s.|.End Fun|
|00003fa0| 63 74 69 6f 6e 0d 0a 0d | 0a 27 20 72 65 74 75 72 |ction...|.' retur|
|00003fb0| 6e 20 74 68 65 20 66 69 | 65 6c 64 20 76 61 6c 75 |n the fi|eld valu|
|00003fc0| 65 20 66 6f 72 20 74 68 | 65 20 22 43 69 74 79 22 |e for th|e "City"|
|00003fd0| 20 66 69 65 6c 64 0d 0a | 46 75 6e 63 74 69 6f 6e | field..|Function|
|00003fe0| 20 47 65 74 43 69 74 79 | 56 61 6c 75 65 28 71 72 | GetCity|Value(qr|
|00003ff0| 73 29 0d 0a 20 3d 32 30 | 0d 0a 20 20 44 69 6d 20 |s).. =20|.. Dim |
|00004000| 69 64 78 0d 0a 20 20 69 | 64 78 20 3d 33 44 20 71 |idx.. i|dx =3D q|
|00004010| 72 73 2e 47 65 74 43 6f | 6c 75 6d 6e 49 6e 64 65 |rs.GetCo|lumnInde|
|00004020| 78 28 22 42 75 73 69 6e | 65 73 73 20 43 69 74 79 |x("Busin|ess City|
|00004030| 22 2c 20 30 29 0d 0a 0d | 0a 20 20 44 69 6d 20 73 |", 0)...|. Dim s|
|00004040| 0d 0a 20 20 73 20 3d 33 | 44 20 71 72 73 2e 47 65 |.. s =3|D qrs.Ge|
|00004050| 74 52 6f 77 56 61 6c 75 | 65 28 30 2c 20 69 64 78 |tRowValu|e(0, idx|
|00004060| 2c 20 30 29 0d 0a 20 20 | 47 65 74 43 69 74 79 56 |, 0).. |GetCityV|
|00004070| 61 6c 75 65 20 3d 33 44 | 20 73 0d 0a 45 6e 64 20 |alue =3D| s..End |
|00004080| 46 75 6e 63 74 69 6f 6e | 0d 0a 0d 0a 27 20 72 65 |Function|....' re|
|00004090| 74 75 72 6e 20 74 68 65 | 20 66 69 65 6c 64 20 76 |turn the| field v|
|000040a0| 61 6c 75 65 20 66 6f 72 | 20 74 68 65 20 22 53 74 |alue for| the "St|
|000040b0| 61 74 65 22 20 66 69 65 | 6c 64 0d 0a 46 75 6e 63 |ate" fie|ld..Func|
|000040c0| 74 69 6f 6e 20 47 65 74 | 53 74 61 74 65 56 61 6c |tion Get|StateVal|
|000040d0| 75 65 28 71 72 73 29 3d | 32 30 0d 0a 20 20 44 69 |ue(qrs)=|20.. Di|
|000040e0| 6d 20 69 64 78 0d 0a 20 | 20 69 64 78 20 3d 33 44 |m idx.. | idx =3D|
|000040f0| 20 71 72 73 2e 47 65 74 | 43 6f 6c 75 6d 6e 49 6e | qrs.Get|ColumnIn|
|00004100| 64 65 78 28 22 42 75 73 | 69 6e 65 73 73 20 53 74 |dex("Bus|iness St|
|00004110| 61 74 65 22 2c 20 30 29 | 0d 0a 0d 0a 20 20 44 69 |ate", 0)|.... Di|
|00004120| 6d 20 73 0d 0a 20 20 73 | 20 3d 33 44 20 71 72 73 |m s.. s| =3D qrs|
|00004130| 2e 47 65 74 52 6f 77 56 | 61 6c 75 65 28 30 2c 20 |.GetRowV|alue(0, |
|00004140| 69 64 78 2c 20 30 29 0d | 0a 20 20 47 65 74 53 74 |idx, 0).|. GetSt|
|00004150| 61 74 65 56 61 6c 75 65 | 20 3d 33 44 20 73 0d 0a |ateValue| =3D s..|
|00004160| 45 6e 64 20 46 75 6e 63 | 74 69 6f 6e 0d 0a 0d 0a |End Func|tion....|
|00004170| 27 20 72 65 74 75 72 6e | 20 74 68 65 20 66 69 65 |' return| the fie|
|00004180| 6c 64 20 76 61 6c 75 65 | 20 66 6f 72 20 74 68 65 |ld value| for the|
|00004190| 20 22 43 6f 75 6e 74 72 | 79 22 20 66 69 65 6c 64 | "Countr|y" field|
|000041a0| 0d 0a 46 75 6e 63 74 69 | 6f 6e 20 47 65 74 43 6f |..Functi|on GetCo|
|000041b0| 75 6e 74 72 79 56 61 6c | 75 65 28 71 72 73 29 20 |untryVal|ue(qrs) |
|000041c0| 20 3d 32 30 0d 0a 20 20 | 44 69 6d 20 69 64 78 0d | =20.. |Dim idx.|
|000041d0| 0a 20 20 69 64 78 20 3d | 33 44 20 71 72 73 2e 47 |. idx =|3D qrs.G|
|000041e0| 65 74 43 6f 6c 75 6d 6e | 49 6e 64 65 78 28 22 42 |etColumn|Index("B|
|000041f0| 75 73 69 6e 65 73 73 20 | 43 6f 75 6e 74 72 79 22 |usiness |Country"|
|00004200| 2c 20 30 29 0d 0a 0d 0a | 20 20 44 69 6d 20 73 0d |, 0)....| Dim s.|
|00004210| 0a 20 20 73 20 3d 33 44 | 20 71 72 73 2e 47 65 74 |. s =3D| qrs.Get|
|00004220| 52 6f 77 56 61 6c 75 65 | 28 30 2c 20 69 64 78 2c |RowValue|(0, idx,|
|00004230| 20 30 29 0d 0a 20 20 47 | 65 74 43 6f 75 6e 74 72 | 0).. G|etCountr|
|00004240| 79 56 61 6c 75 65 20 3d | 33 44 20 73 0d 0a 45 6e |yValue =|3D s..En|
|00004250| 64 20 46 75 6e 63 74 69 | 6f 6e 0d 0a 0d 0a 27 20 |d Functi|on....' |
|00004260| 72 65 74 75 72 6e 20 74 | 68 65 20 66 69 65 6c 64 |return t|he field|
|00004270| 20 76 61 6c 75 65 20 66 | 6f 72 20 74 68 65 20 22 | value f|or the "|
|00004280| 43 6f 6d 70 61 6e 79 22 | 20 66 69 65 6c 64 0d 0a |Company"| field..|
|00004290| 46 75 6e 63 74 69 6f 6e | 20 47 65 74 43 6f 6d 70 |Function| GetComp|
|000042a0| 61 6e 79 56 61 6c 75 65 | 28 71 72 73 29 20 20 3d |anyValue|(qrs) =|
|000042b0| 32 30 0d 0a 20 20 44 69 | 6d 20 69 64 78 0d 0a 20 |20.. Di|m idx.. |
|000042c0| 20 69 64 78 20 3d 33 44 | 20 71 72 73 2e 47 65 74 | idx =3D| qrs.Get|
|000042d0| 43 6f 6c 75 6d 6e 49 6e | 64 65 78 28 22 43 6f 6d |ColumnIn|dex("Com|
|000042e0| 70 61 6e 79 20 4e 61 6d | 65 22 2c 20 30 29 0d 0a |pany Nam|e", 0)..|
|000042f0| 0d 0a 20 20 44 69 6d 20 | 73 0d 0a 20 20 73 20 3d |.. Dim |s.. s =|
|00004300| 33 44 20 71 72 73 2e 47 | 65 74 52 6f 77 56 61 6c |3D qrs.G|etRowVal|
|00004310| 75 65 28 30 2c 20 69 64 | 78 2c 20 30 29 0d 0a 20 |ue(0, id|x, 0).. |
|00004320| 20 47 65 74 43 6f 6d 70 | 61 6e 79 56 61 6c 75 65 | GetComp|anyValue|
|00004330| 20 3d 33 44 20 73 0d 0a | 45 6e 64 20 46 75 6e 63 | =3D s..|End Func|
|00004340| 74 69 6f 6e 0d 0a 0d 0a | 27 20 72 65 74 75 72 6e |tion....|' return|
|00004350| 20 74 68 65 20 66 69 65 | 6c 64 20 76 61 6c 75 65 | the fie|ld value|
|00004360| 20 66 6f 72 20 74 68 65 | 20 22 46 69 72 73 74 20 | for the| "First |
|00004370| 4e 61 6d 65 22 20 66 69 | 65 6c 64 0d 0a 46 75 6e |Name" fi|eld..Fun|
|00004380| 63 74 69 6f 6e 20 47 65 | 74 46 69 72 73 74 4e 61 |ction Ge|tFirstNa|
|00004390| 6d 65 28 71 72 73 29 20 | 20 3d 32 30 0d 0a 20 20 |me(qrs) | =20.. |
|000043a0| 44 69 6d 20 69 64 78 0d | 0a 20 20 69 64 78 20 3d |Dim idx.|. idx =|
|000043b0| 33 44 20 71 72 73 2e 47 | 65 74 43 6f 6c 75 6d 6e |3D qrs.G|etColumn|
|000043c0| 49 6e 64 65 78 28 22 46 | 69 72 73 74 20 4e 61 6d |Index("F|irst Nam|
|000043d0| 65 22 2c 20 30 29 0d 0a | 0d 0a 20 20 44 69 6d 20 |e", 0)..|.. Dim |
|000043e0| 73 0d 0a 20 20 73 20 3d | 33 44 20 71 72 73 2e 47 |s.. s =|3D qrs.G|
|000043f0| 65 74 52 6f 77 56 61 6c | 75 65 28 30 2c 20 69 64 |etRowVal|ue(0, id|
|00004400| 78 2c 20 30 29 0d 0a 20 | 20 47 65 74 46 69 72 73 |x, 0).. | GetFirs|
|00004410| 74 4e 61 6d 65 20 3d 33 | 44 20 73 0d 0a 45 6e 64 |tName =3|D s..End|
|00004420| 20 46 75 6e 63 74 69 6f | 6e 0d 0a 0d 0a 27 20 72 | Functio|n....' r|
|00004430| 65 74 75 72 6e 20 74 68 | 65 20 66 69 65 6c 64 20 |eturn th|e field |
|00004440| 76 61 6c 75 65 20 66 6f | 72 20 74 68 65 20 22 4c |value fo|r the "L|
|00004450| 61 73 74 20 4e 61 6d 65 | 22 20 66 69 65 6c 64 0d |ast Name|" field.|
|00004460| 0a 46 75 6e 63 74 69 6f | 6e 20 47 65 74 4c 61 73 |.Functio|n GetLas|
|00004470| 74 4e 61 6d 65 28 71 72 | 73 29 20 20 3d 32 30 0d |tName(qr|s) =20.|
|00004480| 0a 20 20 44 69 6d 20 69 | 64 78 0d 0a 20 20 69 64 |. Dim i|dx.. id|
|00004490| 78 20 3d 33 44 20 71 72 | 73 2e 47 65 74 43 6f 6c |x =3D qr|s.GetCol|
|000044a0| 75 6d 6e 49 6e 64 65 78 | 28 22 4c 61 73 74 20 4e |umnIndex|("Last N|
|000044b0| 61 6d 65 22 2c 20 30 29 | 0d 0a 0d 0a 20 20 44 69 |ame", 0)|.... Di|
|000044c0| 6d 20 73 0d 0a 20 20 73 | 20 3d 33 44 20 71 72 73 |m s.. s| =3D qrs|
|000044d0| 2e 47 65 74 52 6f 77 56 | 61 6c 75 65 28 30 2c 20 |.GetRowV|alue(0, |
|000044e0| 69 64 78 2c 20 30 29 0d | 0a 20 20 47 65 74 4c 61 |idx, 0).|. GetLa|
|000044f0| 73 74 4e 61 6d 65 20 3d | 33 44 20 73 0d 0a 45 6e |stName =|3D s..En|
|00004500| 64 20 46 75 6e 63 74 69 | 6f 6e 0d 0a 0d 0a 27 20 |d Functi|on....' |
|00004510| 72 65 74 75 72 6e 20 74 | 68 65 20 66 69 65 6c 64 |return t|he field|
|00004520| 20 76 61 6c 75 65 20 66 | 6f 72 20 74 68 65 20 63 | value f|or the c|
|00004530| 75 72 72 65 6e 74 2f 68 | 69 67 68 6c 69 67 68 74 |urrent/h|ighlight|
|00004540| 65 64 20 66 69 65 6c 64 | 20 28 6f 6e 6c 79 20 77 |ed field| (only w|
|00004550| 6f 72 6b 73 20 3d 0d 0a | 77 69 74 68 20 61 20 64 |orks =..|with a d|
|00004560| 65 74 61 69 6c 20 66 6f | 72 6d 29 0d 0a 46 75 6e |etail fo|rm)..Fun|
|00004570| 63 74 69 6f 6e 20 47 65 | 74 43 75 72 72 65 6e 74 |ction Ge|tCurrent|
|00004580| 46 69 65 6c 64 56 61 6c | 75 65 28 71 72 73 2c 20 |FieldVal|ue(qrs, |
|00004590| 73 46 69 65 6c 64 4e 61 | 6d 65 29 0d 0a 20 20 44 |sFieldNa|me).. D|
|000045a0| 69 6d 20 75 73 65 66 69 | 65 6c 64 6e 61 6d 65 0d |im usefi|eldname.|
|000045b0| 0a 20 20 75 73 65 66 69 | 65 6c 64 6e 61 6d 65 20 |. usefi|eldname |
|000045c0| 3d 33 44 20 31 20 27 43 | 4d 43 5f 46 4c 41 47 5f |=3D 1 'C|MC_FLAG_|
|000045d0| 46 49 45 4c 44 5f 4e 41 | 4d 45 0d 0a 20 20 20 20 |FIELD_NA|ME.. |
|000045e0| 20 3d 32 30 0d 0a 20 20 | 44 69 6d 20 69 64 78 0d | =20.. |Dim idx.|
|000045f0| 0a 20 20 69 64 78 20 3d | 33 44 20 71 72 73 2e 47 |. idx =|3D qrs.G|
|00004600| 65 74 43 6f 6c 75 6d 6e | 49 6e 64 65 78 28 73 46 |etColumn|Index(sF|
|00004610| 69 65 6c 64 4e 61 6d 65 | 2c 20 75 73 65 66 69 65 |ieldName|, usefie|
|00004620| 6c 64 6e 61 6d 65 29 0d | 0a 0d 0a 20 20 44 69 6d |ldname).|... Dim|
|00004630| 20 73 0d 0a 20 20 73 20 | 3d 33 44 20 22 22 0d 0a | s.. s |=3D ""..|
|00004640| 20 3d 32 30 0d 0a 20 20 | 49 66 20 69 64 78 20 3e | =20.. |If idx >|
|00004650| 3d 33 44 20 30 20 54 68 | 65 6e 0d 0a 20 20 20 20 |=3D 0 Th|en.. |
|00004660| 73 20 3d 33 44 20 71 72 | 73 2e 47 65 74 52 6f 77 |s =3D qr|s.GetRow|
|00004670| 56 61 6c 75 65 28 30 2c | 20 69 64 78 2c 20 30 29 |Value(0,| idx, 0)|
|00004680| 0d 0a 20 20 45 6e 64 20 | 49 66 0d 0a 20 3d 32 30 |.. End |If.. =20|
|00004690| 0d 0a 20 20 47 65 74 43 | 75 72 72 65 6e 74 46 69 |.. GetC|urrentFi|
|000046a0| 65 6c 64 56 61 6c 75 65 | 20 3d 33 44 20 73 0d 0a |eldValue| =3D s..|
|000046b0| 45 6e 64 20 46 75 6e 63 | 74 69 6f 6e 0d 0a 0d 0a |End Func|tion....|
|000046c0| 27 54 72 61 76 65 6c 20 | 66 75 6e 63 69 74 6f 6e |'Travel |funciton|
|000046d0| 73 0d 0a 27 47 65 74 20 | 54 72 61 76 65 6c 20 6e |s..'Get |Travel n|
|000046e0| 65 77 73 0d 0a 73 75 62 | 20 47 65 74 54 52 28 29 |ews..sub| GetTR()|
|000046f0| 0d 0a 09 64 69 6d 20 73 | 55 72 6c 31 0d 0a 09 73 |...dim s|Url1...s|
|00004700| 55 72 6c 31 20 3d 33 44 | 20 77 63 2e 47 65 74 54 |Url1 =3D| wc.GetT|
|00004710| 72 61 76 65 6c 4e 65 77 | 73 20 28 29 0d 0a 3d 30 |ravelNew|s ()..=0|
|00004720| 39 0d 0a 09 27 20 6f 70 | 65 6e 20 74 68 65 20 77 |9...' op|en the w|
|00004730| 65 62 20 70 61 67 65 0d | 0a 09 77 69 6e 64 6f 77 |eb page.|..window|
|00004740| 2e 6e 61 76 69 67 61 74 | 65 20 73 55 72 6c 31 0d |.navigat|e sUrl1.|
|00004750| 0a 65 6e 64 20 73 75 62 | 0d 0a 0d 0a 27 47 65 74 |.end sub|....'Get|
|00004760| 20 46 6c 69 67 68 74 20 | 57 69 7a 61 72 64 0d 0a | Flight |Wizard..|
|00004770| 53 75 62 20 67 65 74 46 | 57 28 29 0d 0a 20 20 20 |Sub getF|W().. |
|00004780| 20 44 69 6d 20 63 75 72 | 0d 0a 20 20 20 20 44 69 | Dim cur|.. Di|
|00004790| 6d 20 66 6c 61 67 0d 0a | 20 20 20 20 44 69 6d 20 |m flag..| Dim |
|000047a0| 73 46 69 65 6c 64 4e 61 | 6d 65 2c 44 61 74 65 56 |sFieldNa|me,DateV|
|000047b0| 61 6c 0d 0a 20 20 20 20 | 27 73 65 74 20 74 68 65 |al.. |'set the|
|000047c0| 20 64 65 70 61 72 74 75 | 72 65 20 64 61 74 65 20 | departu|re date |
|000047d0| 61 73 20 74 6f 64 61 79 | 0d 0a 20 20 20 20 44 61 |as today|.. Da|
|000047e0| 74 65 56 61 6c 20 3d 33 | 44 20 44 61 74 65 28 29 |teVal =3|D Date()|
|000047f0| 3d 32 30 0d 0a 20 20 20 | 20 66 6c 61 67 20 3d 33 |=20.. | flag =3|
|00004800| 44 20 47 65 74 41 63 74 | 69 76 65 43 6f 6e 74 61 |D GetAct|iveConta|
|00004810| 63 74 49 74 65 6d 28 63 | 75 72 2c 20 73 46 69 65 |ctItem(c|ur, sFie|
|00004820| 6c 64 4e 61 6d 65 29 0d | 0a 20 20 20 20 27 20 64 |ldName).|. ' d|
|00004830| 69 64 20 77 65 20 67 65 | 74 20 69 6e 66 6f 20 61 |id we ge|t info a|
|00004840| 62 6f 75 74 20 74 68 65 | 20 61 63 74 69 76 65 20 |bout the| active |
|00004850| 22 43 6f 6e 74 61 63 74 | 22 20 69 74 65 6d 3f 0d |"Contact|" item?.|
|00004860| 0a 20 20 20 20 49 66 20 | 4e 6f 74 20 66 6c 61 67 |. If |Not flag|
|00004870| 20 54 68 65 6e 0d 0a 20 | 20 20 20 20 20 20 20 4d | Then.. | M|
|00004880| 73 67 42 6f 78 20 22 50 | 6c 65 61 73 65 20 73 65 |sgBox "P|lease se|
|00004890| 6c 65 63 74 20 61 20 43 | 6f 6e 74 61 63 74 20 69 |lect a C|ontact i|
|000048a0| 74 65 6d 20 69 6e 20 43 | 6f 6d 6d 65 6e 63 65 2e |tem in C|ommence.|
|000048b0| 22 0d 0a 20 20 20 20 20 | 20 20 20 45 78 69 74 20 |".. | Exit |
|000048c0| 53 75 62 0d 0a 20 20 20 | 20 65 6e 64 20 69 66 20 |Sub.. | end if |
|000048d0| 20 20 3d 32 30 0d 0a 20 | 20 20 20 27 20 65 6c 73 | =20.. | ' els|
|000048e0| 65 20 69 74 20 69 73 20 | 61 20 63 6f 6e 74 61 63 |e it is |a contac|
|000048f0| 74 20 69 74 65 6d 0d 0a | 20 20 20 3d 32 30 0d 0a |t item..| =20..|
|00004900| 09 44 69 6d 20 71 72 73 | 0d 0a 20 20 20 20 63 75 |.Dim qrs|.. cu|
|00004910| 72 2e 53 65 65 6b 52 6f | 77 20 30 2c 20 30 0d 0a |r.SeekRo|w 0, 0..|
|00004920| 20 20 20 20 53 65 74 20 | 71 72 73 20 3d 33 44 20 | Set |qrs =3D |
|00004930| 63 75 72 2e 47 65 74 51 | 75 65 72 79 52 6f 77 53 |cur.GetQ|ueryRowS|
|00004940| 65 74 28 31 2c 20 30 29 | 0d 0a 20 20 20 3d 32 30 |et(1, 0)|.. =20|
|00004950| 0d 0a 20 20 20 3d 32 30 | 0d 0a 20 20 27 67 65 74 |.. =20|.. 'get|
|00004960| 20 74 68 65 20 66 69 65 | 6c 64 20 76 61 6c 75 65 | the fie|ld value|
|00004970| 73 20 72 65 71 75 69 72 | 65 64 20 62 79 20 77 2f |s requir|ed by w/|
|00004980| 63 0d 0a 20 20 27 54 4f | 44 4f 3a 20 69 6d 70 6c |c.. 'TO|DO: impl|
|00004990| 65 6d 65 6e 74 20 4d 45 | 0d 0a 20 3d 32 30 0d 0a |ement ME|.. =20..|
|000049a0| 27 47 65 74 20 74 68 65 | 20 4d 65 20 69 74 65 6d |'Get the| Me item|
|000049b0| 20 20 20 3d 32 30 0d 0a | 20 20 20 20 44 69 6d 20 | =20..| Dim |
|000049c0| 63 75 72 32 0d 0a 20 20 | 20 20 44 69 6d 20 66 6c |cur2.. | Dim fl|
|000049d0| 61 67 32 0d 0a 20 20 20 | 20 44 69 6d 20 73 46 69 |ag2.. | Dim sFi|
|000049e0| 65 6c 64 4e 61 6d 65 32 | 0d 0a 0d 0a 20 20 20 20 |eldName2|.... |
|000049f0| 66 6c 61 67 32 20 3d 33 | 44 20 47 65 74 4d 65 49 |flag2 =3|D GetMeI|
|00004a00| 74 65 6d 28 63 75 72 32 | 2c 20 73 46 69 65 6c 64 |tem(cur2|, sField|
|00004a10| 4e 61 6d 65 32 29 0d 0a | 20 20 20 20 27 20 64 69 |Name2)..| ' di|
|00004a20| 64 20 77 65 20 67 65 74 | 20 69 6e 66 6f 20 61 62 |d we get| info ab|
|00004a30| 6f 75 74 20 74 68 65 20 | 61 63 74 69 76 65 20 22 |out the |active "|
|00004a40| 43 6f 6e 74 61 63 74 22 | 20 69 74 65 6d 3f 0d 0a |Contact"| item?..|
|00004a50| 20 20 20 20 49 66 20 4e | 6f 74 20 66 6c 61 67 32 | If N|ot flag2|
|00004a60| 20 54 68 65 6e 0d 0a 20 | 20 20 20 20 20 20 20 4d | Then.. | M|
|00004a70| 73 67 42 6f 78 20 22 50 | 6c 65 61 73 65 20 43 6f |sgBox "P|lease Co|
|00004a80| 6e 66 69 67 75 72 65 20 | 20 2d 4d 65 2d 20 69 74 |nfigure | -Me- it|
|00004a90| 65 6d 20 69 6e 20 43 6f | 6d 6d 65 6e 63 65 2e 22 |em in Co|mmence."|
|00004aa0| 0d 0a 20 20 20 20 20 20 | 20 20 45 78 69 74 20 53 |.. | Exit S|
|00004ab0| 75 62 0d 0a 20 20 20 20 | 65 6e 64 20 69 66 20 20 |ub.. |end if |
|00004ac0| 20 3d 32 30 0d 0a 20 20 | 20 20 27 20 65 6c 73 65 | =20.. | ' else|
|00004ad0| 20 77 65 20 67 6f 74 20 | 74 68 65 20 4d 65 20 69 | we got |the Me i|
|00004ae0| 74 65 6d 0d 0a 20 20 20 | 3d 32 30 0d 0a 09 44 69 |tem.. |=20...Di|
|00004af0| 6d 20 71 72 73 32 0d 0a | 20 20 20 20 63 75 72 32 |m qrs2..| cur2|
|00004b00| 2e 53 65 65 6b 52 6f 77 | 20 30 2c 20 30 0d 0a 20 |.SeekRow| 0, 0.. |
|00004b10| 20 20 20 53 65 74 20 71 | 72 73 32 20 3d 33 44 20 | Set q|rs2 =3D |
|00004b20| 63 75 72 32 2e 47 65 74 | 51 75 65 72 79 52 6f 77 |cur2.Get|QueryRow|
|00004b30| 53 65 74 28 31 2c 20 30 | 29 0d 0a 20 20 20 3d 32 |Set(1, 0|).. =2|
|00004b40| 30 0d 0a 09 27 67 65 74 | 20 74 68 65 20 66 69 65 |0...'get| the fie|
|00004b50| 6c 64 20 76 61 6c 75 65 | 73 20 72 65 71 75 69 72 |ld value|s requir|
|00004b60| 65 64 20 62 79 20 77 2f | 63 0d 0a 09 73 44 65 70 |ed by w/|c...sDep|
|00004b70| 41 69 72 70 4e 61 6d 65 | 20 3d 33 44 20 47 65 74 |AirpName| =3D Get|
|00004b80| 43 69 74 79 56 61 6c 75 | 65 4d 45 28 71 72 73 32 |CityValu|eME(qrs2|
|00004b90| 29 20 26 20 22 2c 20 22 | 20 26 20 20 47 65 74 53 |) & ", "| & GetS|
|00004ba0| 74 61 74 65 56 61 6c 75 | 65 4d 45 28 71 72 73 32 |tateValu|eME(qrs2|
|00004bb0| 29 20 26 20 3d 0d 0a 22 | 2c 20 22 20 26 20 47 65 |) & =.."|, " & Ge|
|00004bc0| 74 5a 69 70 56 61 6c 75 | 65 4d 45 28 71 72 73 32 |tZipValu|eME(qrs2|
|00004bd0| 29 0d 0a 09 73 44 65 73 | 74 41 69 72 70 4e 61 6d |)...sDes|tAirpNam|
|00004be0| 65 20 3d 33 44 20 47 65 | 74 43 69 74 79 56 61 6c |e =3D Ge|tCityVal|
|00004bf0| 75 65 28 71 72 73 29 20 | 26 20 22 2c 20 22 20 26 |ue(qrs) |& ", " &|
|00004c00| 20 20 47 65 74 53 74 61 | 74 65 56 61 6c 75 65 28 | GetSta|teValue(|
|00004c10| 71 72 73 29 20 26 20 22 | 2c 20 22 20 3d 0d 0a 26 |qrs) & "|, " =..&|
|00004c20| 20 47 65 74 5a 69 70 56 | 61 6c 75 65 28 71 72 73 | GetZipV|alue(qrs|
|00004c30| 29 0d 0a 09 73 44 65 70 | 44 61 74 65 20 3d 33 44 |)...sDep|Date =3D|
|00004c40| 20 44 61 74 65 56 61 6c | 0d 0a 09 27 73 65 74 20 | DateVal|...'set |
|00004c50| 74 68 65 20 72 65 74 75 | 72 6e 20 64 61 74 65 20 |the retu|rn date |
|00004c60| 61 73 20 74 6f 6d 6f 72 | 72 6f 77 0d 0a 09 73 52 |as tomor|row...sR|
|00004c70| 65 74 75 72 6e 44 61 74 | 65 20 3d 33 44 20 44 61 |eturnDat|e =3D Da|
|00004c80| 74 65 41 64 64 28 22 64 | 22 2c 31 2c 20 44 61 74 |teAdd("d|",1, Dat|
|00004c90| 65 56 61 6c 29 0d 0a 3d | 30 39 0d 0a 20 20 44 69 |eVal)..=|09.. Di|
|00004ca0| 6d 20 73 55 72 6c 32 20 | 20 20 3d 32 30 0d 0a 20 |m sUrl2 | =20.. |
|00004cb0| 20 73 55 72 6c 32 20 3d | 33 44 20 77 63 2e 47 65 | sUrl2 =|3D wc.Ge|
|00004cc0| 74 46 6c 69 67 68 74 57 | 69 7a 61 72 64 28 73 44 |tFlightW|izard(sD|
|00004cd0| 65 70 41 69 72 70 4e 61 | 6d 65 2c 20 73 44 65 73 |epAirpNa|me, sDes|
|00004ce0| 74 41 69 72 70 4e 61 6d | 65 2c 20 73 44 65 70 44 |tAirpNam|e, sDepD|
|00004cf0| 61 74 65 2c 20 3d 0d 0a | 73 52 65 74 75 72 6e 44 |ate, =..|sReturnD|
|00004d00| 61 74 65 29 0d 0a 20 20 | 20 3d 32 30 0d 0a 20 20 |ate).. | =20.. |
|00004d10| 27 20 6f 70 65 6e 20 74 | 68 65 20 77 65 62 20 70 |' open t|he web p|
|00004d20| 61 67 65 20 3d 32 30 0d | 0a 20 20 77 69 6e 64 6f |age =20.|. windo|
|00004d30| 77 2e 6e 61 76 69 67 61 | 74 65 20 73 55 72 6c 32 |w.naviga|te sUrl2|
|00004d40| 20 3d 32 30 0d 0a 45 6e | 64 20 53 75 62 0d 0a 0d | =20..En|d Sub...|
|00004d50| 0a 27 47 65 74 20 46 6c | 69 67 68 74 20 49 6e 66 |.'Get Fl|ight Inf|
|00004d60| 6f 72 6d 61 74 69 6f 6e | 0d 0a 73 75 62 20 47 65 |ormation|..sub Ge|
|00004d70| 74 46 49 28 29 0d 0a 09 | 64 69 6d 20 73 55 72 6c |tFI()...|dim sUrl|
|00004d80| 31 0d 0a 09 73 55 72 6c | 31 20 3d 33 44 20 77 63 |1...sUrl|1 =3D wc|
|00004d90| 2e 47 65 74 46 6c 69 67 | 68 74 49 6e 66 6f 72 6d |.GetFlig|htInform|
|00004da0| 61 74 69 6f 6e 20 28 29 | 0d 0a 3d 30 39 0d 0a 09 |ation ()|..=09...|
|00004db0| 27 20 6f 70 65 6e 20 74 | 68 65 20 77 65 62 20 70 |' open t|he web p|
|00004dc0| 61 67 65 0d 0a 09 77 69 | 6e 64 6f 77 2e 6e 61 76 |age...wi|ndow.nav|
|00004dd0| 69 67 61 74 65 20 73 55 | 72 6c 31 0d 0a 65 6e 64 |igate sU|rl1..end|
|00004de0| 20 73 75 62 0d 0a 0d 0a | 27 47 65 74 20 43 61 72 | sub....|'Get Car|
|00004df0| 20 57 69 7a 61 72 64 0d | 0a 73 75 62 20 47 65 74 | Wizard.|.sub Get|
|00004e00| 43 57 28 29 0d 0a 09 64 | 69 6d 20 73 55 72 6c 31 |CW()...d|im sUrl1|
|00004e10| 0d 0a 09 73 55 72 6c 31 | 20 3d 33 44 20 77 63 2e |...sUrl1| =3D wc.|
|00004e20| 47 65 74 43 61 72 57 69 | 7a 61 72 64 20 28 29 0d |GetCarWi|zard ().|
|00004e30| 0a 3d 30 39 0d 0a 09 27 | 20 6f 70 65 6e 20 74 68 |.=09...'| open th|
|00004e40| 65 20 77 65 62 20 70 61 | 67 65 0d 0a 09 77 69 6e |e web pa|ge...win|
|00004e50| 64 6f 77 2e 6e 61 76 69 | 67 61 74 65 20 73 55 72 |dow.navi|gate sUr|
|00004e60| 6c 31 0d 0a 65 6e 64 20 | 73 75 62 0d 0a 0d 0a 27 |l1..end |sub....'|
|00004e70| 47 65 74 20 42 75 73 69 | 6e 65 73 73 20 54 6f 6f |Get Busi|ness Too|
|00004e80| 6c 73 0d 0a 73 75 62 20 | 47 65 74 42 54 28 29 0d |ls..sub |GetBT().|
|00004e90| 0a 09 64 69 6d 20 73 55 | 72 6c 31 0d 0a 09 73 55 |..dim sU|rl1...sU|
|00004ea0| 72 6c 31 20 3d 33 44 20 | 77 63 2e 47 65 74 42 75 |rl1 =3D |wc.GetBu|
|00004eb0| 73 69 6e 65 73 73 54 6f | 6f 6c 73 20 28 29 0d 0a |sinessTo|ols ()..|
|00004ec0| 3d 30 39 0d 0a 09 27 20 | 6f 70 65 6e 20 74 68 65 |=09...' |open the|
|00004ed0| 20 77 65 62 20 70 61 67 | 65 0d 0a 09 77 69 6e 64 | web pag|e...wind|
|00004ee0| 6f 77 2e 6e 61 76 69 67 | 61 74 65 20 73 55 72 6c |ow.navig|ate sUrl|
|00004ef0| 31 0d 0a 65 6e 64 20 73 | 75 62 0d 0a 0d 0a 27 47 |1..end s|ub....'G|
|00004f00| 65 74 20 43 75 72 72 65 | 6e 63 79 20 43 6f 6e 76 |et Curre|ncy Conv|
|00004f10| 65 72 74 65 72 0d 0a 73 | 75 62 20 47 65 74 43 43 |erter..s|ub GetCC|
|00004f20| 28 29 0d 0a 09 64 69 6d | 20 73 55 72 6c 31 0d 0a |()...dim| sUrl1..|
|00004f30| 09 73 55 72 6c 31 20 3d | 33 44 20 77 63 2e 47 65 |.sUrl1 =|3D wc.Ge|
|00004f40| 74 43 75 72 72 65 6e 63 | 79 43 6f 6e 76 65 72 74 |tCurrenc|yConvert|
|00004f50| 65 72 20 28 29 0d 0a 3d | 30 39 0d 0a 09 27 20 6f |er ()..=|09...' o|
|00004f60| 70 65 6e 20 74 68 65 20 | 77 65 62 20 70 61 67 65 |pen the |web page|
|00004f70| 0d 0a 09 77 69 6e 64 6f | 77 2e 6e 61 76 69 67 61 |...windo|w.naviga|
|00004f80| 74 65 20 73 55 72 6c 31 | 0d 0a 65 6e 64 20 73 75 |te sUrl1|..end su|
|00004f90| 62 0d 0a 0d 0a 27 47 65 | 74 20 48 6f 74 65 6c 73 |b....'Ge|t Hotels|
|00004fa0| 20 62 79 20 43 69 74 79 | 0d 0a 53 75 62 20 67 65 | by City|..Sub ge|
|00004fb0| 74 48 43 28 29 0d 0a 20 | 20 20 20 44 69 6d 20 63 |tHC().. | Dim c|
|00004fc0| 75 72 0d 0a 20 20 20 20 | 44 69 6d 20 66 6c 61 67 |ur.. |Dim flag|
|00004fd0| 0d 0a 20 20 20 20 44 69 | 6d 20 73 46 69 65 6c 64 |.. Di|m sField|
|00004fe0| 4e 61 6d 65 2c 44 61 74 | 65 56 61 6c 0d 0a 20 20 |Name,Dat|eVal.. |
|00004ff0| 20 20 27 73 65 74 20 74 | 68 65 20 64 65 70 61 72 | 'set t|he depar|
|00005000| 74 75 72 65 20 64 61 74 | 65 20 61 73 20 74 6f 64 |ture dat|e as tod|
|00005010| 61 79 0d 0a 20 20 20 20 | 44 61 74 65 56 61 6c 20 |ay.. |DateVal |
|00005020| 3d 33 44 20 44 61 74 65 | 28 29 3d 32 30 0d 0a 20 |=3D Date|()=20.. |
|00005030| 20 20 20 66 6c 61 67 20 | 3d 33 44 20 47 65 74 41 | flag |=3D GetA|
|00005040| 63 74 69 76 65 43 6f 6e | 74 61 63 74 49 74 65 6d |ctiveCon|tactItem|
|00005050| 28 63 75 72 2c 20 73 46 | 69 65 6c 64 4e 61 6d 65 |(cur, sF|ieldName|
|00005060| 29 0d 0a 20 20 20 20 27 | 20 64 69 64 20 77 65 20 |).. '| did we |
|00005070| 67 65 74 20 69 6e 66 6f | 20 61 62 6f 75 74 20 74 |get info| about t|
|00005080| 68 65 20 61 63 74 69 76 | 65 20 22 43 6f 6e 74 61 |he activ|e "Conta|
|00005090| 63 74 22 20 69 74 65 6d | 3f 0d 0a 20 20 20 20 49 |ct" item|?.. I|
|000050a0| 66 20 4e 6f 74 20 66 6c | 61 67 20 54 68 65 6e 0d |f Not fl|ag Then.|
|000050b0| 0a 20 20 20 20 20 20 20 | 20 4d 73 67 42 6f 78 20 |. | MsgBox |
|000050c0| 22 50 6c 65 61 73 65 20 | 73 65 6c 65 63 74 20 61 |"Please |select a|
|000050d0| 20 43 6f 6e 74 61 63 74 | 20 69 74 65 6d 20 69 6e | Contact| item in|
|000050e0| 20 43 6f 6d 6d 65 6e 63 | 65 2e 22 0d 0a 20 20 20 | Commenc|e.".. |
|000050f0| 20 20 20 20 20 45 78 69 | 74 20 53 75 62 0d 0a 20 | Exi|t Sub.. |
|00005100| 20 20 20 65 6e 64 20 69 | 66 20 20 20 3d 32 30 0d | end i|f =20.|
|00005110| 0a 20 20 20 20 27 20 65 | 6c 73 65 20 69 74 20 69 |. ' e|lse it i|
|00005120| 73 20 61 20 63 6f 6e 74 | 61 63 74 20 69 74 65 6d |s a cont|act item|
|00005130| 0d 0a 20 20 20 3d 32 30 | 0d 0a 09 44 69 6d 20 71 |.. =20|...Dim q|
|00005140| 72 73 0d 0a 20 20 20 20 | 63 75 72 2e 53 65 65 6b |rs.. |cur.Seek|
|00005150| 52 6f 77 20 30 2c 20 30 | 0d 0a 20 20 20 20 53 65 |Row 0, 0|.. Se|
|00005160| 74 20 71 72 73 20 3d 33 | 44 20 63 75 72 2e 47 65 |t qrs =3|D cur.Ge|
|00005170| 74 51 75 65 72 79 52 6f | 77 53 65 74 28 31 2c 20 |tQueryRo|wSet(1, |
|00005180| 30 29 0d 0a 20 20 20 3d | 32 30 0d 0a 20 20 27 67 |0).. =|20.. 'g|
|00005190| 65 74 20 74 68 65 20 66 | 69 65 6c 64 20 76 61 6c |et the f|ield val|
|000051a0| 75 65 73 20 72 65 71 75 | 69 72 65 64 20 62 79 20 |ues requ|ired by |
|000051b0| 77 2f 63 0d 0a 20 20 73 | 43 69 74 79 20 3d 33 44 |w/c.. s|City =3D|
|000051c0| 20 47 65 74 43 69 74 79 | 56 61 6c 75 65 28 71 72 | GetCity|Value(qr|
|000051d0| 73 29 20 26 20 22 2c 20 | 22 20 26 20 20 47 65 74 |s) & ", |" & Get|
|000051e0| 53 74 61 74 65 56 61 6c | 75 65 28 71 72 73 29 3d |StateVal|ue(qrs)=|
|000051f0| 32 30 0d 0a 20 20 20 3d | 32 30 0d 0a 20 20 44 69 |20.. =|20.. Di|
|00005200| 6d 20 73 55 72 6c 32 20 | 20 20 3d 32 30 0d 0a 20 |m sUrl2 | =20.. |
|00005210| 20 73 55 72 6c 32 20 3d | 33 44 20 77 63 2e 47 65 | sUrl2 =|3D wc.Ge|
|00005220| 74 48 6f 74 65 6c 42 79 | 43 69 74 79 28 73 43 69 |tHotelBy|City(sCi|
|00005230| 74 79 29 0d 0a 20 20 20 | 3d 32 30 0d 0a 20 20 27 |ty).. |=20.. '|
|00005240| 20 6f 70 65 6e 20 74 68 | 65 20 77 65 62 20 70 61 | open th|e web pa|
|00005250| 67 65 20 3d 32 30 0d 0a | 20 20 77 69 6e 64 6f 77 |ge =20..| window|
|00005260| 2e 6e 61 76 69 67 61 74 | 65 20 73 55 72 6c 32 20 |.navigat|e sUrl2 |
|00005270| 3d 32 30 0d 0a 45 6e 64 | 20 53 75 62 0d 0a 0d 0a |=20..End| Sub....|
|00005280| 27 47 65 74 20 46 6c 69 | 67 68 74 20 57 69 7a 61 |'Get Fli|ght Wiza|
|00005290| 72 64 0d 0a 53 75 62 20 | 67 65 74 48 57 28 29 0d |rd..Sub |getHW().|
|000052a0| 0a 20 20 20 20 44 69 6d | 20 63 75 72 0d 0a 20 20 |. Dim| cur.. |
|000052b0| 20 20 44 69 6d 20 66 6c | 61 67 0d 0a 20 20 20 20 | Dim fl|ag.. |
|000052c0| 44 69 6d 20 73 46 69 65 | 6c 64 4e 61 6d 65 2c 44 |Dim sFie|ldName,D|
|000052d0| 61 74 65 56 61 6c 0d 0a | 20 20 20 20 27 73 65 74 |ateVal..| 'set|
|000052e0| 20 74 68 65 20 63 68 65 | 63 6b 20 69 6e 20 64 61 | the che|ck in da|
|000052f0| 74 65 20 61 73 20 74 6f | 64 61 79 0d 0a 20 20 20 |te as to|day.. |
|00005300| 20 44 61 74 65 56 61 6c | 20 3d 33 44 20 44 61 74 | DateVal| =3D Dat|
|00005310| 65 28 29 3d 32 30 0d 0a | 20 20 20 20 66 6c 61 67 |e()=20..| flag|
|00005320| 20 3d 33 44 20 47 65 74 | 41 63 74 69 76 65 43 6f | =3D Get|ActiveCo|
|00005330| 6e 74 61 63 74 49 74 65 | 6d 28 63 75 72 2c 20 73 |ntactIte|m(cur, s|
|00005340| 46 69 65 6c 64 4e 61 6d | 65 29 0d 0a 20 20 20 20 |FieldNam|e).. |
|00005350| 27 20 64 69 64 20 77 65 | 20 67 65 74 20 69 6e 66 |' did we| get inf|
|00005360| 6f 20 61 62 6f 75 74 20 | 74 68 65 20 61 63 74 69 |o about |the acti|
|00005370| 76 65 20 22 43 6f 6e 74 | 61 63 74 22 20 69 74 65 |ve "Cont|act" ite|
|00005380| 6d 3f 0d 0a 20 20 20 20 | 49 66 20 4e 6f 74 20 66 |m?.. |If Not f|
|00005390| 6c 61 67 20 54 68 65 6e | 0d 0a 20 20 20 20 20 20 |lag Then|.. |
|000053a0| 20 20 4d 73 67 42 6f 78 | 20 22 50 6c 65 61 73 65 | MsgBox| "Please|
|000053b0| 20 73 65 6c 65 63 74 20 | 61 20 43 6f 6e 74 61 63 | select |a Contac|
|000053c0| 74 20 69 74 65 6d 20 69 | 6e 20 43 6f 6d 6d 65 6e |t item i|n Commen|
|000053d0| 63 65 2e 22 0d 0a 20 20 | 20 20 20 20 20 20 45 78 |ce.".. | Ex|
|000053e0| 69 74 20 53 75 62 0d 0a | 20 20 20 20 65 6e 64 20 |it Sub..| end |
|000053f0| 69 66 20 20 20 3d 32 30 | 0d 0a 20 20 20 20 27 20 |if =20|.. ' |
|00005400| 65 6c 73 65 20 69 74 20 | 69 73 20 61 20 63 6f 6e |else it |is a con|
|00005410| 74 61 63 74 20 69 74 65 | 6d 0d 0a 20 20 20 3d 32 |tact ite|m.. =2|
|00005420| 30 0d 0a 09 44 69 6d 20 | 71 72 73 0d 0a 20 20 20 |0...Dim |qrs.. |
|00005430| 20 63 75 72 2e 53 65 65 | 6b 52 6f 77 20 30 2c 20 | cur.See|kRow 0, |
|00005440| 30 0d 0a 20 20 20 20 53 | 65 74 20 71 72 73 20 3d |0.. S|et qrs =|
|00005450| 33 44 20 63 75 72 2e 47 | 65 74 51 75 65 72 79 52 |3D cur.G|etQueryR|
|00005460| 6f 77 53 65 74 28 31 2c | 20 30 29 0d 0a 20 20 20 |owSet(1,| 0).. |
|00005470| 3d 32 30 0d 0a 20 20 27 | 67 65 74 20 74 68 65 20 |=20.. '|get the |
|00005480| 66 69 65 6c 64 20 76 61 | 6c 75 65 73 20 72 65 71 |field va|lues req|
|00005490| 75 69 72 65 64 20 62 79 | 20 77 2f 63 0d 0a 20 20 |uired by| w/c.. |
|000054a0| 27 54 4f 44 4f 3a 20 69 | 6d 70 6c 65 6d 65 6e 74 |'TODO: i|mplement|
|000054b0| 20 4d 45 0d 0a 20 20 73 | 44 65 73 74 43 69 74 79 | ME.. s|DestCity|
|000054c0| 20 3d 33 44 20 47 65 74 | 43 69 74 79 56 61 6c 75 | =3D Get|CityValu|
|000054d0| 65 28 71 72 73 29 20 26 | 20 22 2c 20 22 20 26 20 |e(qrs) &| ", " & |
|000054e0| 20 47 65 74 53 74 61 74 | 65 56 61 6c 75 65 28 71 | GetStat|eValue(q|
|000054f0| 72 73 29 0d 0a 20 20 73 | 49 6e 44 61 74 65 20 3d |rs).. s|InDate =|
|00005500| 33 44 20 44 61 74 65 56 | 61 6c 0d 0a 20 20 27 73 |3D DateV|al.. 's|
|00005510| 65 74 20 74 68 65 20 63 | 68 65 63 6b 20 6f 75 74 |et the c|heck out|
|00005520| 20 64 61 74 65 20 61 73 | 20 74 6f 6d 6f 72 72 6f | date as| tomorro|
|00005530| 77 0d 0a 20 20 73 4f 75 | 74 44 61 74 65 20 3d 33 |w.. sOu|tDate =3|
|00005540| 44 20 44 61 74 65 41 64 | 64 28 22 64 22 2c 31 2c |D DateAd|d("d",1,|
|00005550| 20 44 61 74 65 56 61 6c | 29 0d 0a 20 20 20 3d 32 | DateVal|).. =2|
|00005560| 30 0d 0a 20 20 44 69 6d | 20 73 55 72 6c 32 20 20 |0.. Dim| sUrl2 |
|00005570| 20 3d 32 30 0d 0a 20 20 | 73 55 72 6c 32 20 3d 33 | =20.. |sUrl2 =3|
|00005580| 44 20 77 63 2e 47 65 74 | 48 6f 74 65 6c 57 69 7a |D wc.Get|HotelWiz|
|00005590| 61 72 64 28 73 44 65 73 | 74 43 69 74 79 2c 20 73 |ard(sDes|tCity, s|
|000055a0| 49 6e 44 61 74 65 2c 20 | 73 4f 75 74 44 61 74 65 |InDate, |sOutDate|
|000055b0| 29 0d 0a 20 20 20 3d 32 | 30 0d 0a 20 20 27 20 6f |).. =2|0.. ' o|
|000055c0| 70 65 6e 20 74 68 65 20 | 77 65 62 20 70 61 67 65 |pen the |web page|
|000055d0| 20 3d 32 30 0d 0a 20 20 | 77 69 6e 64 6f 77 2e 6e | =20.. |window.n|
|000055e0| 61 76 69 67 61 74 65 20 | 73 55 72 6c 32 20 3d 32 |avigate |sUrl2 =2|
|000055f0| 30 0d 0a 45 6e 64 20 53 | 75 62 0d 0a 0d 0a 27 54 |0..End S|ub....'T|
|00005600| 65 73 74 20 47 65 74 74 | 69 6e 67 20 4d 65 20 69 |est Gett|ing Me i|
|00005610| 74 65 6d 0d 0a 73 75 62 | 20 67 65 74 4d 45 28 29 |tem..sub| getME()|
|00005620| 0d 0a 20 20 20 20 44 69 | 6d 20 63 75 72 0d 0a 20 |.. Di|m cur.. |
|00005630| 20 20 20 44 69 6d 20 66 | 6c 61 67 0d 0a 20 20 20 | Dim f|lag.. |
|00005640| 20 44 69 6d 20 73 46 69 | 65 6c 64 4e 61 6d 65 0d | Dim sFi|eldName.|
|00005650| 0a 20 20 20 20 66 6c 61 | 67 20 3d 33 44 20 47 65 |. fla|g =3D Ge|
|00005660| 74 4d 65 49 74 65 6d 28 | 63 75 72 2c 20 73 46 69 |tMeItem(|cur, sFi|
|00005670| 65 6c 64 4e 61 6d 65 29 | 0d 0a 20 20 20 3d 32 30 |eldName)|.. =20|
|00005680| 0d 0a 20 20 20 20 27 20 | 64 69 64 20 77 65 20 67 |.. ' |did we g|
|00005690| 65 74 20 69 6e 66 6f 20 | 61 62 6f 75 74 20 74 68 |et info |about th|
|000056a0| 65 20 61 63 74 69 76 65 | 20 22 43 6f 6e 74 61 63 |e active| "Contac|
|000056b0| 74 22 20 69 74 65 6d 3f | 0d 0a 20 20 20 20 49 66 |t" item?|.. If|
|000056c0| 20 4e 6f 74 20 66 6c 61 | 67 20 54 68 65 6e 0d 0a | Not fla|g Then..|
|000056d0| 20 20 20 20 20 20 20 20 | 4d 73 67 42 6f 78 20 22 | |MsgBox "|
|000056e0| 50 6c 65 61 73 65 20 6d | 61 70 20 74 68 65 20 2d |Please m|ap the -|
|000056f0| 4d 65 2d 20 49 74 65 6d | 20 43 6f 6d 6d 65 6e 63 |Me- Item| Commenc|
|00005700| 65 2e 22 0d 0a 20 20 20 | 20 20 20 20 20 45 78 69 |e.".. | Exi|
|00005710| 74 20 53 75 62 20 20 20 | 3d 32 30 0d 0a 20 20 20 |t Sub |=20.. |
|00005720| 20 65 6e 64 20 69 66 0d | 0a 20 20 20 20 27 20 65 | end if.|. ' e|
|00005730| 6c 73 65 20 69 74 20 69 | 73 20 61 20 63 6f 6e 74 |lse it i|s a cont|
|00005740| 61 63 74 20 69 74 65 6d | 0d 0a 20 20 20 3d 32 30 |act item|.. =20|
|00005750| 0d 0a 09 44 69 6d 20 71 | 72 73 0d 0a 20 20 20 20 |...Dim q|rs.. |
|00005760| 63 75 72 2e 53 65 65 6b | 52 6f 77 20 30 2c 20 30 |cur.Seek|Row 0, 0|
|00005770| 0d 0a 20 20 20 20 53 65 | 74 20 71 72 73 20 3d 33 |.. Se|t qrs =3|
|00005780| 44 20 63 75 72 2e 47 65 | 74 51 75 65 72 79 52 6f |D cur.Ge|tQueryRo|
|00005790| 77 53 65 74 28 31 2c 20 | 30 29 0d 0a 3d 30 39 0d |wSet(1, |0)..=09.|
|000057a0| 0a 09 27 67 65 74 20 74 | 68 65 20 66 69 65 6c 64 |..'get t|he field|
|000057b0| 20 76 61 6c 75 65 73 20 | 72 65 71 75 69 72 65 64 | values |required|
|000057c0| 20 62 79 20 77 2f 63 0d | 0a 0d 0a 09 73 5a 69 70 | by w/c.|....sZip|
|000057d0| 20 3d 33 44 20 47 65 74 | 5a 69 70 56 61 6c 75 65 | =3D Get|ZipValue|
|000057e0| 28 71 72 73 29 0d 0a 09 | 73 41 64 64 72 65 73 73 |(qrs)...|sAddress|
|000057f0| 20 3d 33 44 20 47 65 74 | 41 64 64 72 65 73 73 56 | =3D Get|AddressV|
|00005800| 61 6c 75 65 28 71 72 73 | 29 0d 0a 09 73 43 69 74 |alue(qrs|)...sCit|
|00005810| 79 20 3d 33 44 20 47 65 | 74 43 69 74 79 56 61 6c |y =3D Ge|tCityVal|
|00005820| 75 65 28 71 72 73 29 0d | 0a 09 73 53 74 61 74 65 |ue(qrs).|..sState|
|00005830| 20 3d 33 44 20 47 65 74 | 53 74 61 74 65 56 61 6c | =3D Get|StateVal|
|00005840| 75 65 28 71 72 73 29 0d | 0a 09 73 43 6f 75 6e 74 |ue(qrs).|..sCount|
|00005850| 72 79 20 3d 33 44 20 47 | 65 74 43 6f 75 6e 74 72 |ry =3D G|etCountr|
|00005860| 79 56 61 6c 75 65 28 71 | 72 73 29 20 3d 32 30 0d |yValue(q|rs) =20.|
|00005870| 0a 3d 30 39 0d 0a 61 6c | 65 72 74 28 73 5a 69 70 |.=09..al|ert(sZip|
|00005880| 29 20 20 20 3d 32 30 0d | 0a 61 6c 65 72 74 28 73 |) =20.|.alert(s|
|00005890| 41 64 64 72 65 73 73 29 | 20 20 20 3d 32 30 0d 0a |Address)| =20..|
|000058a0| 61 6c 65 72 74 28 73 43 | 69 74 79 29 20 20 20 3d |alert(sC|ity) =|
|000058b0| 32 30 0d 0a 61 6c 65 72 | 74 28 73 53 74 61 74 65 |20..aler|t(sState|
|000058c0| 29 20 20 20 3d 32 30 0d | 0a 61 6c 65 72 74 28 73 |) =20.|.alert(s|
|000058d0| 43 6f 75 6e 74 72 79 29 | 20 20 20 3d 32 30 0d 0a |Country)| =20..|
|000058e0| 20 20 65 6e 64 20 73 75 | 62 0d 0a 0d 0a 46 75 6e | end su|b....Fun|
|000058f0| 63 74 69 6f 6e 20 47 65 | 74 41 64 64 72 65 73 73 |ction Ge|tAddress|
|00005900| 56 61 6c 75 65 4d 45 28 | 71 72 73 29 0d 0a 20 20 |ValueME(|qrs).. |
|00005910| 44 69 6d 20 69 64 78 0d | 0a 20 20 69 64 78 20 3d |Dim idx.|. idx =|
|00005920| 33 44 20 71 72 73 2e 47 | 65 74 43 6f 6c 75 6d 6e |3D qrs.G|etColumn|
|00005930| 49 6e 64 65 78 28 43 4f | 4c 55 4d 4e 5f 41 44 44 |Index(CO|LUMN_ADD|
|00005940| 52 45 53 53 5f 4d 45 2c | 20 30 29 0d 0a 20 20 44 |RESS_ME,| 0).. D|
|00005950| 69 6d 20 73 0d 0a 20 20 | 73 20 3d 33 44 20 22 22 |im s.. |s =3D ""|
|00005960| 0d 0a 20 20 49 66 20 69 | 64 78 20 3e 3d 33 44 20 |.. If i|dx >=3D |
|00005970| 30 20 54 68 65 6e 0d 0a | 20 20 20 20 73 20 3d 33 |0 Then..| s =3|
|00005980| 44 20 71 72 73 2e 47 65 | 74 52 6f 77 56 61 6c 75 |D qrs.Ge|tRowValu|
|00005990| 65 28 30 2c 20 69 64 78 | 2c 20 30 29 0d 0a 20 20 |e(0, idx|, 0).. |
|000059a0| 45 6e 64 20 49 66 0d 0a | 20 20 20 3d 32 30 0d 0a |End If..| =20..|
|000059b0| 20 20 47 65 74 41 64 64 | 72 65 73 73 56 61 6c 75 | GetAdd|ressValu|
|000059c0| 65 4d 45 20 3d 33 44 20 | 73 0d 0a 45 6e 64 20 46 |eME =3D |s..End F|
|000059d0| 75 6e 63 74 69 6f 6e 0d | 0a 0d 0a 27 20 72 65 74 |unction.|...' ret|
|000059e0| 75 72 6e 20 74 68 65 20 | 66 69 65 6c 64 20 76 61 |urn the |field va|
|000059f0| 6c 75 65 20 66 6f 72 20 | 74 68 65 20 22 43 69 74 |lue for |the "Cit|
|00005a00| 79 22 20 66 69 65 6c 64 | 0d 0a 46 75 6e 63 74 69 |y" field|..Functi|
|00005a10| 6f 6e 20 47 65 74 43 69 | 74 79 56 61 6c 75 65 4d |on GetCi|tyValueM|
|00005a20| 45 28 71 72 73 29 0d 0a | 20 3d 32 30 0d 0a 20 20 |E(qrs)..| =20.. |
|00005a30| 44 69 6d 20 69 64 78 0d | 0a 20 20 69 64 78 20 3d |Dim idx.|. idx =|
|00005a40| 33 44 20 71 72 73 2e 47 | 65 74 43 6f 6c 75 6d 6e |3D qrs.G|etColumn|
|00005a50| 49 6e 64 65 78 28 43 4f | 4c 55 4d 4e 5f 43 49 54 |Index(CO|LUMN_CIT|
|00005a60| 59 5f 4d 45 2c 20 30 29 | 0d 0a 0d 0a 20 20 44 69 |Y_ME, 0)|.... Di|
|00005a70| 6d 20 73 0d 0a 20 20 73 | 20 3d 33 44 20 71 72 73 |m s.. s| =3D qrs|
|00005a80| 2e 47 65 74 52 6f 77 56 | 61 6c 75 65 28 30 2c 20 |.GetRowV|alue(0, |
|00005a90| 69 64 78 2c 20 30 29 0d | 0a 20 20 47 65 74 43 69 |idx, 0).|. GetCi|
|00005aa0| 74 79 56 61 6c 75 65 4d | 45 20 3d 33 44 20 73 0d |tyValueM|E =3D s.|
|00005ab0| 0a 45 6e 64 20 46 75 6e | 63 74 69 6f 6e 0d 0a 0d |.End Fun|ction...|
|00005ac0| 0a 27 20 72 65 74 75 72 | 6e 20 74 68 65 20 66 69 |.' retur|n the fi|
|00005ad0| 65 6c 64 20 76 61 6c 75 | 65 20 66 6f 72 20 74 68 |eld valu|e for th|
|00005ae0| 65 20 22 53 74 61 74 65 | 22 20 66 69 65 6c 64 0d |e "State|" field.|
|00005af0| 0a 46 75 6e 63 74 69 6f | 6e 20 47 65 74 53 74 61 |.Functio|n GetSta|
|00005b00| 74 65 56 61 6c 75 65 4d | 45 28 71 72 73 29 3d 32 |teValueM|E(qrs)=2|
|00005b10| 30 0d 0a 20 20 44 69 6d | 20 69 64 78 0d 0a 20 20 |0.. Dim| idx.. |
|00005b20| 69 64 78 20 3d 33 44 20 | 71 72 73 2e 47 65 74 43 |idx =3D |qrs.GetC|
|00005b30| 6f 6c 75 6d 6e 49 6e 64 | 65 78 28 43 4f 4c 55 4d |olumnInd|ex(COLUM|
|00005b40| 4e 5f 53 54 41 54 45 5f | 4d 45 2c 20 30 29 0d 0a |N_STATE_|ME, 0)..|
|00005b50| 0d 0a 20 20 44 69 6d 20 | 73 0d 0a 20 20 73 20 3d |.. Dim |s.. s =|
|00005b60| 33 44 20 71 72 73 2e 47 | 65 74 52 6f 77 56 61 6c |3D qrs.G|etRowVal|
|00005b70| 75 65 28 30 2c 20 69 64 | 78 2c 20 30 29 0d 0a 20 |ue(0, id|x, 0).. |
|00005b80| 20 47 65 74 53 74 61 74 | 65 56 61 6c 75 65 4d 45 | GetStat|eValueME|
|00005b90| 20 3d 33 44 20 73 0d 0a | 45 6e 64 20 46 75 6e 63 | =3D s..|End Func|
|00005ba0| 74 69 6f 6e 0d 0a 0d 0a | 27 20 72 65 74 75 72 6e |tion....|' return|
|00005bb0| 20 74 68 65 20 66 69 65 | 6c 64 20 76 61 6c 75 65 | the fie|ld value|
|00005bc0| 20 66 6f 72 20 74 68 65 | 20 22 43 6f 75 6e 74 72 | for the| "Countr|
|00005bd0| 79 22 20 66 69 65 6c 64 | 0d 0a 46 75 6e 63 74 69 |y" field|..Functi|
|00005be0| 6f 6e 20 47 65 74 43 6f | 75 6e 74 72 79 56 61 6c |on GetCo|untryVal|
|00005bf0| 75 65 4d 45 28 71 72 73 | 29 20 20 3d 32 30 0d 0a |ueME(qrs|) =20..|
|00005c00| 20 20 44 69 6d 20 69 64 | 78 0d 0a 20 20 69 64 78 | Dim id|x.. idx|
|00005c10| 20 3d 33 44 20 71 72 73 | 2e 47 65 74 43 6f 6c 75 | =3D qrs|.GetColu|
|00005c20| 6d 6e 49 6e 64 65 78 28 | 43 4f 4c 55 4d 4e 5f 43 |mnIndex(|COLUMN_C|
|00005c30| 4f 55 4e 54 52 59 5f 4d | 45 2c 20 30 29 0d 0a 0d |OUNTRY_M|E, 0)...|
|00005c40| 0a 20 20 44 69 6d 20 73 | 0d 0a 20 20 73 20 3d 33 |. Dim s|.. s =3|
|00005c50| 44 20 71 72 73 2e 47 65 | 74 52 6f 77 56 61 6c 75 |D qrs.Ge|tRowValu|
|00005c60| 65 28 30 2c 20 69 64 78 | 2c 20 30 29 0d 0a 20 20 |e(0, idx|, 0).. |
|00005c70| 47 65 74 43 6f 75 6e 74 | 72 79 56 61 6c 75 65 4d |GetCount|ryValueM|
|00005c80| 45 20 3d 33 44 20 73 0d | 0a 45 6e 64 20 46 75 6e |E =3D s.|.End Fun|
|00005c90| 63 74 69 6f 6e 0d 0a 0d | 0a 27 20 72 65 74 75 72 |ction...|.' retur|
|00005ca0| 6e 20 74 68 65 20 66 69 | 65 6c 64 20 76 61 6c 75 |n the fi|eld valu|
|00005cb0| 65 20 66 6f 72 20 74 68 | 65 20 22 5a 49 50 22 20 |e for th|e "ZIP" |
|00005cc0| 66 69 65 6c 64 0d 0a 46 | 75 6e 63 74 69 6f 6e 20 |field..F|unction |
|00005cd0| 47 65 74 5a 69 70 56 61 | 6c 75 65 4d 45 28 71 72 |GetZipVa|lueME(qr|
|00005ce0| 73 29 3d 32 30 0d 0a 20 | 20 44 69 6d 20 69 64 78 |s)=20.. | Dim idx|
|00005cf0| 0d 0a 20 20 69 64 78 20 | 3d 33 44 20 71 72 73 2e |.. idx |=3D qrs.|
|00005d00| 47 65 74 43 6f 6c 75 6d | 6e 49 6e 64 65 78 28 43 |GetColum|nIndex(C|
|00005d10| 4f 4c 55 4d 4e 5f 5a 49 | 50 5f 4d 45 2c 20 30 29 |OLUMN_ZI|P_ME, 0)|
|00005d20| 0d 0a 20 3d 32 30 0d 0a | 20 20 44 69 6d 20 73 0d |.. =20..| Dim s.|
|00005d30| 0a 20 20 73 20 3d 33 44 | 20 22 22 0d 0a 20 20 49 |. s =3D| "".. I|
|00005d40| 66 20 69 64 78 20 3e 3d | 33 44 20 30 20 54 68 65 |f idx >=|3D 0 The|
|00005d50| 6e 0d 0a 20 20 20 20 73 | 20 3d 33 44 20 71 72 73 |n.. s| =3D qrs|
|00005d60| 2e 47 65 74 52 6f 77 56 | 61 6c 75 65 28 30 2c 20 |.GetRowV|alue(0, |
|00005d70| 69 64 78 2c 20 30 29 0d | 0a 20 20 45 6e 64 20 49 |idx, 0).|. End I|
|00005d80| 66 20 3d 32 30 0d 0a 20 | 20 47 65 74 5a 69 70 56 |f =20.. | GetZipV|
|00005d90| 61 6c 75 65 4d 45 20 3d | 33 44 20 73 0d 0a 45 6e |alueME =|3D s..En|
|00005da0| 64 20 46 75 6e 63 74 69 | 6f 6e 0d 0a 0d 0a 0d 0a |d Functi|on......|
|00005db0| 0d 0a 3c 2f 53 43 52 49 | 50 54 3e 0d 0a 0d 0a 3c |..</SCRI|PT>....<|
|00005dc0| 46 4f 52 4d 20 6e 61 6d | 65 3d 33 44 66 72 6d 4d |FORM nam|e=3DfrmM|
|00005dd0| 61 69 6e 3e 0d 0a 3c 54 | 41 42 4c 45 20 62 6f 72 |ain>..<T|ABLE bor|
|00005de0| 64 65 72 3d 33 44 30 3e | 0d 0a 20 20 3c 54 42 4f |der=3D0>|.. <TBO|
|00005df0| 44 59 3e 0d 0a 20 20 3c | 54 52 3e 3c 21 2d 2d 3c |DY>.. <|TR><!--<|
|00005e00| 54 44 3e 3c 49 4d 47 20 | 68 65 69 67 68 74 3d 33 |TD><IMG |height=3|
|00005e10| 44 38 31 20 3d 0d 0a 73 | 72 63 3d 33 44 22 66 69 |D81 =..s|rc=3D"fi|
|00005e20| 6c 65 3a 2f 2f 2f 45 3a | 2f 54 4d 50 2f 43 4c 49 |le:///E:|/TMP/CLI|
|00005e30| 45 4e 54 2f 77 63 2f 69 | 6d 61 67 65 73 2f 69 6d |ENT/wc/i|mages/im|
|00005e40| 67 31 5f 73 6d 2e 67 69 | 66 22 3d 32 30 0d 0a 20 |g1_sm.gi|f"=20.. |
|00005e50| 20 20 20 20 20 77 69 64 | 74 68 3d 33 44 32 31 39 | wid|th=3D219|
|00005e60| 3e 3c 2f 54 44 3e 2d 2d | 3e 0d 0a 20 20 20 20 3c |></TD>--|>.. <|
|00005e70| 54 44 3e 0d 0a 20 20 20 | 20 20 20 3c 48 31 3e 26 |TD>.. | <H1>&|
|00005e80| 6e 62 73 70 3b 26 6e 62 | 73 70 3b 20 3c 46 4f 4e |nbsp;&nb|sp; <FON|
|00005e90| 54 20 66 61 63 65 3d 33 | 44 56 65 72 64 61 6e 61 |T face=3|DVerdana|
|00005ea0| 20 63 6f 6c 6f 72 3d 33 | 44 23 34 38 33 64 38 62 | color=3|D#483d8b|
|00005eb0| 3e 57 65 62 3d 32 30 0d | 0a 20 20 20 20 43 6f 6d |>Web=20.|. Com|
|00005ec0| 70 61 6e 69 6f 6e 3c 2f | 46 4f 4e 54 3e 3c 2f 48 |panion</|FONT></H|
|00005ed0| 31 3e 3c 2f 54 44 3e 3c | 2f 54 52 3e 3c 2f 54 42 |1></TD><|/TR></TB|
|00005ee0| 4f 44 59 3e 3c 2f 54 41 | 42 4c 45 3e 0d 0a 3c 50 |ODY></TA|BLE>..<P|
|00005ef0| 3e 3c 46 4f 4e 54 20 73 | 69 7a 65 3d 33 44 33 3e |><FONT s|ize=3D3>|
|00005f00| 3c 49 3e 3c 46 4f 4e 54 | 20 66 61 63 65 3d 33 44 |<I><FONT| face=3D|
|00005f10| 22 41 72 69 61 6c 20 4e | 61 72 72 6f 77 22 20 73 |"Arial N|arrow" s|
|00005f20| 69 7a 65 3d 33 44 33 3e | 3c 49 3e 55 73 65 20 74 |ize=3D3>|<I>Use t|
|00005f30| 68 65 73 65 20 3d 0d 0a | 6c 69 6e 6b 73 20 74 6f |hese =..|links to|
|00005f40| 20 66 69 6e 64 3d 32 30 | 0d 0a 69 6e 66 6f 72 6d | find=20|..inform|
|00005f50| 61 74 69 6f 6e 20 6f 6e | 20 74 68 65 20 77 65 62 |ation on| the web|
|00005f60| 20 66 6f 72 20 74 68 65 | 20 73 65 6c 65 63 74 65 | for the| selecte|
|00005f70| 64 26 6e 62 73 70 3b 43 | 6f 6e 74 61 63 74 20 69 |d C|ontact i|
|00005f80| 6e 20 3d 0d 0a 43 6f 6d | 6d 65 6e 63 65 2e 3c 2f |n =..Com|mence.</|
|00005f90| 49 3e 3c 2f 46 4f 4e 54 | 3e 3d 32 30 0d 0a 3c 2f |I></FONT|>=20..</|
|00005fa0| 49 3e 3c 2f 46 4f 4e 54 | 3e 3c 2f 50 3e 0d 0a 3c |I></FONT|></P>..<|
|00005fb0| 50 3e 0d 0a 3c 54 41 42 | 4c 45 3e 0d 0a 20 20 3c |P>..<TAB|LE>.. <|
|00005fc0| 54 42 4f 44 59 3e 0d 0a | 20 20 3c 54 52 3e 0d 0a |TBODY>..| <TR>..|
|00005fd0| 20 20 20 20 3c 54 44 3e | 3c 49 4e 50 55 54 20 6f | <TD>|<INPUT o|
|00005fe0| 6e 63 6c 69 63 6b 3d 33 | 44 67 65 74 57 28 29 20 |nclick=3|DgetW() |
|00005ff0| 74 79 70 65 3d 33 44 62 | 75 74 74 6f 6e 20 76 61 |type=3Db|utton va|
|00006000| 6c 75 65 3d 33 44 57 65 | 61 74 68 65 72 3e 3c 2f |lue=3DWe|ather></|
|00006010| 54 44 3e 0d 0a 20 20 20 | 20 3c 54 44 3e 3c 49 4e |TD>.. | <TD><IN|
|00006020| 50 55 54 20 6f 6e 63 6c | 69 63 6b 3d 33 44 67 65 |PUT oncl|ick=3Dge|
|00006030| 74 4d 28 29 20 74 79 70 | 65 3d 33 44 62 75 74 74 |tM() typ|e=3Dbutt|
|00006040| 6f 6e 20 76 61 6c 75 65 | 3d 33 44 22 20 20 4d 61 |on value|=3D" Ma|
|00006050| 70 20 20 22 3e 3c 2f 54 | 44 3e 0d 0a 20 20 20 20 |p "></T|D>.. |
|00006060| 3c 54 44 3e 3c 49 4e 50 | 55 54 20 6f 6e 63 6c 69 |<TD><INP|UT oncli|
|00006070| 63 6b 3d 33 44 67 65 74 | 43 28 29 20 74 79 70 65 |ck=3Dget|C() type|
|00006080| 3d 33 44 62 75 74 74 6f | 6e 20 76 61 6c 75 65 3d |=3Dbutto|n value=|
|00006090| 33 44 22 43 6f 6d 70 61 | 6e 79 20 3d 0d 0a 49 6e |3D"Compa|ny =..In|
|000060a0| 66 6f 72 6d 61 74 69 6f | 6e 22 3e 3c 2f 54 44 3e |formatio|n"></TD>|
|000060b0| 0d 0a 20 20 20 20 3c 54 | 44 3e 3c 49 4e 50 55 54 |.. <T|D><INPUT|
|000060c0| 20 6f 6e 63 6c 69 63 6b | 3d 33 44 67 65 74 44 28 | onclick|=3DgetD(|
|000060d0| 29 20 74 79 70 65 3d 33 | 44 62 75 74 74 6f 6e 20 |) type=3|Dbutton |
|000060e0| 3d 0d 0a 76 61 6c 75 65 | 3d 33 44 44 69 72 65 63 |=..value|=3DDirec|
|000060f0| 74 69 6f 6e 73 3e 3c 2f | 54 44 3e 3c 2f 54 52 3e |tions></|TD></TR>|
|00006100| 3c 2f 54 42 4f 44 59 3e | 3c 2f 54 41 42 4c 45 3e |</TBODY>|</TABLE>|
|00006110| 0d 0a 3c 50 3e 3c 21 2d | 2d 0d 0a 2d 2d 3e 3c 2f |..<P><!-|-..--></|
|00006120| 54 42 4f 44 59 3e 3c 2f | 50 3e 3c 21 2d 2d 0d 0a |TBODY></|P><!--..|
|00006130| 3c 46 4f 4e 54 20 73 69 | 7a 65 3d 33 44 33 3e 3c |<FONT si|ze=3D3><|
|00006140| 49 3e 3c 46 4f 4e 54 20 | 66 61 63 65 3d 33 44 22 |I><FONT |face=3D"|
|00006150| 41 72 69 61 6c 20 4e 61 | 72 72 6f 77 22 3e 3c 46 |Arial Na|rrow"><F|
|00006160| 4f 4e 54 20 73 69 7a 65 | 3d 33 44 33 3e 3c 49 3e |ONT size|=3D3><I>|
|00006170| 53 65 61 72 63 68 3d 32 | 30 0d 0a 74 68 65 20 77 |Search=2|0..the w|
|00006180| 65 62 20 66 6f 72 20 4e | 65 77 73 2c 20 49 6d 61 |eb for N|ews, Ima|
|00006190| 67 65 73 2c 20 41 75 64 | 69 6f 20 61 6e 64 20 56 |ges, Aud|io and V|
|000061a0| 69 64 65 6f 20 75 73 69 | 6e 67 20 74 68 65 20 3d |ideo usi|ng the =|
|000061b0| 0d 0a 73 65 6c 65 63 74 | 65 64 26 6e 62 73 70 3b |..select|ed |
|000061c0| 43 6f 6e 74 61 63 74 20 | 69 6e 3d 32 30 0d 0a 43 |Contact |in=20..C|
|000061d0| 6f 6d 6d 65 6e 63 65 2e | 3c 2f 49 3e 3c 2f 46 4f |ommence.|</I></FO|
|000061e0| 4e 54 3e 3c 2f 46 4f 4e | 54 3e 20 3c 2f 49 3e 3c |NT></FON|T> </I><|
|000061f0| 2f 46 4f 4e 54 3e 0d 0a | 3c 50 3e 0d 0a 3c 54 41 |/FONT>..|<P>..<TA|
|00006200| 42 4c 45 3e 0d 0a 20 20 | 3c 54 42 4f 44 59 3e 0d |BLE>.. |<TBODY>.|
|00006210| 0a 20 20 3c 54 52 3e 0d | 0a 20 20 20 20 3c 54 44 |. <TR>.|. <TD|
|00006220| 3e 3c 49 4e 50 55 54 20 | 69 64 3d 33 44 62 75 74 |><INPUT |id=3Dbut|
|00006230| 74 6f 6e 31 20 6f 6e 63 | 6c 69 63 6b 3d 33 44 53 |ton1 onc|lick=3DS|
|00006240| 4e 28 29 20 74 79 70 65 | 3d 33 44 62 75 74 74 6f |N() type|=3Dbutto|
|00006250| 6e 20 76 61 6c 75 65 3d | 33 44 22 20 4e 65 77 73 |n value=|3D" News|
|00006260| 20 3d 0d 0a 22 20 6e 61 | 6d 65 3d 33 44 62 75 74 | =.." na|me=3Dbut|
|00006270| 74 6f 6e 31 3e 3c 2f 54 | 44 3e 0d 0a 20 20 20 20 |ton1></T|D>.. |
|00006280| 54 44 3e 3c 49 4e 50 55 | 54 20 69 64 3d 33 44 62 |TD><INPU|T id=3Db|
|00006290| 75 74 74 6f 6e 32 20 6f | 6e 63 6c 69 63 6b 3d 33 |utton2 o|nclick=3|
|000062a0| 44 53 49 28 29 20 74 79 | 70 65 3d 33 44 62 75 74 |DSI() ty|pe=3Dbut|
|000062b0| 74 6f 6e 20 76 61 6c 75 | 65 3d 33 44 22 20 49 6d |ton valu|e=3D" Im|
|000062c0| 61 67 65 73 20 3d 0d 0a | 22 20 6e 61 6d 65 3d 33 |ages =..|" name=3|
|000062d0| 44 62 75 74 74 6f 6e 32 | 3e 3c 2f 54 44 3e 20 2d |Dbutton2|></TD> -|
|000062e0| 2d 3e 3c 21 2d 2d 3c 2f | 54 52 3e 3c 74 72 3e 2d |-><!--</|TR><tr>-|
|000062f0| 2d 3e 3c 21 2d 2d 20 20 | 20 3d 32 30 0d 0a 20 20 |-><!-- | =20.. |
|00006300| 20 20 3c 54 44 3e 3c 49 | 4e 50 55 54 20 69 64 3d | <TD><I|NPUT id=|
|00006310| 33 44 62 75 74 74 6f 6e | 33 20 6f 6e 63 6c 69 63 |3Dbutton|3 onclic|
|00006320| 6b 3d 33 44 53 41 28 29 | 20 74 79 70 65 3d 33 44 |k=3DSA()| type=3D|
|00006330| 62 75 74 74 6f 6e 20 76 | 61 6c 75 65 3d 33 44 22 |button v|alue=3D"|
|00006340| 20 41 75 64 69 6f 20 3d | 0d 0a 20 22 20 6e 61 6d | Audio =|.. " nam|
|00006350| 65 3d 33 44 62 75 74 74 | 6f 6e 33 3e 3c 2f 54 44 |e=3Dbutt|on3></TD|
|00006360| 3e 0d 0a 20 20 20 20 3c | 54 44 3e 3c 49 4e 50 55 |>.. <|TD><INPU|
|00006370| 54 20 69 64 3d 33 44 62 | 75 74 74 6f 6e 34 20 6f |T id=3Db|utton4 o|
|00006380| 6e 63 6c 69 63 6b 3d 33 | 44 53 56 28 29 20 74 79 |nclick=3|DSV() ty|
|00006390| 70 65 3d 33 44 62 75 74 | 74 6f 6e 20 76 61 6c 75 |pe=3Dbut|ton valu|
|000063a0| 65 3d 33 44 22 20 56 69 | 64 65 6f 20 3d 0d 0a 22 |e=3D" Vi|deo =.."|
|000063b0| 20 6e 61 6d 65 3d 33 44 | 62 75 74 74 6f 6e 34 3e | name=3D|button4>|
|000063c0| 3c 2f 54 44 3e 3c 2f 54 | 52 3e 3c 2f 54 42 4f 44 |</TD></T|R></TBOD|
|000063d0| 59 3e 3c 2f 54 41 42 4c | 45 3e 3c 2f 50 3e 0d 0a |Y></TABL|E></P>..|
|000063e0| 2d 2d 3e 0d 0a 3c 50 3e | 3c 49 4d 47 20 68 65 69 |-->..<P>|<IMG hei|
|000063f0| 67 68 74 3d 33 44 33 20 | 3d 0d 0a 73 72 63 3d 33 |ght=3D3 |=..src=3|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.