Retrieves the next block of records from the application server.
int __fastcall GetNextPacket(void);
Description
Call GetNextPacket to retrieve the next sequential block of records from the application server. To specify the maximum number of records to return in a packet, set the PacketRecords property before calling GetNextPacket. A packet is appended to those records already stored in the Data property.
GetNextPacket returns the number of records added to Data. If the return value is 0, the client application has already received all available records from the application server.
Warning: If the client dataset uses a stateless application server, you must use a BeforeGetRecords event handler to ensure that the data packet returns the correct set of records.
int __fastcall GetNextPacket(void);
Description
Call GetNextPacket to retrieve the next sequential block of records from the application server. To specify the maximum number of records to return in a packet, set the PacketRecords property before calling GetNextPacket. A packet is appended to those records already stored in the Data property.
GetNextPacket returns the number of records added to Data. If the return value is 0, the client application has already received all available records from the application server.
Warning: If the client dataset uses a stateless application server, you must use a BeforeGetRecords event handler to ensure that the data packet returns the correct set of records.
Kenya Affordable Safaris |
No comments:
Post a Comment