try to also specify the database name and in any case make sure that the
database it open
btw, you can also use a Dataenvironment provided you create it in code
Arnon
>
>Because In Form.load
>
>I want to use view:
>
>* FormCreateObj1.Load
>Use MyView in 0
>
>* the above line cause error that c:\MyProject\MyView.dbf not found!
>* but I only know: Use ViewName to open view
>
>THis make me disappointed as it Seem I need to move my CreateObject()
>Version back to DO FORM version to handle it.
>
>2nd, the above test is totally different in running on VFP and real
>Executable file!! It will surely make progr hard to manage as they
>don't work the same as tracing in VFP!!
>
>I will got great trouble as most my Form, formset class has well defined in
VCX but need to move backward to DO FORM version!
>
>Since user need to update the base table, R/W cursor object will make
>more question on update base table and I will discourage to use.
>
>if only for read only, I use SElect-SQL cursor to avoid update!
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement