This topic is locked

dal_source.php

5/12/2009 5:16:25 PM
PHPRunner General questions
C
Cjiggy0326 author

Am i able to call the dal_source.php to do a add function. I am trying to create a order number when my save button is clicked is that possible ?

J
Jane 5/13/2009

Hi,
I recommend you to use Before record added event on theEvents tab for this purpose.

dal_source.php is just a file with functions.

C
Cjiggy0326 author 5/13/2009

CAn you lemme know the syntax/method to call the ADD function which is there in the "include/dal_source.php" . I have scanned all the files but i could not find a call to this function. So i need to call this function in another way. Please lemme know about this.
Thanks,
Cory

C
Cjiggy0326 author 5/13/2009

Jane,
Could you give an example on how i would use the event before record added. I am still struggling with doing my own custom coding within phprunner

Sergey Kornilov admin 5/13/2009
C
Cjiggy0326 author 5/13/2009

That was a big help Sergey, now i might be able to figure this out on my own.