
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Accepted Solutions

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hi Bencz,
The following code should work:-
$set sourceformat"variable"
$set ilusing"SocialExplorer.IO.FastDBF"
program-id. Program1 as "ConsoleApplication2.Program1".
data division.
working-storage section.
01 odbf type DbfFile.
procedure division.
set odbf to new DbfFile()
invoke odbf::Open("test.dbf" , type System.IO.FileMode::Create)
invoke odbf::Header::AddColumn("test1", type DbfColumn+DbfColumnType::Character , 10 , 0)
goback.
end program Program1.
The enum is defined within the DbfColumn class.
Regards
David

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hi Bencz,
The following code should work:-
$set sourceformat"variable"
$set ilusing"SocialExplorer.IO.FastDBF"
program-id. Program1 as "ConsoleApplication2.Program1".
data division.
working-storage section.
01 odbf type DbfFile.
procedure division.
set odbf to new DbfFile()
invoke odbf::Open("test.dbf" , type System.IO.FileMode::Create)
invoke odbf::Header::AddColumn("test1", type DbfColumn+DbfColumnType::Character , 10 , 0)
goback.
end program Program1.
The enum is defined within the DbfColumn class.
Regards
David