PDA

View Full Version : VB6 using ADO and a DATAGRID



Guest.Visitor
01-01-1995, 02:00 AM
I have managed with CA 3.2 to view and AS/400 file using ADO with a DATAGRID. It seems to work OK execpt with a "signed number" field. On the signed number I get garbage and it looks like it corrupts the next field in the grid too. Any ideas? THANKS IN ADVANCE, BILL

Guest.Visitor
10-19-2000, 03:04 PM
Bill, It sounds as if you are dealing with a file without a language ID. The default is CHRID 65535 and the default for file transfers is to NOT translate this ID. I think you have 2 options at this point: 1. Figure out how to have your data connection translate the 65535. In Client Access transfers and ODBC datasource names there are parameters that can be set for this. 2. Set the file id to something "real". The id for US English is 37. There is a system setting and a file setting for this. If you do a search for CHRID in these forums, you should find instructions on how to go about this. Bill