Hi... Good day to eveyone... i have been stucked in this...
PROCEDURE text1.interactivechange
this.parent.text1.value = SPACE(10)
SET SAFETY OFF
SET CONFIRM off
SET TALK off
SET ECHO off
*SET ESCAPE OFF
SELECT 1
USE sms ALIAS tsulat
INDEX on idnum TO idnumx
ctr = 0
SEEK this.Parent.text1.value
IF FOUND()
this.Parent.text1.value = TRIM(tsulat.idnum)
this.parent.text2.value = TRIM(tsulat.sname) + + "," + CHR(13) + TRIM(tsulat.fname)
this.Parent.text3.value = TRIM(tsulat.mobile)
this.Parent.text4.value = TRIM(tsulat.grade)
nctr = ctr
Even if im not yet done with entering 10 characters in text1, it always says record not found....why is it it only accepts one character only and not ten as initialized.... kind of new in vfp 9.. thanks in advanced for your help....
PROCEDURE text1.interactivechange
this.parent.text1.value = SPACE(10)
SET SAFETY OFF
SET CONFIRM off
SET TALK off
SET ECHO off
*SET ESCAPE OFF
SELECT 1
USE sms ALIAS tsulat
INDEX on idnum TO idnumx
ctr = 0
SEEK this.Parent.text1.value
IF FOUND()
this.Parent.text1.value = TRIM(tsulat.idnum)
this.parent.text2.value = TRIM(tsulat.sname) + + "," + CHR(13) + TRIM(tsulat.fname)
this.Parent.text3.value = TRIM(tsulat.mobile)
this.Parent.text4.value = TRIM(tsulat.grade)
nctr = ctr
Even if im not yet done with entering 10 characters in text1, it always says record not found....why is it it only accepts one character only and not ten as initialized.... kind of new in vfp 9.. thanks in advanced for your help....