Koen Piller
Programmer
Hi,
I have this code which does not update
[ul]
[li]The cursor curPermiss5a all fields have values.
The values of the both ID's are equal
aPermis does not show any update errors
My Errorcatcher is not activated
lnRec = 1 [/li][/ul]
and still the fields of the table to be updated, PERMISSION, remains blank
Any clue how to find what is the cause of this unwanted behavior?
I keep on puzzling.
Koen
I have this code which does not update
Code:
Update PERMISSION ;
SET ;
PERMISSION.Permissionnmbr = curPermiss5a.Permissionnmbr , ;
PERMISSION.Permissionfrom = curPermiss5a.Permissionfrom , ;
PERMISSION.Permissiontill = curPermiss5a.Permissiontill , ;
PERMISSION.Permissiondate = curPermiss5a.Permissiondate ;
FROM curPermiss5a ;
WHERE PERMISSION.ID = curPermiss5a.ID
lnRec = _Tally
la = AERROR(aPermis)
If lnRec = 0
lnError = 8
Else
m.llSuccess = Tableupdate(.T.)
Endif
If llSuccess = .F.
lnError = 16
Endif
Select VERZEKNR
[ul]
[li]The cursor curPermiss5a all fields have values.
The values of the both ID's are equal
aPermis does not show any update errors
My Errorcatcher is not activated
lnRec = 1 [/li][/ul]
and still the fields of the table to be updated, PERMISSION, remains blank
Any clue how to find what is the cause of this unwanted behavior?
I keep on puzzling.
Koen