Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Bizzare Behaviour in Remote View setting
Message
 
À
27/09/2006 06:37:48
Aaron K. Y. Chu
Health & Care Co. Ltd.
Hong Kong, Hong Kong
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
01157425
Message ID:
01157428
Vues:
28
>In creating the remote view... I add a field called "END_TIME" by multiple Field "appt_duration" by 60 AND adding a datetime field called "Appt_time" as follows:
>
>
>SELECT Appt_table.id, Appt_table.case_no, Appt_table.appt_time,;
>  Appt_table.appt_duration, Appt_table.cliniccode, Appt_table.remark,;
>  Appt_table.appt_time+ Appt_table.appt_duration*60 as end_time;
> FROM appt_table Appt_table;
> WHERE  Appt_table.appt_time BETWEEN ?weekday1 AND ?weekday2;
> ORDER BY Appt_table.appt_time, Appt_table.cliniccode
>
>
>I try to set the field "END_TIME" to datetime rather than B(2), but there is an error say I need to convert to other datatype?!

What is your Remote DataBase? What version of VFP you use?
Also what types are Appt_table.appt_time and Appt_table.appt_duration fields?
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform