Board index » delphi » Empty Memo causes crash w/ InterBase, Delphi 4
Dave Prothero
![]() Delphi Developer |
Wed, 18 Jun 1902 08:00:00 GMT
Empty Memo causes crash w/ InterBase, Delphi 4
1. I have Delphi 4 C/S along with the BDE, InterBase Client and InterBase
server that came with my Delphi 4 CD. 2. I add a BLOB field to the EMPLOYEE table in the IBLOCAL sample database ALTER TABLE EMPLOYEE ADD NOTES BLOB SUB_TYPE 1 3. I create a new project in D4 and drop a TQuery with DatabaseName=IBLOCAL UPDATE EMPLOYEE 4. Then, I drop a TButton on the form and attach the following code: Query1.ParamByName('SALARY').AsFloat := 100000; 5. I get an ACCESS VIOLATION when ExecSQL runs. I was getting this with my applications where I was using a TUpdateSQL Query1.ParamByName('SALARY').AsFloat := 100000; (sigh) I wish I knew what was happening. I've tried this on multiple workstations Does anyone have any ideas? This appears to be a bug. (btw, I have installed TIA, Dave Prothero |