General information
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Network:
Windows 2000 Server
Thank you for all the replies everyone. I don't know what I would do without all the great help here.
>Randy,
>
>I've worked around this by adding a row to the array and defining the field name, type, size, etc. in the new array row prior to creating the cursor.
>
>Jim Fisher
>
>
>>Quick response - thank you. I still must be missing something though. I changed the column name to be less than 10 characters - even the field itself is a c(10) now and I get a different error message: Invalid operation for the cursor.
>>
>>>>You guys have been very helpfull in the past. Thank you ahead of time for any responses.
>>>>
>>>>I am trying to add a column to a cursor created by the Afields command but I am getting the error message on the alter statement: Field name is a duplicate or invalid.
>>>>
>>>>Select invoiceitems
>>>>ordnumfields = Afields(orditemfieldarray)
>>>>Create Cursor orditemview From Array orditemfieldarray
>>>>alter table orditemview add column toplevelitem c(20)
>>>>
>>>>-Randy
>>>
>>>AFAIK the problem was discussed here and you can not alter cursor to add a field with more than 10 chars.
Previous
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