Alternatively if you want to pursue the Excel route manually then …

If you have a table MYTABLE.DBF with the following structure:

Structure for table:          C:\TEMP\MYTABLE.DBF
Number of data records:       0       
Date of last update:          01/05/2014
Code Page:                    1252    
 Field  Field Name            Type                        Width      Dec    Index   Collate     Nulls       Next       Step
     1  FIRSTNAME             Character                      20                                    No
     2  LASTNAME              Character                      20                                    No
     3  AGE                   Numeric                         3                                    No
     4  ID                    Integer (AutoInc)               4               Asc   Machine        No          1          1
** Total **                                                  48

Then you can dump the structure to another DBF via the VFP Command Window like this:

Read More

RS485 (ย่อมาจาก: Recommended Standard no. 485) คือมาตรฐานการสื่อสารข้อมูลดิจิตอลแบบอนุกรม (serial communication) ซึ่งถูกกำหนดขึ้นครั้งแรกในปี ค.ศ. 1998 โดยความร่วมมือของ TIA (Telecommunications Industry Association) และ EIA (Electronic Industries Association) มาตรฐาน RS485 ถูกใช้อย่างแพร่หลายในโรงงานอุตสาหกรรม เนื่องจากสามารถส่งสัญญาณได้ไกลและยังสามารถส่งพร้อมๆกันได้หลายจุด

Read More

The best way to open the Startup folder in Windows 10 is with the address shell:startup, you can enter this path in address bar of MS Explorer.

Or use the Run-Dialog Box [Windows-logo] + [R] in Windows-10 and enter the command shell:startup
(… see Image-1 Arrow-1)

The second startup folder in Windows 10 shell:common startup is responsible for all users, when here, an entry is created, or deleted, this is valid for all users on the Windows-10 PC. (… see Image-2 Arrow-1)

Here is the alternative addresses, this can you use to create a new Windows 10 desktop shortcut.

Autostart for currently logged-on user:
shell:startup = %appdata%\Roaming\Microsoft\Windows\Start Menu\Programs\Startup

And startup folder all users:
shell:common startup = %programdata%\Microsoft\Windows\Start Menu\Programs\Startup

Tip
shell:start menu = start menu in Windows-10
shell:common start menu = all user start menu in Windows-10

PnPUtil (PnPUtil.exe) is a command line tool that lets an administrator perform actions on driver packages. Some examples include:

  • Adds a driver package to the driver store.
  • Installs a driver package on the computer.
  • Deletes a driver package from the driver store.
  • Enumerates the driver packages that are currently in the driver store. Only driver packages that are not in-box packages are listed. An in-box driver package is one which is included in the default installation of Windows or its service packs.

Read More

ฟอร์มเป็นตัวกลางที่สำคัญตัวหนึ่งที่จะทำการติดต่อระหว่างผู้ใช้งานกับข้อมูลต่างๆ ไม่ว่าจะเป็นการป้อนข้อมูล การแสดงข้อมูล หรือการแสดงข่าวสารต่างๆที่เกิดขึ้นในระบบงาน การที่เราจะทำการสร้างฟอร์มขึ้นมาสักฟอร์มหนึ่งนั้นมันไม่ได้ยากอะไรหรอก แต่การที่จะควบคุมการทำงานของฟอร์มนั้นมันไม่ได้ง่ายสักเท่าใด คุณจะคุมการทำงานของฟอร์มได้อย่างไรนั้นก็ขึ้นอยู่กับการออกแบบ และการจิตนาการของท่านทั้งหลาย ถ้าคุณเข้าใจหลักการและวิธีการที่ผมจะแนะนำในบทนี้แล้ว ก็คิดว่าจะเป็นแนวทางในการออกแบบและสร้างฟอร์มของคุณต่อๆไป
ลักษณะของฟอร์มในการป้อนข้อมูลโดยทั่วๆไปแล้วจะมีอยู่ 2 แบบคือ
1.ฟอร์มการป้อนข้อมูลทีละเรคคอร์ด เช่น ฟอร์มที่ใช้ป้อนข้อมูล ลูกค้า, สินค้า , พนักงานขาย เป็นต้น
2.ฟอร์มการป้อนข้อมูลที่มีความสัมพันธ์แบบหนึ่งต่อหลายๆเรคคอร์ด เช่น ฟอร์มที่ใช้ป้อนข้อมูลใบส่งสินค้า เป็นต้น

Read More

From the start, FoxPro has always had a wide range of commands and functions for processing text – more than are strictly necessary for a database language. This is a list of some of the more useful commands and functions in Visual FoxPro. Many of them can accept extra optional parameters. Look in the FoxPro Help system for more information.

The distinction between commands and functions is that commands do something whereas functions just return a value to be displayed or used in another command.

Read More

Optimistic doesn’t try to lock the data until it
goes to do the update.  Pessimistic locks the data
as soon as it is changed and doesn’t release the
lock until the data is updated on disk.

Optimistic does not monopolize the data and can
make a multiuser app work smoother, but pessimistic
will guarantee that the user will never see the
“Another user has updated that record already”
message.

You mention “client/server” which leads me to
believe you are using a back-end that is not
a VFP database?  If so, there are some
different considerations regarding impact on
the performance of database access.  I have
yet to do a client/server app in VFP, so I
will yield the floor to someone who has…