Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Inserting date into sql or firebird;What is .t. value in
Message
 
À
07/10/2005 08:34:35
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Divers
Thread ID:
01050571
Message ID:
01057133
Vues:
14
Hi Cetin

>Sorry, I sound to be forcing ppl to use ?m.Var style:)

No, no trouble at all, I just didn't want to agree to a method I had not tried, I had only tried it without brackets and it worked, that's all <g>.

> But my only concern is not the formatting. ?m.myVar style could be prepared and executed in a loop where formatted syntax needs to be as is per call (besides handling of formats between VFP and backend). ie:
>
SQLPrepare(m.lnHandle,'INSERT INTO X (date) values ?m.myDate')
>for ix=1 to 10
> m.myDate = date()+m.ix
> SQLExec(m.lnHandle)
>endfor
So backend needs to compile command once.

Yes, I am currently learning SPT more and more, and it get's still interesting by the day. I recently was just able to speed up a couple of SPT by just putting an index on the FB database. I had originally started with tackling it on remote view (lots of C5 in those days) then promoted myself to SPT.
Regards
Bhavbhuti
___________________________________________
Softwares for Indian Businesses at:
http://venussoftop.tripod.com
___________________________________________
venussoftop@gmail.com
___________________________________________
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform