Hello board...
Can someone give me a little direction? I would like to load a form from a database other than the current database. I would like to get some information from the form such as field events form events.... etc. I have been poking around in the *.ddd files outside the current database but so far haven't been able to find a way to load a form.... maybe ya just cant do that....???
This brings up another question regarding the data dictionaries, including the database *.alb dictionary.
Some of the field values for contents_m are returning hex values... or maybe encrypted hex. Is there anyway to convert them back to text? Below is an example using the database's *alb dictionary queried on scripts. The first script is named "Print Function" the contents look to be in hex. I tried assigning a blob pointer to the field & doing an ascii dump on the blob, but the results weren't what I expected.
So I guess I have a couple of calls for help here.... would appreciate some comments.... Thanks
doug
tbl = dictionary.open("tcp.alb" )
query.order = "type"
query.filter = "type = 'SCRP'"
tbl.fetch_first()
?TBL.field_name_get()
= Name
Type
Contents_c
Contents_m
Vendor
?tbl.TYPE
= "SCRP"
?tbl.NAME
= "Print Function "
?tbl.CONTENTS_M
= 0000 : 23 41 35 23 45 4e 49 47 4d 41 23 33 39 33 39 33
0010 : 39 33 33 39 33 39 33 39 33 39 33 39 33 38 37 33
0020 : 38 32 39 39 31 31 39 32 38 31 31 23 65 01 00 00
0030 : 77 26 02 1e 04 19 52 07 17 0b 4c 01 0d 5e f0 50
0040 : f6 1b 18 10 a0 0a 44 18 e4 ee 5e f5 e1 e1 5b b3
0050 : e0 37 f1 fa b8 ff f4 f0 2f fc f7 28 c5 b9 b7 c4
0060 : 3f e5 81 eb c0 17 36 33 f9 82 c4 3a de f1 c5 2b
0070 : 81 d6 07 93 38 22 da c2 d0 1a c0 dc d4 28 53 02
0080 : 11 49 14 67 78 0f 01 57 46 06 0a 09 51 05 1c 59
0090 : ec 5b f1 f4 ec e2 e3 1f e8 fb e5 e9 a3 f7 37 e6
00a0 : e4 64 ed 5f 54 eb f3 f9 28 f6 b5 bd f7 fe ef 72
00b0 : e7 fa d5 ea d7 f9 be d1 3a f3 de 31 d6 6d 29 c3
00c0 : 8c d8 08 dd c1 d2 d8 d8 d2 08 26 1a 0f 09 04 1f
00d0 : 52 01 18 5a 4d 75 63 02 03 5c 44 19 15 e7 56 06
00e0 : f0 52 ed e5 e2 e4 e5 ec ee 1f ee e2 27 f4 11 4a
00f0 : f6 ec f3 07 f0 ef eb b5 b3 3b fc d4 84 eb f8 d7
0100 : df 2d 04 66 27 c5 c4 cf d9 08 94 c1 cb 51 c4 de
0110 : da de a5 db c9 d8 d1 3d 10 15 1b 0e 0d 1f 12 53
0120 : 41 37 78 f7 07 0e 5f f6 1b 14 11 a6 fe 0d e0 1f
0130 : f4 5e 3d 52 e5 e9 a3 f7 39 f5 f6 b1 ef e9 eb ea
0140 : fc 3c 37 5c 1b 84 f0 f3 e5 81 eb c0 06 2d 08 c2
0150 : 87 cd cc e6 c8 de c7 42 2c 29 99 c2 dc c1 de a4
0160 : f5 fe df de 24 01 0a 16 07 15 47 2c 28 0b 58 12
0170 : 0b 1d 05 a3 0b e2 74 78 aa 0c f0 e5 e5 18 1b f6
0180 : 37 5c 04 ae e1 e3 f1 f6 a7 fc f9 fc 2d 57 5a 5b
0190 : 53 61 6e 29 3f 00
dim pp as b
pp=tbl.CONTENTS_M
?pp.dump("A")
= #A5#ENIGMA#39393933939393939387382991192811#e...w&....R...L..^.P......D...^...[..7....../..(....?.....63...:...+....8".......(S..I.gx..WF...Q..Y.[............7..d._T...(......r........:..1.m)...........&.....R..ZMuc..\D...V..R..........'..J.........;.......-.f'........Q.........=.......SA7x..._..........^=R....9........"7\.........-.........B,)..........$.....G,(.X.......tx........7\..........-WZ[San)?.
Can someone give me a little direction? I would like to load a form from a database other than the current database. I would like to get some information from the form such as field events form events.... etc. I have been poking around in the *.ddd files outside the current database but so far haven't been able to find a way to load a form.... maybe ya just cant do that....???
This brings up another question regarding the data dictionaries, including the database *.alb dictionary.
Some of the field values for contents_m are returning hex values... or maybe encrypted hex. Is there anyway to convert them back to text? Below is an example using the database's *alb dictionary queried on scripts. The first script is named "Print Function" the contents look to be in hex. I tried assigning a blob pointer to the field & doing an ascii dump on the blob, but the results weren't what I expected.
So I guess I have a couple of calls for help here.... would appreciate some comments.... Thanks
doug
tbl = dictionary.open("tcp.alb" )
query.order = "type"
query.filter = "type = 'SCRP'"
tbl.fetch_first()
?TBL.field_name_get()
= Name
Type
Contents_c
Contents_m
Vendor
?tbl.TYPE
= "SCRP"
?tbl.NAME
= "Print Function "
?tbl.CONTENTS_M
= 0000 : 23 41 35 23 45 4e 49 47 4d 41 23 33 39 33 39 33
0010 : 39 33 33 39 33 39 33 39 33 39 33 39 33 38 37 33
0020 : 38 32 39 39 31 31 39 32 38 31 31 23 65 01 00 00
0030 : 77 26 02 1e 04 19 52 07 17 0b 4c 01 0d 5e f0 50
0040 : f6 1b 18 10 a0 0a 44 18 e4 ee 5e f5 e1 e1 5b b3
0050 : e0 37 f1 fa b8 ff f4 f0 2f fc f7 28 c5 b9 b7 c4
0060 : 3f e5 81 eb c0 17 36 33 f9 82 c4 3a de f1 c5 2b
0070 : 81 d6 07 93 38 22 da c2 d0 1a c0 dc d4 28 53 02
0080 : 11 49 14 67 78 0f 01 57 46 06 0a 09 51 05 1c 59
0090 : ec 5b f1 f4 ec e2 e3 1f e8 fb e5 e9 a3 f7 37 e6
00a0 : e4 64 ed 5f 54 eb f3 f9 28 f6 b5 bd f7 fe ef 72
00b0 : e7 fa d5 ea d7 f9 be d1 3a f3 de 31 d6 6d 29 c3
00c0 : 8c d8 08 dd c1 d2 d8 d8 d2 08 26 1a 0f 09 04 1f
00d0 : 52 01 18 5a 4d 75 63 02 03 5c 44 19 15 e7 56 06
00e0 : f0 52 ed e5 e2 e4 e5 ec ee 1f ee e2 27 f4 11 4a
00f0 : f6 ec f3 07 f0 ef eb b5 b3 3b fc d4 84 eb f8 d7
0100 : df 2d 04 66 27 c5 c4 cf d9 08 94 c1 cb 51 c4 de
0110 : da de a5 db c9 d8 d1 3d 10 15 1b 0e 0d 1f 12 53
0120 : 41 37 78 f7 07 0e 5f f6 1b 14 11 a6 fe 0d e0 1f
0130 : f4 5e 3d 52 e5 e9 a3 f7 39 f5 f6 b1 ef e9 eb ea
0140 : fc 3c 37 5c 1b 84 f0 f3 e5 81 eb c0 06 2d 08 c2
0150 : 87 cd cc e6 c8 de c7 42 2c 29 99 c2 dc c1 de a4
0160 : f5 fe df de 24 01 0a 16 07 15 47 2c 28 0b 58 12
0170 : 0b 1d 05 a3 0b e2 74 78 aa 0c f0 e5 e5 18 1b f6
0180 : 37 5c 04 ae e1 e3 f1 f6 a7 fc f9 fc 2d 57 5a 5b
0190 : 53 61 6e 29 3f 00
dim pp as b
pp=tbl.CONTENTS_M
?pp.dump("A")
= #A5#ENIGMA#39393933939393939387382991192811#e...w&....R...L..^.P......D...^...[..7....../..(....?.....63...:...+....8".......(S..I.gx..WF...Q..Y.[............7..d._T...(......r........:..1.m)...........&.....R..ZMuc..\D...V..R..........'..J.........;.......-.f'........Q.........=.......SA7x..._..........^=R....9........"7\.........-.........B,)..........$.....G,(.X.......tx........7\..........-WZ[San)?.
Comment