Advertisement
Guest User

Estructura para reconstruir DBF

a guest
Nov 18th, 2017
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. TEST.STR
  2.  
  3. TEST.STR     ------ For testing only ------
  4. Created by: Wilson Ng
  5.             Ng Khai Development Corp.
  6. ÚÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿
  7. ³ FILE@ ³CUSTOMER³ This file contains data about the customer             ³
  8. ÃÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÁÄÂÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´
  9. ³INDEX@ ³CUSTCODE  ³CUSTCODE                                              ³
  10. ÃÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´
  11. ³RELA@  ³invoice                                                          ³
  12. ÃÄÄÄÄÄÄÄÁÄÄÄÄÂÄÄÄÄÄÂÄÄÄÄÄÂÄÄÄÄÄÂÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´
  13. ³ FIELD NAME ³TYPE ³WIDTH³ DEC ³ REMARKS                                  ³
  14. ÃÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÅÄÄÄÄÄÅÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´
  15. ³~ custcode  ³c    ³4    ³     ³ customer code                            ³
  16. ³~ custname  ³c    ³25   ³     ³ customer name                            ³
  17. ³~ address   ³c    ³20   ³     ³ customer's address                       ³
  18. ³~ city      ³c    ³15   ³     ³ customer's city                          ³
  19. ³~ country   ³c    ³10   ³     ³ Country where situated                   ³
  20. ³~ good_cust ³l    ³1    ³     ³ Is he a good customer?                   ³
  21. ³~ terms     ³c    ³8    ³0    ³ terms that are given to this customer    ³
  22. ³~ total     ³n    ³11   ³2    ³ total the customer bought for the year   ³
  23. ÀÄÄÄÄÄÄÄÄÄÄÄÄÁÄÄÄÄÄÁÄÄÄÄÄÁÄÄÄÄÄÁÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ
  24. Write anything in between these screen - help files, explanations ....
  25. ÚÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿
  26. ³ FILE@ ³ITEMS   ³ items that you have in your store                      ³
  27. ÃÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÁÄÂÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´
  28. ³INDEX@ ³ITEMCODE  ³ITEMCODE                                              ³
  29. ÃÄÄÄÄÄÄÄÁÄÄÄÄÂÄÄÄÄÄÅÄÄÄÄÄÂÄÄÄÄÄÂÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´
  30. ³ FIELD NAME ³TYPE ³WIDTH³ DEC ³ REMARKS                                  ³
  31. ÃÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÅÄÄÄÄÄÅÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´
  32. ³~ itemcode  ³c    ³4    ³     ³ item number or code                      ³
  33. ³~ itemdesc  ³c    ³25   ³     ³ description of the item code             ³
  34. ³~ onhand    ³n    ³3    ³0    ³ on hand inventory                        ³
  35. ³~ tot_order ³n    ³3    ³0    ³ total order to date                      ³
  36. ³~ lastsold  ³d    ³8    ³     ³ date this item was last sold             ³
  37. ³~ cost      ³n    ³10   ³2    ³ estimated cost                           ³
  38. ÀÄÄÄÄÄÄÄÄÄÄÄÄÁÄÄÄÄÄÁÄÄÄÄÄÁÄÄÄÄÄÁÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ
  39. ÚÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿
  40. ³ FILE@ ³INVOICE ³Invoice header - what you issued for sales              ³
  41. ÃÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÁÄÂÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´
  42. ³INDEX@ ³INVNO     ³INVNO                                                 ³
  43. ³INDEX@ ³DATE      ³DATE                                                  ³
  44. ÃÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´
  45. ³RELA@  ³customer,items                                                   ³
  46. ÃÄÄÄÄÄÄÄÁÄÄÄÄÂÄÄÄÄÄÂÄÄÄÄÄÂÄÄÄÄÄÂÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´
  47. ³ FIELD NAME ³TYPE ³WIDTH³ DEC ³ REMARKS                                  ³
  48. ÃÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÅÄÄÄÄÄÅÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´
  49. ³~ invno     ³n    ³6    ³0    ³ Invoice number                           ³
  50. ³~ cost      ³n    ³10   ³2    ³ purpose of this is to test the program   ³
  51. ³~ date      ³d    ³8    ³     ³ Date issued                              ³
  52. ³~ terms     ³c    ³10   ³     ³ Terms of the invoice                     ³
  53. ³~ total     ³n    ³11   ³2    ³ Total value of the invoice               ³
  54. ³~ custcode  ³c    ³4    ³     ³ customer code                            ³
  55. ÀÄÄÄÄÄÄÄÄÄÄÄÄÁÄÄÄÄÄÁÄÄÄÄÄÁÄÄÄÄÄÁÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ
  56. Example:  This invoice file is invoked when you have $$$$SaleS$$$$!
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement