?
Solved

problems with appending text file to dbase

Posted on 1998-12-13
2
Medium Priority
?
194 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 

Accepted Solution

by:
yfhe earned 20 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Suggested Courses

770 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