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:17:11
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Divers
Thread ID:
01050571
Message ID:
01057124
Vues:
12
Hi Cetin

>Seeing ppl suggesting ways like this I wonder if FB doesn't support usual parameter passing? ie:

No Firebird is a beautiful thing. I had faced a similar problem to as Kerwam, so to get things working as of deadline I had gone this long way <g>. My advise give FireBird a try you won't regret it VFP and FB seems like they are cousins, if not real brothers/sisters <g>.

It will handle the following and more
>myDate = {^2005/1/1}
?sqlexec(nHandle,'INSERT INTO X (date) values ?m.myDate')>
Seems the bracket in my try was not required around ?m.myDate

>PS: RETURN "'" + TRANSFORM(dtoc(m.tdDate,1), "@R 9999/99/99") + "'"

Thanks for the correction to the function.
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