Hi there,
Hope someone can help me out here:
I have a table tblxx_Fees in which there is are 2 fields Hrs(double) and Amount (currency)
Hrs Amount
1 10€
1,5 17€
,5 4€
etc.
Now when in the billing ,5 is entered as the Hrs, I want to check if there is any Fee available for the number of hrs.
Set recs = db.OpenRecordset("Select * from tblxx_Fee where tbl_KIGA_ID=" & Me.Parent!tbl_kiga_id)
recs.FindFirst "[Hrs]= " & Me.Hrs
If recs.NoMatch Then.....
This works fine for whole numbers, but the error I get says "Syntax error (comma) . Is there anyway around this?
Thanks
M
Hope someone can help me out here:
I have a table tblxx_Fees in which there is are 2 fields Hrs(double) and Amount (currency)
Hrs Amount
1 10€
1,5 17€
,5 4€
etc.
Now when in the billing ,5 is entered as the Hrs, I want to check if there is any Fee available for the number of hrs.
Set recs = db.OpenRecordset("Select * from tblxx_Fee where tbl_KIGA_ID=" & Me.Parent!tbl_kiga_id)
recs.FindFirst "[Hrs]= " & Me.Hrs
If recs.NoMatch Then.....
This works fine for whole numbers, but the error I get says "Syntax error (comma) . Is there anyway around this?
Thanks
M