Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Need program to midify databases
Message
 
 
À
26/02/1998 05:15:41
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00081093
Message ID:
00082145
Vues:
41
>"Modify structure" can be used from an exe (although I prefer SQL series).
>I don't know how to get a command window, there are utilities doing it somewhere but don't remember.
>But there is another way (more than one in fact) :
>- You could put modify structure etc on a separate exe and run it on access.
>- You could have an evaluator routine in your exe. I mean you could write some commands in an edit window and execute them by & or eval(). This would have some problem that every command you used there should be existed in your app or error occurs (you could use clauses rather than commands though ie: Label "select" just get the rest of select in edit and execute "select &myeditboxcontents").
>- You could have a form with commands that would be used in process and editboxes, optiongroups, listboxes to build the syntax and execute (something like above).
>- Finally maybe the easiest for a remote control, you could have something like this in your app:
>
>m.commandfile = getfile()
>if !empty(m.commandfile)
>   do (m.commandfile)
>endif
>
>So instead of having command window on remote, you write code in local, compile as fxp or app, upload and call this via remote control.
>Cetin

I made a command window as part of the program. Now I just hit F4 and I can modify the databases, or do whatever I want. Works great!

Thanks to everyone for all your help,
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform