Nitrodamsel
Programmer
I got an error whenever I Run my Program
Please Help me..
PUBLIC t1, t2
SET DECIMALS TO 2
SET FIXED ON
CLEAR
save=messagebox("Salary Computed!",64,"Calculation Results")
verify=1
*The content of the TEXTBOX is
*datetime(2010, 3, 11, 7, 30, 0) <-- TXTTIME
*datetime(2010, 3, 11, 17, 30, 0) <-- TXTTIMEOUT
*This computes for the Salary
t1 = thisform.pgfmain.pgsalview.txttime.value
t2 = thisform.pgfmain.pgsalview.txttimeout.value
thisform.refresh
*This returns the value of the combo box IDK
*why i got an error
*Content of Combo box cmbPosition
*200
*150
*100
*50
s = thisform.pgfmain.pgsalview.cmbPosition.value
thisform.pgfmain.pgsalview.txtdaily.value = ((t2 - t1) / 3600) * s
y = (((t2 - t1) / 3600) * s)*30
x = thisform.pgfmain.pgsalview.txtdaily.value
y = thisform.pgfmain.pgsalview.txtmonthly.value
z = thisform.pgfmain.pgsalview.txttaxes.value
thisform.pgfmain.pgsalview.txttotal.value = y - z
I GOT AN DATA ERROR MISMATCH
Please Help me..
PUBLIC t1, t2
SET DECIMALS TO 2
SET FIXED ON
CLEAR
save=messagebox("Salary Computed!",64,"Calculation Results")
verify=1
*The content of the TEXTBOX is
*datetime(2010, 3, 11, 7, 30, 0) <-- TXTTIME
*datetime(2010, 3, 11, 17, 30, 0) <-- TXTTIMEOUT
*This computes for the Salary
t1 = thisform.pgfmain.pgsalview.txttime.value
t2 = thisform.pgfmain.pgsalview.txttimeout.value
thisform.refresh
*This returns the value of the combo box IDK
*why i got an error
*Content of Combo box cmbPosition
*200
*150
*100
*50
s = thisform.pgfmain.pgsalview.cmbPosition.value
thisform.pgfmain.pgsalview.txtdaily.value = ((t2 - t1) / 3600) * s
y = (((t2 - t1) / 3600) * s)*30
x = thisform.pgfmain.pgsalview.txtdaily.value
y = thisform.pgfmain.pgsalview.txtmonthly.value
z = thisform.pgfmain.pgsalview.txttaxes.value
thisform.pgfmain.pgsalview.txttotal.value = y - z
I GOT AN DATA ERROR MISMATCH