well i'm new in VFP version 8 (3 weeks) i am migrating from VB 
and now i have problem (rookie problems)
i made a form with a 'mark' database. one of this field is related with the other two fields...i have three fields
1. credits (a numeric) display in txtsks
2. marks (a character A,B,C,D,..and so on)..display in txtnilai
3. Point = credits*marks display in txtpoint
where A = 4,B = 3,C=2 and D =1 and so on
i have made this code and it's seem not working
DO CASE
CASE thisform.pageframe1.page1.txtNilai.Value = 'A'
? thisform.pageframe1.page1.txtPoint.Value = 4 * thisform.pageframe1.page1.txtSks.Value
CASE thisform.pageframe1.page1.txtNilai.Value = 'B'
? thisform.pageframe1.page1.txtPoint.Value = 3 * thisform.pageframe1.page1.txtSks.Value
CASE thisform.pageframe1.page1.txtNilai.Value = 'C'
? thisform.pageframe1.page1.txtPoint.Value = 2 * thisform.pageframe1.page1.txtSks.Value
CASE thisform.pageframe1.page1.txtNilai.Value = 'D'
?thisform.pageframe1.page1.txtPoint.Value=
thisform.pageframe1.page1.txtSks.Value
OTHERWISE
? thisform.pageframe1.page1.txtPoint.Value = 0
ENDCASE
of course is not homeworks Bro..
sorry 4 bad english
and thanks in advance
and now i have problem (rookie problems)
i made a form with a 'mark' database. one of this field is related with the other two fields...i have three fields
1. credits (a numeric) display in txtsks
2. marks (a character A,B,C,D,..and so on)..display in txtnilai
3. Point = credits*marks display in txtpoint
where A = 4,B = 3,C=2 and D =1 and so on
i have made this code and it's seem not working
DO CASE
CASE thisform.pageframe1.page1.txtNilai.Value = 'A'
? thisform.pageframe1.page1.txtPoint.Value = 4 * thisform.pageframe1.page1.txtSks.Value
CASE thisform.pageframe1.page1.txtNilai.Value = 'B'
? thisform.pageframe1.page1.txtPoint.Value = 3 * thisform.pageframe1.page1.txtSks.Value
CASE thisform.pageframe1.page1.txtNilai.Value = 'C'
? thisform.pageframe1.page1.txtPoint.Value = 2 * thisform.pageframe1.page1.txtSks.Value
CASE thisform.pageframe1.page1.txtNilai.Value = 'D'
?thisform.pageframe1.page1.txtPoint.Value=
thisform.pageframe1.page1.txtSks.Value
OTHERWISE
? thisform.pageframe1.page1.txtPoint.Value = 0
ENDCASE
of course is not homeworks Bro..
sorry 4 bad english
and thanks in advance