While working with TpFIBDataSet and TpFIBQuery it is also possible to use in the query macros of the following types:

@MACROS_NAME[%][#]

@ - a sign of the beginning of the macro
% - an optional beginning of the default value of the macro
# - an optional sign that it it necessary to write the value of the macro in inverted commas.

Using macros you can dynamically change names of tables and fields in a query, conditions, etc.

To get access to values of macros use ParamByName. ParamNameCount helps to get the total number of macros in a query.

The example of using of macros:

select * from @TT%TABLE1 where @F%FIELD1=@VAL%#John

The default form of the query before sending off to the server is

select * from TABLE1 where FIELD1="John"


Preview text: While working with TpFIBDataSet and TpFIBQuery it is also possible to use in the query macroses...
Prices in Euro:

235 (1 copy)
1250 (unlimited)

Volume discounts are available...

Navigation



During a re-write of a very large software system we were having some difficulties utilizing a 3rd party grid that we had chosen. The dataset connectivity was very flaky due to the complex joins and updates we were using which caused the grids to behave very sketchy.  FIBPlus was the perfect solution for us. After implementing it everything became so much easier. The grid functionality stabilized, data retrieval was much faster, and we were pleasantly surprised by many of the unique features of your components. We were especially impressed with your pFIBUpdateObject components which allowed us to very easily update the multiple tables we were using in our joins.  Many thanks for your great components.

>>

Tracy Anderson, Team Leader, EDSS Division of AADG, Inc.
FOR CUSTOMERS
Download full versions and updates in your Personal Area