![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
This enables the programmer to add fields to the database where additional info will be stored. unmodified dbase code will still run because it ignores the additional fields. Generally speaking coud I do this to .db files and should existing code still run without change? |
|
Hello all, just a general question. I have a program written apparently in delphi that uses .db files ( they say that these are paradox files.) I need to go a long way round to get to the question. I program in dbase 4.2 and one of the things that dbase allows is that the programmer may change the structure of the database file by adding or taking out fields or changing the field length. This enables the programmer to add fields to the database where additional info will be stored. unmodified dbase code will still run because it ignores the additional fields. Generally speaking could I do this to .db files and should existing code still run without change? The program that I have has a stock file and I need to add more fields to the table to cater for some specific requirements that I have. I will be adding the data to the table using dBASE PLUS but the original code that used the same database table will still be used to do the accounting |
#3
| |||
| |||
|
|
Generally speaking could I do this to .db files and should existing code still run without change? |
#4
| |||
| |||
|
|
You might consider keeping all you new fields in separate tables, and doing your own "linking" back to the old tables. It'll be a little more work for you, but you won't screw up the existing apps. |
#5
| |||
| |||
|
|
This is the best advice you can get for extending an application for which you don't have control over the code or GUI. Liz Mike Kennedy wrote: You might consider keeping all you new fields in separate tables, and doing your own "linking" back to the old tables. It'll be a little more work for you, but you won't screw up the existing apps. |
![]() |
| Thread Tools | |
| Display Modes | |
| |