For starters, please see the GSAK help file or click here for the online help for a list of database variables. The database variable in this case is CacheType, not Type, so it would be:
I believe that will work (I haven't tested it), however, it will return a one letter code for the cache type. From the same help file page:
![user posted image]()
which is not what you want. To expand the cache type to the full name, you need to use a macro function, either CacheType("CacheType") in a macro or g_cachetype(CacheType) in SQLite.
QUOTE |
%caches_CacheType |
I believe that will work (I haven't tested it), however, it will return a one letter code for the cache type. From the same help file page:

which is not what you want. To expand the cache type to the full name, you need to use a macro function, either CacheType("CacheType") in a macro or g_cachetype(CacheType) in SQLite.