🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.vdbase.deployment
2 messages
2 total messages Started by COMPUTER SERVICES Mon, 01 Feb 1999 00:00
Date entry in VDB 5.6 deployed application
#200
Author: COMPUTER SERVICES
Date: Mon, 01 Feb 1999 00:00
22 lines
1242 bytes
I have a built a deployed application in vdb 5.6 successfully used for
several years.
Date entry fields had only two digit years.
A bringup entry for 13 Jan 2000  was entered 13/01/00  and recorded as
13/01/1900.
The solution was to set century on for each form in the application and
recompile. eg
CLASS MAILFORM OF FORM
   Set Procedure To C:\VISUALDB\SAMPLES\BUTTONS.CC additive
   this.View = "MAIL.QBE"
   this.Text = "Edit Mail"
   this.Left = 0.833
   this.ColorNormal = "0xffff80"
   this.Top = 0.1758
   this.PageNo = 2
   this.Height = 25.4111
 this.Width = 126
   set century on .

I have since updated all my applications thus .
I recommend that others do the same else there will be trouble with
dates
Re: Date entry in VDB 5.6 deployed application
#203
Author: Ken Mayer [TeamB]
Date: Mon, 01 Feb 1999 00:00
22 lines
1202 bytes
COMPUTER SERVICES <postmaster@transitnz.govt.nz> wrote:

>I have a built a deployed application in vdb 5.6 successfully used for
>several years.
>Date entry fields had only two digit years.

In Visual dBASE 5.6 there's a better solution, or even better you can
do a combination: 

Try: SET CENTURY ON and SET EPOCH TO 1950

(help on SET EPOCH is in the readme file that was installed with
Visual dBASE 5.6 when you ran the patch software).

Ken
---
Ken Mayer [TeamB]
Golden Stag Productions
http://www.mindspring.com/~hirschv/homepage.htm
http://www.mindspring.com/~hirschv/dbase/dbase.htm
Visual dBASE and InterBase WebRing - http://www.fghoche.com/dbasering.htm
TeamB: http://www.teamb.com
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads