main logo
Subject: Need help with setting cursor field values.
Author: Kevin Windham
Posted: 2001/05/29 09:06:20
 
View Entire Thread
New Search


When using fields from a BaseObject, such as a time or date field, you have
access to the components of the date and time such as the day or hour. When
you do a search you end up with a cursor. So far I have only been able to
figure out how to get or set a string from/to these fields.

Is there a way to coerce the cursor field to an actual time or date field so
I can set or get the components individually.

For example,

Vcursor.field("StartTime").hour=8

This is in RealBasic, and that line of code fails, but that is what I would
like to do.


Thanks,
Kevin


-------------------------------------------------------------
The Valentina mailing list is brought to you by MacServe.net
For info on lists services, see http://www.macserve.net/lists.html
 
©2001 Kevin Windham
<-- Prior Message New Search Next Message -->