Kingsto88
12th March 2007, 06:21
MY DAL LOOKS LIKE THIS
#include <bic_dal>
table ttccom899 | Items
function extern long tccom899.item.is.derived(long has_changed)
{
return(true)
}
function extern long tccom899.item.is.valid(long has_changed)
{
if tccom899.item = "NULL" and has_changed then
|dal.set.error.message("tccom0001")
|* Purchase Price must be greater than zero
return(false)
endif
return(true)
}
BUT WHEN I COMPILE IT GIVES ERROR 'Only statements expected in sections'
WHAT MUST I DO NOW? WHAT DID I MISSED?
thanks and regards
#include <bic_dal>
table ttccom899 | Items
function extern long tccom899.item.is.derived(long has_changed)
{
return(true)
}
function extern long tccom899.item.is.valid(long has_changed)
{
if tccom899.item = "NULL" and has_changed then
|dal.set.error.message("tccom0001")
|* Purchase Price must be greater than zero
return(false)
endif
return(true)
}
BUT WHEN I COMPILE IT GIVES ERROR 'Only statements expected in sections'
WHAT MUST I DO NOW? WHAT DID I MISSED?
thanks and regards