Hi all,
Have the following piece of innocuous code which works fine when processing the first record then throws up access violations on the second - any ideas?
if (ODS2.FieldValues['Hist_Status']='Started') then
ActiveFlg:= True
else
ActiveFlg:= False;
If I insert a break at the first line and step through the code the following hint appears if the cursor is placed over the 'then' -
'Access violation at 40002269 accessing 3F43B8B3'
followed by an error box with the following message -
'access violation at 0x77f7d9f2: write of address 0x00030fc0'
I'm not writing anything - just reading!!
Please help - everything else works fine...
Have the following piece of innocuous code which works fine when processing the first record then throws up access violations on the second - any ideas?
if (ODS2.FieldValues['Hist_Status']='Started') then
ActiveFlg:= True
else
ActiveFlg:= False;
If I insert a break at the first line and step through the code the following hint appears if the cursor is placed over the 'then' -
'Access violation at 40002269 accessing 3F43B8B3'
followed by an error box with the following message -
'access violation at 0x77f7d9f2: write of address 0x00030fc0'
I'm not writing anything - just reading!!
Please help - everything else works fine...