Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old May 3rd, 2006, 1:35 PM   #1
NathanBDC1
Newbie
 
Join Date: May 2006
Posts: 8
Rep Power: 0 NathanBDC1 is on a distinguished road
DOS/C++/JAVASCRIPT in use with two database files append dbf A to dbf B

Hey Yall,

First off I want to say I'm glad I found this forum, and also this is my first time posting anything. But anyway

I have been struggling with this one since last week:

I'm tring to figure out how to copy data from a dbf file titled upsworld.dbf to another dbf file called upswship.dbf, and have this coping process be automated, so I wouldn't have to manually runs this. And help the upswship.dbf be appending data from the upsword.dbf file...Instead of replaceing

Here is my situation I have a database program called M.O.M. (Mail Order Manager), and I also use UPS World Ship. When I batch out orders in MOM the data is sent to the upsworld.dbf file. Now when we need to ship we use the UPS World Ship program. After I batch out lets say 20 order at 10am, then I batch out another 30 order at 2pm. Now when I batch the orders at 2pm, they replace the orders that were there before. So if I don't run the shipping for all the pervious 20 order before that second batch I lose the data from the 10am batch.

Now I have tried to do a simple dos program that basically says:

copy 1.dbf + 2.dbf 3.dbf


But I'm not for sure if this really works, and also I would have to manually run this. I'm not for sure how to make this process automated.... Plus I don't know if DOS is the best for what I tring to do.

I would like to be able to use a stronger programming language like Java or C++.... But I'm really really rusty.... I know this has to be very simple, but for some reason I drawing a blank.

If anyone can lend a helping hand or has any suggestion I would greatly appreciate it.
NathanBDC1 is offline   Reply With Quote
Old May 3rd, 2006, 1:48 PM   #2
Booooze
Expert Programmer
 
Booooze's Avatar
 
Join Date: Mar 2006
Location: Igloo
Posts: 710
Rep Power: 3 Booooze is on a distinguished road
Send a message via MSN to Booooze
First off, your posting in the wrong part of the forums. This is Feeback and suggestions, you won't get many answers here. Mod will probably move it. Next time post in the right forum.

In regards to your question, I beleive you willneed to use a progarmming langauge for this, not DOS.
Booooze is offline   Reply With Quote
Old May 3rd, 2006, 1:54 PM   #3
NathanBDC1
Newbie
 
Join Date: May 2006
Posts: 8
Rep Power: 0 NathanBDC1 is on a distinguished road
Hey Boooze thanks for the tip on placing this in the wrong forum.

And thats what I was thinking about the DOS, but didn't know


Thanks,

Nathan
NathanBDC1 is offline   Reply With Quote
Old May 3rd, 2006, 1:56 PM   #4
Booooze
Expert Programmer
 
Booooze's Avatar
 
Join Date: Mar 2006
Location: Igloo
Posts: 710
Rep Power: 3 Booooze is on a distinguished road
Send a message via MSN to Booooze
Yeah, because it sounds like your want to take data from a db file, and manipulate it correct? such as appending it to another db file?
Because I'm quite sure DOS can't do that :p
Booooze is offline   Reply With Quote
Old May 3rd, 2006, 1:58 PM   #5
NathanBDC1
Newbie
 
Join Date: May 2006
Posts: 8
Rep Power: 0 NathanBDC1 is on a distinguished road
Yep thats exactly what I want to do.

Thanks
NathanBDC1 is offline   Reply With Quote
Old May 3rd, 2006, 2:14 PM   #6
DaWei
Resident Grouch
 
DaWei's Avatar
 
Join Date: Jun 2005
Posts: 6,453
Rep Power: 10 DaWei is on a distinguished road
When you post in the wrong forum, you should contact an admin/moderator and ask that it be moved. Cross-posting is irritating and against the rules. Incidentally, have you read the forum's rules/FAQ thread, or did you just think any old thang goes down good on a hot day? You also misuse the term, 'DOS'. Don't take it hard, 98.6 percent of today's johnny-come-latelies do. There's one for every degree of temperature in the average human body.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code.
Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers
DaWei is offline   Reply With Quote
Old May 3rd, 2006, 2:27 PM   #7
Booooze
Expert Programmer
 
Booooze's Avatar
 
Join Date: Mar 2006
Location: Igloo
Posts: 710
Rep Power: 3 Booooze is on a distinguished road
Send a message via MSN to Booooze
Quote:
When you post in the wrong forum, you should contact an admin/moderator and ask that it be moved. Cross-posting is irritating and against the rules.
I probably should have mentioned that.
Booooze is offline   Reply With Quote
Old May 3rd, 2006, 2:34 PM   #8
NathanBDC1
Newbie
 
Join Date: May 2006
Posts: 8
Rep Power: 0 NathanBDC1 is on a distinguished road
Alrighty then DaWei, sorry about the mess up


If you would explain how I misused the term "DOS"?

Also how do I contact th admin/moderator
NathanBDC1 is offline   Reply With Quote
Old May 3rd, 2006, 2:48 PM   #9
Booooze
Expert Programmer
 
Booooze's Avatar
 
Join Date: Mar 2006
Location: Igloo
Posts: 710
Rep Power: 3 Booooze is on a distinguished road
Send a message via MSN to Booooze
Quote:
Also how do I contact th admin/moderator
You can send them a private message(PM). look under members and then sort by posts and you wil see them. There near the top, in blue.

As for misusing the term DOS, you can't make programs with DOS. You can make batch files, which are simply a series of dos commands. But for clarity, I'll let Dawei explian it, as he knows a hell of a lot more than me, and will probably say something I don't know
Booooze is offline   Reply With Quote
Old May 3rd, 2006, 2:53 PM   #10
NathanBDC1
Newbie
 
Join Date: May 2006
Posts: 8
Rep Power: 0 NathanBDC1 is on a distinguished road
Ok ya I did misuse DOS, I didn't mean for it to sound that way...
NathanBDC1 is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 3:04 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC