Supress SQLFind form for Cursoradapters

The place for peer-to-peer support for developing client-server applications with VPME 9.1.

Supress SQLFind form for Cursoradapters

Postby Abbas » Sun Sep 04, 2016 9:26 am

For cursoradapters with filters, you must set lStartWithFind to .T. and NoData = .T.
Is there a way to bypass SQL Find form and execute the code internally to fetch all records?

Thanks
Abbas
 
Posts: 26
Joined: Sun Jul 25, 2010 11:41 am

Re: Supress SQLFind form for Cursoradapters

Postby Abbas » Sun Sep 04, 2016 6:56 pm

Enter following code in form load event:

Code: Select all
DODEFAULT()
ThisForm.oVPMDataHandler.RefreshCursorAdapter(ALIAS())


Make sure lStartWithFind is set to .F.
Abbas
 
Posts: 26
Joined: Sun Jul 25, 2010 11:41 am


Return to VPM Enterprise 9.1 - Client Server

Who is online

Users browsing this forum: No registered users and 2 guests

cron