Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Bizzare Behaviour in Remote View setting
Message
 
To
27/09/2006 06:37:48
Aaron K. Y. Chu
Health & Care Co. Ltd.
Hong Kong, Hong Kong
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
01157425
Message ID:
01157428
Views:
27
>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform