Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Error Base 1082

Status
Not open for further replies.

hsylves

Programmer
May 2, 2001
11
US
I'm getting the following error:
Error Base 1082 Argument Error: -
I only get it when running the program within a certain date range of data.
Here's the kicker, I not allowed to recompile the application even if I had to because it's been badly maintained for so long and is on its way out anyway.
Could this be a data issue, everything I read says it's the application.
Any help would be appreciated.
 
I'd agree that it's data related. If you can't recompile to get debug active, then you need to examine the records that fall within that date range and review, field by field, the record contents. Assuming this is a dBase file, make a copy of it, then open the copy with Excel.

Good luck
 
You are perfoming an operation with the minus (-) sign, but the arguments used are of incompatible types, so, maybe your data is corrupted or changed in some form.

If you had the source, review it to try to discover the faulty operation.
 
Thanks - I've checked that out. Now I'm having a problem in another file all of a sudden for no apparent reason. Guess it's just not my week.
Question though - if a certain someone who shouldn't even be in the files is perhaps in my production directory and says that they are only copying but may be opening my files, this could lead to corruption -yes? This is an ongoing problem for me.
 
HI,

THIS PROBELM ERROR 1082, ARGUMENT ERROR, MEANS
UR "DATE" FIELD "TYPE" HAVE BEEN CHANGE TO CHARACTER, OR NUMERIC, THAT IS WHY THIS ERROR IS COMING, SO THERE IS A CHANCE THE DATA MAY BE LOST FOR THIS DATE FIELD. SO YOU HAVE TO CHANGE IT IN DATE TYPE, BUT WITHOUT OPENING FILE HOW YOU CAN MANAGE IT. OK U CAN MAKE A COPY OF THIS FILE, AND TRY TO CHANGE DATE FIELD IN IT ORIGINAL FIELD TYPE THAT IS DATE, IF THERE ARE DATA IN DATE FIELD PL INSERT NEW FIELD OF DATE TYPE, AND REPLACE OLD DATE FIEL WITH CTOD(OLD DATE FILED) COMMNAND WITH NEW FIELD. AFTER SUCESSFUL REPLACE MENT YOU CAN DELETE CORRUPTED FIELD, AND RENAME NEW FIELD WITH ITS ORIGINAL NAME.

ALOK
 
If you open files with Excel and save them you often get changes in the data types of fields...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top