![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hello CDP, My boss pointed out to me yesterday that putting a date processing code in the output conversion attr (7) of a dict item caused the selection criteria on a SELECT to be iconv'd from human format "mm/dd/yy" to internal PICK format. I was more than a lil surprised by this (to say the least) and after some digging I find that 'd' date codes and 'm' mask codes in the output conversion of a dictionary cause an iconv on the select criteria if that dict is used in the comparison (this is according to the warning in the definition of selection criteria in the AP & D3 manuals I use for reference). I did some more looking on this newsgroup and hear that 't' codes in the output conversion field of the dict may also cause the selection criteria to be iconv'd. So my questions... what other codes used in attr7 of a dict cause an iconv on selection criteria (besides 'd' and 'm')? Is this true only in D3 or is the same true in other PICK db's? I tried using a called BASIC sub in attr7 which worked when LIST'ing (did its output conversion) but did not get run when SELECT'ing. Is there any way to force BAISC subs to iconv selection criteria? Thanks much! Tedd |
#3
| |||
| |||
|
|
Hello CDP, My boss pointed out to me yesterday that putting a date processing code in the output conversion attr (7) of a dict item caused the selection criteria on a SELECT to be iconv'd from human format "mm/dd/yy" to internal PICK format. I was more than a lil surprised by this (to say the least) and after some digging I find that 'd' date codes and 'm' mask codes in the output conversion of a dictionary cause an iconv on the select criteria if that dict is used in the comparison (this is according to the warning in the definition of selection criteria in the AP & D3 manuals I use for reference). I did some more looking on this newsgroup and hear that 't' codes in the output conversion field of the dict may also cause the selection criteria to be iconv'd. So my questions... what other codes used in attr7 of a dict cause an iconv on selection criteria (besides 'd' and 'm')? Is this true only in D3 or is the same true in other PICK db's? I tried using a called BASIC sub in attr7 which worked when LIST'ing (did its output conversion) but did not get run when SELECT'ing. Is there any way to force BAISC subs to iconv selection criteria? Thanks much! Tedd |
#4
| |||
| |||
|
#5
| |||
| |||
|
|
Thanks for the informative answers guys! So if I write a conversion subroutine that works in an oconv/iconv and I call that routine in attr7 of a dict, shouldnt ACCESS try to iconv selection criteria through that sub? |
#6
| |||
| |||
|
|
The system has two choices. A) convert 123.45 to intermal format to compare with your data, or B) oconv AA of each data record to output format to compare with the 123.45. The smart choice is to convert your entered data once instead of 1000's of conversions. If it's a simple choice, like D or M, the system makes the leap for you; otherwise it doesn't. I wouldn't expect a complicated CALL to work like that. Mark Brown |

#7
| |||
| |||
|
|
Mark Brown wrote: The system has two choices. A) convert 123.45 to intermal format to compare with your data, or B) oconv AA of each data record to output format to compare with the 123.45. The smart choice is to convert your entered data once instead of 1000's of conversions. If it's a simple choice, like D or M, the system makes the leap for you; otherwise it doesn't. I wouldn't expect a complicated CALL to work like that. Mark Brown So how does the system make its choice? Does it have a set list of processing codes it will run entered data through an iconv? (If so, where does one find such a list? ![]() Thanks for bearing with me yall. I appreciate the help here. I'm finding that these "fundamental truths of Pick" are more like carefully guarded secrets. Pity, because this is the good stuff about PICK imo. |
#8
| |||
| |||
|
|
Hello CDP, My boss pointed out to me yesterday that putting a date processing code in the output conversion attr (7) of a dict item caused the selection criteria on a SELECT to be iconv'd from human format "mm/dd/yy" to internal PICK format. |
|
I was more than a lil surprised by this (to say the least) and after some digging I find that 'd' date codes and 'm' mask codes in the output conversion of a dictionary cause an iconv on the select criteria if that dict is used in the comparison (this is according to the warning in the definition of selection criteria in the AP & D3 manuals I use for reference). I did some more looking on this newsgroup and hear that 't' codes in the output conversion field of the dict may also cause the selection criteria to be iconv'd. So my questions... what other codes used in attr7 of a dict cause an iconv on selection criteria (besides 'd' and 'm')? Is this true only in D3 or is the same true in other PICK db's? I tried using a called BASIC sub in attr7 which worked when LIST'ing (did its output conversion) but did not get run when SELECT'ing. Is there any way to force BAISC subs to iconv selection criteria? |
#9
| |||
| |||
|
|
... in the output conversion attr (7) of a dict ... Tedd |
![]() |
| Thread Tools | |
| Display Modes | |
| |