![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Newbie
Join Date: May 2006
Posts: 8
Rep Power: 0
![]() |
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. |
|
|
|
|
|
#2 |
|
Expert Programmer
|
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. |
|
|
|
|
|
#3 |
|
Newbie
Join Date: May 2006
Posts: 8
Rep Power: 0
![]() |
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 |
|
|
|
|
|
#4 |
|
Expert Programmer
|
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 |
|
|
|
|
|
#5 |
|
Newbie
Join Date: May 2006
Posts: 8
Rep Power: 0
![]() |
Yep thats exactly what I want to do.
Thanks |
|
|
|
|
|
#6 |
|
Resident Grouch
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jun 2005
Posts: 6,453
Rep Power: 10
![]() |
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 |
|
|
|
|
|
#7 | |
|
Expert Programmer
|
Quote:
![]() |
|
|
|
|
|
|
#8 |
|
Newbie
Join Date: May 2006
Posts: 8
Rep Power: 0
![]() |
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 |
|
|
|
|
|
#9 | |
|
Expert Programmer
|
Quote:
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 ![]() |
|
|
|
|
|
|
#10 |
|
Newbie
Join Date: May 2006
Posts: 8
Rep Power: 0
![]() |
Ok ya I did misuse DOS, I didn't mean for it to sound that way...
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|