General information
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Delete blank row from cursor
Environment versions
Network:
Windows 2000 Server
Hi there,
I create a cursor with a number of rows to populate a combobox. A blank row always gets in and I want to get rid of it. Here is my code.
SELECT DISTINCT cWorkType FROM c_list INTO CURSOR c_WorkTypes readwrite
INSERT INTO c_WorkTypes VALUES ('All')
DELETE FOR cWorkType == ""
Instead of "" I tried null but the blank is always there.
Any hep would be much appreciated,
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only