Solved

problems with appending text file to dbase

Posted on 1998-12-13
2
186 Views
Last Modified: 2010-04-04
What if you have a dBASE file with a date field and
when you do append date to that file from a text file that
contains a date value of zero?  

I am using Topaz for my database engine so i guess this
differs.  I use the statement AppendFromSDF and i get
an error message saying 00/00/00 is an invalid date.
I can append using dbase III using the same files.
Don't know what to do.
can anybody help?
thanks
0
Comment
Question by:waipahu
2 Comments
 

Accepted Solution

by:
yfhe earned 10 total points
ID: 1350827
Maybe the date format is wrong.The date format is based on what your computer system is set.For example, the date format of  my computer system is "yy-M-d",so when I input "97-11-12" and "97/11/12",that is Nov 12,1997,they are both correct.Please try it.
0
 
LVL 1

Expert Comment

by:BlackDeath
ID: 1350828
or try to use a

try
  append_gnagnagna
except
  // do nothing
end;

block around the posting proc, that should prevent the occurence of the error-message (at least, in my paradox-apps it worx with adding a zero-date and zero-time to a date/time-field).

Black Death.
0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Suggested Solutions

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
This video discusses moving either the default database or any database to a new volume.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

759 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now