Ian
2007-10-09 11:45:06 UTC
Hi all,
I am re-writing my apps to bring them more up to date. I have decided
to re-write the whole lot as there is a lot of old and bad code in the
current version that I want to get rid of. I am writing the new one as
a dbf/cdx system with a view that I will produce an sql version at a
later date.
I am doing the dbf/cdx first as I am familiar with that code and most
of my customers wont move to sql but I still need amore up to date and
more compact version of the current system hence the rewrite.
To try and make the move to sql easier I have created my window so it
does not create the access/assign methods. I am then accessing the
sle's on the window using fieldget and fieldput. My question is this,
am I right to stop the window generating acess and assigns and am I
write to use fieldget and fieldput from the start if I want to move
the code to sql at a later date.
Second question is I have seen a lot about not using the dbserver
editor as it should be avoided if moving to sql at a later stage. How
do you actually get your servers without using the dbserver editor.
I know I am doing twice the work dbf and sql but I have to do a dbf
version update for some customers (hence the complete re-write) but I
want to make sure the re-write I am doing is done in a way that makes
the later move to sql as easy as it can be.
Any help would be appreciated.
Regards,
Ian
I am re-writing my apps to bring them more up to date. I have decided
to re-write the whole lot as there is a lot of old and bad code in the
current version that I want to get rid of. I am writing the new one as
a dbf/cdx system with a view that I will produce an sql version at a
later date.
I am doing the dbf/cdx first as I am familiar with that code and most
of my customers wont move to sql but I still need amore up to date and
more compact version of the current system hence the rewrite.
To try and make the move to sql easier I have created my window so it
does not create the access/assign methods. I am then accessing the
sle's on the window using fieldget and fieldput. My question is this,
am I right to stop the window generating acess and assigns and am I
write to use fieldget and fieldput from the start if I want to move
the code to sql at a later date.
Second question is I have seen a lot about not using the dbserver
editor as it should be avoided if moving to sql at a later stage. How
do you actually get your servers without using the dbserver editor.
I know I am doing twice the work dbf and sql but I have to do a dbf
version update for some customers (hence the complete re-write) but I
want to make sure the re-write I am doing is done in a way that makes
the later move to sql as easy as it can be.
Any help would be appreciated.
Regards,
Ian