General information
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Network:
Windows 2000 Server
Hi Russ.
Probably the quickest way is to create a cursor with a structure that matches your intended Select results, only with all the fields set to allow Nulls and them stick
union select * from FixStructure
into your select (assuming that you called the cursor FixStructure. Now when Fox gathers the structure information it will now that the output fields need to be able to hold Null, and because the FixStructure cursor is empty there isn't any extra data overhead like you would get if you tried to process the result and add Null support later.
Ian Simcock.
>I am trying to use a select statement to create an empty cursor into which I can write data, like:
>
>Select blah, blahh, blahhh FROM blaaaah INTO CURSOR myCursor READWRITE
>
>Unfortunately, I need the fields in the resulting cursor to accept nulls, which they do not. How can I make these fields accept nulls?
>
>TIA
>
>Russ
Previous
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