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

Aaron Chu

********************************************************

Working with Visual FoxPro is a lot of FUN!

********************************************************
Next
Reply
Map
View

Click here to load this message in the networking platform