In order to get help from the forum, we like to have a working sample. For that to work, we sometimes need to have dbf's and data that are not in the samples directory.
I found source in the FWDBU sample from Fivetech that will build program code from a selected database (dbf and index) . This code can be copied into the sample program and executed with a Opendatabase() function.
Can fivetech provide also a function that will fill the database with a selected amound of data?
Lets say that we want (2 records from customer)
Makesample("customer",2) // take 2 customers and make program code for it.
makesample("Invoices","FIRST', "ANTONIO",5) // Take 5 records from invoices with the data "Antonio" in the field FIRST
The result should we written as program code (for copy and paste) in the sample's Opendatabase() that we like to punt on the forum for help.
Can this be done ??