Question : Locating next index of a record set and moving to that record after form data is refreshed.

I have a contact sales lead status of prospect, The user is calling leads and will change status from prospect to customer.  And the change is authorized in a model pop-up.  After authorization is completed and the pop-up closes, I need the form to re query, then move to the next record in the list sorted alphabetically.  Please suggest how to code for this navigation.  Or to get and set the next record (index) in the record-set.  See the video explanation on this link.

http://screencast.com/t/ZTgwNTA1NDU

Answer : Locating next index of a record set and moving to that record after form data is refreshed.

On a standard windows build, PDO is already installed and active.

At a command prompt, type ...

php -n -m

The -n says ignore all config files and use the built in defaults.
The -m says show all modules.

For me, this shows ...

[PHP Modules]
bcmath
calendar
com_dotnet
Core
ctype
date
dom
ereg
filter
ftp
hash
iconv
json
libxml
mcrypt
mhash
mysqlnd
odbc
pcre
PDO
Phar
Reflection
session
SimpleXML
SPL
standard
tokenizer
wddx
xml
xmlreader
xmlwriter
zip
zlib

[Zend Modules]


If I use php -m ...

[PHP Modules]
bcmath
bz2
calendar
com_dotnet
Core
ctype
date
dom
ereg
exif
fileinfo
filter
ftp
gd
gettext
gmp
hash
iconv
imap
intl
json
ldap
libxml
mbstring
mcrypt
mhash
mysqlnd
odbc
openssl
pcre
PDO
Phar
Reflection
session
shmop
SimpleXML
soap
sockets
SPL
sqlite3
sqlsrv
standard
tidy
tokenizer
wddx
win32service
wincache
xml
xmlreader
xmlrpc
xmlwriter
xsl
zip
zlib

[Zend Modules]


To activate the informix PDO extension, you will need the php_pdo_informix.dll file.

Unfortunately, you will need to build this yourself at the moment. A lot of the non standard extensions are available from http://downloads.php.net/pierre/, but not this one.

You would also need the informix drivers. The php_pdo_informix.dll file is a bridge between PHP's PDO mechanism and the Informix drivers. PHP does not directly talk to the Informix database.

The source to the PDO driver is available via anonymous SVN from http://svn.php.net/viewvc/pecl/pdo_informix/

You can go with one of the stable tagged releases (the latest being http://svn.php.net/viewvc/pecl/pdo_informix/tags/RELEASE_1_2_6/) or the development trunk (http://svn.php.net/viewvc/pecl/pdo_informix/trunk).

Compiling PHP is not a simple point and click process, but is quite easy to achieve. You require a modern version of Microsoft Visual C++ compiler - I use the Express Edition just fine.

Regards,

Richard Quadling.
Random Solutions  
 
programming4us programming4us