[SOLVED] Printing Custom Page Issue |
8/23/2011 11:39:31 AM |
PHPRunner General questions | |
![]() Hello everyone, |
|
![]() |
Sergey Kornilov admin 8/23/2011 |
Probably it has something with the way you generate transaction numbers. More info is required on this. |
![]() |
cyberjas2001 author 8/24/2011 |
When I add a new vehicle to my system, I just click ADD NEW, the ID# is the same Receipt#. |
![]() |
Sergey Kornilov admin 8/24/2011 |
If you use MySQL's autoincrement field to generate IDs for new records all IDs will be different and this kind of collision never occurs. I guess you generate transaction numbers manually and not doing it the right way. You need to fix this ensuring each transaction number is unique. |
C
|
cgphp 8/25/2011 |
Where is the custom button ? Place it in a PHP snippet or use a PHPrunner custom button. You can't put a PHP var directly in the HTML source. |
![]() |
cyberjas2001 author 8/25/2011 |
I have this button in the "View Page" next to "Back to List" |