... second example so you can build lots of code into the customers class. Note that I use the plural name (customers) for the customer table and the singular name (customer) for a single customer record. Also, here is some food for thought. Ideally, you should create a database class for DBFs and ...
... the invoice object opens a copy of the oCustomers object in the oInvoice:New() method and it looks up the customer record and creates a oCustomer (singular) object inside the TInvoice class. I never use publics.
... Unrelated to your current need, but note that you can create a method in the Rental Object (singular) class that returns an array of all the guests on that rental which you can then call from the object. oRental:GuestList() // returns a list ...
... a class for each file and the class name should be plural (Customers for tables) Later you will want to create record classes and they should be singular (Customer) Forget aliases--you will rarely, if ever, need to use them again. #include "fivewin.ch"Function Main() local ...
... to try OOP. I like to make the object names as much like real-world names as possible. And I try to make table objects plural so I can use a singular object of the same type later. For instance oCustomers and oCustomer. So, I would suggest for you to use oKlants now so you can use oKlant ...
... oCustomer xbrowse(oCustomer) msginfo(oCustomer:First) In the above perhaps you have missed the difference between a customer object (singular) and the customers (plural) table? The customer object represents a single customer. It is independent of the table. It has its own data which ...
... email Gracias. En el buildh64.bat llamas a una etiqueta que no existe, el error es que llamas "en plurar" y la etiqueta esta "en singular". if errorlevel 1 goto COMPILEERRORS // Termina en "S".../...:COMPILEERROR // No termina en "S"@type comp.log@type ...
... email Gracias. En el buildh64.bat llamas a una etiqueta que no existe, el error es que llamas "en plurar" y la etiqueta esta "en singular". if errorlevel 1 goto COMPILEERRORS // Termina en "S".../...:COMPILEERROR // No termina en "S"@type comp.log@type ...
... y de expander un producto. Y donde lo instalé lo actualizaron con las siguientes versiones. Estaremos de acuerdo en que tengo una visión quizás singular del asunto. En fin, me he ido por las ramas. Como dicen, mis 2 cents. Un Saludo Carlos G.
Me ha gustado tu idea de poner en singular la moneda y "céntimos" cuando el importe sea UNO. No habia caido en ello, aunque a decir verdad, pocas cosas se pueden comprar por aquí con un euro.
... Function Num2Txt(nCantidad) //*******###### //Utilices o cambie estos valores según su moneda Local acMoneda := {" euro " , " euros "} //Moneda en singular y plurar Local acCentimos := {" centimo", " centimos"} //Centimos en singular y plurar Local lCentsEnletra := .t. //Si es falso muestra los ...
... engorroso a la hora de usar cuando se tiene una resolucion de pantalla elevado Alguien a intentado hacer algo parecido en FiveWin?? Alguna idea singular de como hacerlo?? Muchas Gracias por su tiempo!!
... en FiveWin. Nunca he tenido problemas con la impresión. No obstante desde que me he comprado una impresora nueva USB me ha surgido un problema singular. Lo que mando al USB vía TPRINTER se previsualiza y se se imprime, pero lo que envío con TREPORT ni se previsualiza ni se imprime. Sin embargo, ...