Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 112

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 112
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3368: Cannot modify header information - headers already sent by (output started at /includes/bbcode.php:472)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3370: Cannot modify header information - headers already sent by (output started at /includes/bbcode.php:472)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3371: Cannot modify header information - headers already sent by (output started at /includes/bbcode.php:472)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3372: Cannot modify header information - headers already sent by (output started at /includes/bbcode.php:472)
OrbWorks Community Forum • View topic - address.oc and datebook.oc

address.oc and datebook.oc

Discuss OrbForms Designer and PocketC Architect

Postby jerver on Thu Feb 23, 2006 12:23 pm

Address.oc does not function properly in Orbforms 4. I solved this by changing "pstr = (string*)&addr;" into "pstr = &addr.lastName;". With this modification the utilcode address.oc works well.

Now I need to access the datebookDB. Therefore I wondered if someone has made a utilcode or native add-in for writing to and reading from Datebook.DB. A start or suggestions are welcome as well.

Thx!
Jeroen
jerver
 
Posts: 1
Joined: Fri Feb 17, 2006 1:45 pm

Postby mlambrigger on Thu Feb 23, 2006 2:35 pm

I've tried to do something, but it's quite complicated. At the moment I have those data on the problem:

Code: Select all
ApptDateTimeType   when;
  TimeType   startTime;   // Time the appointment starts
    uint16_t   hours     :8;   
    uint16_t   minutes :8;   
  TimeType   endTime;   // Time the appointment ends
    uint16_t   hours     :8;   
    uint16_t   minutes :8;   
  DateType   date;   // date of appointment
    uint16_t   year  :7;   // years since 1904 (MAC format)
    uint16_t   month :4;   
    uint16_t   day   :5;
  Boolean   midnightWrapped;   // true if the event is     wrapped around midnight
  Boolean    noTimeEvent;   // true if the event is an untimed one
  char   timeZoneName[TZNAME_MAX];   // Appointment Time Zone
  AlarmInfoType      alarm;
    int8_t   advance;   
    Alarm advance (-1 = no alarm)
  AlarmUnitType   advanceUnit;
    0: minutes,
    1: hours,
    2: days
  RepeatInfoType      repeat;
    RepeatType   repeatType;   
      0: repeatNone,
      1: daily,
      2: weekly,
      3: monthlyByDay,
      4: monthlyByDate
      5: annualyByDate
    uint8_t   repeatFrequency;   // i.e. every 2 days if    repeatType daily
    DateType   repeatEndDate;   // minus one if forever
    uint16_t   year  :7;   // years since 1904 (MAC format)
    uint16_t   month :4;
    uint16_t   day   :5;
    uint8_t   repeatOn;   // monthlyByDay and repeatWeekly only
    uint8_t   repeatStartOfWeek;   // repeatWeekly only
  ExceptionsListType   exceptions;
    uint32_t    numExceptions;
    DateType *   exceptionsDatesP;
  char *   description;   // description
  char *   location;      // location if present
  char *   note;         // note

<hr noshade size="1">
Defined on the palm simulator 5.4. The version 6 is completly different.

So good luck.

Marc Lambrigger
Marc Lambrigger
mlambrigger
 
Posts: 113
Joined: Fri Feb 13, 2004 11:07 am
Location: Switzerland


Return to OrbForms Designer and PocketC Architect

Who is online

Users browsing this forum: No registered users and 5 guests

cron