Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: Luiz Eduh
  • Content: Threads
  • Order by date
  1. Luiz Eduh

    Help filtering data from a table using the select statement (sql)

    Hello, I need some help from the experts. I have an inventory vfp9 table that has over 6000 items. I want to use the select statement to filter out all those items that has data stored on a field called sku. There are some items that don't have anything stored on that "sku" field, so I dont...
  2. Luiz Eduh

    Need help understanding a piece of code

    Hello, I came across this piece of code in a program but I cant seem to fully understand its purpose or what it does. Can someone if possible explain me what would be the purpose of this? Here's the code; if m->item # ' ' .and. ...
  3. Luiz Eduh

    help making a query to update a field using 3 tables

    Hello, I need help from the experts making a query Here's my scenario; I have a table where I want to update the prices column from another table but only for a specific date range from a 3rd table, something like this; update table1.price from table2.cost where table1.transnum =...
  4. Luiz Eduh

    VFP9 Report only displays uppercase text on a field when previewing.

    Hello, I have designed a report in VFP9 where I grab the data from a table. The table stores a list of product and have a Character field named category which categorizes the product. Im using uppercase 'A', lowercase 'a', uppercase 'W' and lowercase 'w' on that category field. Anyways on my...
  5. Luiz Eduh

    Need help from the experts building up an expression in a VFP9 report

    I currently have the following fields in a report; qtyship = 6 price = 1.15 disc_num = 5 (this is stored as a number but would be treated as a percentage when calculating) discount = y (this can be either "Y" or "N" I want to be able to subtract PRICE - DISC_NUM only when Discount = "Y" and...
  6. Luiz Eduh

    How can I remove all records from a dbf VFP9 and just keep what was entered today 8/7/17

    Hello, I know this is simple, but would like to double check with the experts. I need to remove records from a dbf and only keep what those that were entered on a specific date. Thank you
  7. Luiz Eduh

    Converting a string to a numeric value when exporting from a dbf to excel

    Hi all, I need of your help. I'm currently using this code to export data to excel from 2 dbf and it works fine, except 2 fields export data as text and i would like to convert them into numeric, the fields are Price and totalprice; select line, order.itemno, percentage, invoice, cusno...
  8. Luiz Eduh

    Automate Excel with Visual foxpro 9 (help)

    Hi all, I'm in the process of learning how to export information to excel but came across an issue that I can seem to resolve. I have a table ("Testtable") with 4 records (4 rows and 5 columns) see image below In VFP9 im running this code; local oExcel, oSheet oExcel =...
  9. Luiz Eduh

    Help transfering data from one table to another where records are identical.

    Hello, I need some help from the experts. I have 2 tables that have the same data on the first column (Name:ProdNum type:character width:8) The 1st table doesn't have a description for each prodnum, the second table does. How can I transfer the description from table 2 to table 1 where the...
  10. Luiz Eduh

    Help generating a pdf using VFP9 and Bullzip Pdf Printer

    Hello, I need some help. I currently have a vfp program that generates .prn files and puts them on a local directory on my c:\ drive. I was wondering if there's a way with code to automatically grab that prn file and convert it to a pdf file using bullzip pdf printer.
  11. Luiz Eduh

    How to deactivate a popup menu after a selection has been made?

    I need some help from the experts. I currently using this popup menu; DEFINE POPUP OUTPUT from 5,27 SHADOW ; FONT 'LUCIDA SANS TYPEWRITER',12 STYLE 'B' TITLE 'Select an Option' DEFINE BAR 1 OF OUTPUT PROMPT 'Send to Printer' DEFINE BAR 2 OF OUTPUT PROMPT 'Convert to PDF' ON selection BAR 1 OF...
  12. Luiz Eduh

    Need help displaying data on a Visual fox pro report

    Hello, I'm currently running a report and displaying data from 1 table. The table contains a field that is either transactions = 't' and credits = 'c' I would like to print and separate the sections on the same report. On the top I would like to displays the data where the expression equals...
  13. Luiz Eduh

    Help speeding up an SQL query over a network

    Hello all, Everyday I'm learning and getting better at SQL, with the help of some folks here at the forum I have made good improvements. I just need some help, the code below works but takes a bit to get the data from 2 tables that are sitting on a server in a network. Can you please glance at...
  14. Luiz Eduh

    Help calculating columns using SQL in VFP9

    Hello, Here's what I would like to accomplish but i'm not sure if is even possible. Here's a the data; Table1 item ordqty shipqty price 1234 25 23 5.99 SELECT table1.item, SUM(table1.ordqty - table1.shipqty)as total_result...... I would like to multiply the result of the...
  15. Luiz Eduh

    Help making an SQL query

    Hello, I'm currently learning SQL and I need some help with the request below; I currently have a Table called CUSTABLE1 with the following FIELDS: cus_name, cus_id, pur_date, sales_type, sales_total, I need help making a query to export the fields above listing only when pur_date is...
  16. Luiz Eduh

    Visual Fox Pro and Foxbase+ 3.1 DBFs

    Hi all, I need of your help. I have a few dbfs that are used in a foxbase program. I needed to see some data and opened one of them using Visual Fox Pro 9. Right after double clicking the dbf I received a windows titled "Code Page" telling me that the file "....." is not marked with a code...
  17. Luiz Eduh

    Help on how to create a form, from which a user enters a date range and filters data from a table

    Hi, I have the following sql query. I would like to be able to create a form by which a user can select their date range maybe inputting the date in a textbox for startdate and another for enddate. Also give the option to select from b.category an option of 4 categories stored in the table...
  18. Luiz Eduh

    Help missing keyword in the FOR...ENDFOR or DO CASE...ENDCASE command structure

    Hi I need some help form the experts with this error, I can't seem to find the problem, I've attached the file here https://www.dropbox.com/s/063p14mggpl45ih/ProgramTest.prg also here as a text file https://www.dropbox.com/s/pez8z853v165qax/ProgramTest.txt also attached is an image of where the...
  19. Luiz Eduh

    how to generate barcodes using visual fox pro with the following code

    Hi im using a code found at www.foxite.com which generates barcodes using a font called "upca" I just have 1 problem with the last digit. For example im passing the following digits 555555125215 which is a upc number of 12 digits that i have stored on a dbf in VFP9 (please see the link to the...
  20. Luiz Eduh

    use an specific font when printing using the ? in visual fox pro 9

    Hi, im trying to print to a label and i can make it to print a line using a specific font. I read several forums and people suggest to use the ? to print on dot matrix printer for the types of labels im using, well i tried and most of the data shows in the printout except a field where i have a...

Part and Inventory Search

Back
Top