Symptom:
The error provided the following details:
Version: 7.1.00, Build Date: 06/28/2010
Number: 11
Message: Function argument value, type, or count is invalid.
Line: 1352
Program: V0PL1.PF.PAYPAGE.PYMTAREA.PYMTGRID.RESTORESETTINGS
Cause:
Corrupted Profile record for one user (e.g. user login name = ‘DAVID’)
Resolution:
1. Login as administrator
2. Go to Help > Command mode
3. Execute commands below using Command Entry Window:
5. Login as ‘DAVID’
2. Go to Help > Command mode
3. Execute commands below using Command Entry Window:
VFP Client commands:
Select 0
Select * from rdata\profile where pr_uid= ‘DAVID’
Delete from rdata\profile where pr_uid= ‘DAVID’
SQL Client commands:
Select 0
?sqlexec(1,”Select * from profile where pr_uid= ‘DAVID’ “)
?sqlexec(1,”Delete from profile where pr_uid= ‘DAVID’ “)
4. Type Exit to close Command Entry WindowSelect 0
Select * from rdata\profile where pr_uid= ‘DAVID’
Delete from rdata\profile where pr_uid= ‘DAVID’
SQL Client commands:
Select 0
?sqlexec(1,”Select * from profile where pr_uid= ‘DAVID’ “)
?sqlexec(1,”Delete from profile where pr_uid= ‘DAVID’ “)
5. Login as ‘DAVID’