C
|
cgphp 8/16/2012 |
T
|
Tayyab Ilyas author 8/16/2012 |
How can i use this with button in grid? Check this article: http://xlinesoft.com/phprunner/docs/redirect_to_details_page_after_master_record_was_added.htm |
C
|
cgphp 8/16/2012 |
You can get inspiration from that code. Redirection from a button requires JS code in the "Client after" event: location.href = "http://........."; |
T
|
Tayyab Ilyas author 8/16/2012 |
Dear Cristian, You can get inspiration from that code. Redirection from a button requires JS code in the "Client after" event: location.href = "http://........."; |
C
|
cgphp 8/16/2012 |
You can assign values to the add page fields in the "Process record values" event of the add page:
|
T
|
Tayyab Ilyas author 8/16/2012 |
Thanks Cristian, You can assign values to the add page fields in the "Process record values" event of the add page:
|
T
|
Tayyab Ilyas author 8/17/2012 |
Dear Cristian,
Thanks Cristian, I have reached filled Job ID field with your support. Now i have another question i also wants to automatically populate JobTitle field which is also in master table "Jobs" Regards |
C
|
cgphp 8/17/2012 |
global $dal; |
T
|
Tayyab Ilyas author 8/18/2012 |
I am still getting this error php error happened Technical information Error type 256 Error description You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1 URL localhost/mjobs/Job_Application_add.php? Error file C:\xampp\htdocs\mjobs\include\dbconnection.my.mysqli.php Error line 42 SQL query select * from jobs where Job_ID=global $dal; |
T
|
Tayyab Ilyas author 8/18/2012 |
Thanks Cristian for your support. The issue is solved. Error was because the value of Job_ID was null so i added an if statement. I am still getting this error |