Itamar Lins
unread,Aug 3, 2026, 11:36:54 PM (3 days ago) Aug 3Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Harbour Developers
Hi!
Here is the fix I applied to `sqlbase.c` to solve the SQLMIX issue:
```
static HB_ERRCODE sqlbaseInfo( SQLBASEAREAP pArea, HB_USHORT uiIndex, PHB_ITEM pItem )
{
switch( uiIndex )
{
case DBI_QUERY:
hb_itemPutC( pItem, pArea->szQuery );
break;
case DBI_ISREADONLY:
hb_itemPutL( pItem, HB_FALSE );
break;
default:
return SUPER_INFO( &pArea->area, uiIndex, pItem );
}
return HB_SUCCESS;
}
```
This ensures the SQLMIX RDD correctly returns a logical `.F.` instead of `Nil` when checked for read-only status, preventing errors in visual libraries like HWGui.
Best regards,
Itamar M. Lins Jr.