AnuKass
12th June 2018, 10:27
hii...
i'm new for LN programming ...
here my program..
select * from tccom951
where (select count(*) from tccom951) < 1
selectdo
enable.commands(add.set)
selectempty
disable.commands(add.set)
endselect
but it's not working ...
did i any mistake here???
pls help me...:confused:

becks2203
12th June 2018, 12:38
Hi wat you are trying to achieve here ..If you could tell please

AnuKass
12th June 2018, 13:23
i'm try to insert max of one record in a table
if one record inserted add.set command will be disable otherwise enable ..
i found it ...
select count(*):row from tccom951
endselect
if row < 1 then
enable.commands(add.set)
else
disable.commands(add.set)
endif
it's work perfectly ....:):)