MyNeckHurts
Programmer
I have had to change several Oracle table field lengths and types from CHAR to VARCHAR(2). I ran a rtrim on all of the tables and fields in Oracle after the change. The problem comes when I pass the table structure from Oracle to VFP (see below).
local array laField[1]
aFields(laField, tcAlias)
create cursor (tcCursorName) from array laField
I end up with extra spaces in the VFP cursor fields that were converted in Oracle. I pass some of the values in other queries and even though I rtrim or alltrim them the spaces remain. I think that VFP is not seeing them spaces but as some sort of block.
Is there a way to trim off the extra spaces or whatever they are from the cursor fields?
local array laField[1]
aFields(laField, tcAlias)
create cursor (tcCursorName) from array laField
I end up with extra spaces in the VFP cursor fields that were converted in Oracle. I pass some of the values in other queries and even though I rtrim or alltrim them the spaces remain. I think that VFP is not seeing them spaces but as some sort of block.
Is there a way to trim off the extra spaces or whatever they are from the cursor fields?