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 Chriss Miller 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: *

  1. CoreMemory

    How to instantiate a class contained in DBC stored procedure.

    Ramani, "The idea is to create the object from with the function call and then return a reference to the object.." oForm=myClass() oForm.Show RELEASE oForm Yes, that works....just was trying to let the class defined with the DEFINE CLASS myForm AS FORM PROCEDURE init **...
  2. CoreMemory

    How to instantiate a class contained in DBC stored procedure.

    Mike, "One alternative would be to put the code into a PRG, and to build it into an APP file. Your main application can then DO the APP file, which will get all the function or class definitions into memory." That would probably work ---even though I would have to DO...
  3. CoreMemory

    How to instantiate a class contained in DBC stored procedure.

    Hi Ramani, We actually are not using the stored procedures for trigger logic, just a bunch of functions that are common througout the application. They need to be fast and we find that they are, since the stored procedures are loaded and kept in memory (if my understanding is correct) and do...
  4. CoreMemory

    How to instantiate a class contained in DBC stored procedure.

    Hi Mike, Thanks for quick reply. Trying to explore the possibility of replacing the classes at different sites with different versions without having to replace the .exes that use them. Our main .exe actually use the RUN command to fire up our modules so they are separately executing...
  5. CoreMemory

    How to instantiate a class contained in DBC stored procedure.

    Hi All, If you have a custom class defined in a stored procedure in an open database, is there a way to force CREATEOBJECT or NEWOBJECT to find the class. SP code: DEFINE CLASS myclass CUSTOM PROCEDURE init LPARAMETERS p1,p2 .. ENDDEFINE ---------------- Neither...
  6. CoreMemory

    Is it RAID or something else?

    Just out of curiosity, have you tried using INSERT with an explicit list of destination fields and a VALUES clause for the source fields. I know its more coding, but then the memvars are avoided altogether and I believe there is less setup work as VFP does not have to convert all the source...

Part and Inventory Search

Back
Top