Garry
I am using Objo Studio 26.8.3on Mac mini Apple M4 Pro with 48GB running on macOS Tahoe 26.6.1
Var v_sql As String
Var v_columnwidths As String
If property_StandardExtended = "Standard" Then
v_sql = """
SELECT RecordNumber, RecordNumber, Reference,
Category, SubCategory, Ownership, PropertyName, Location, SubLocation,
Field1, Field2, Field3
FROM qryCollectionStandard
[**WHERE**]
ORDER BY Reference
[**LIMIT**]
"""
v_columnwidths = "3x,5x,15x,15x,15x,15x,15x,15x,30x,30x,30x"
Else
v_sql = """
SELECT RecordNumber, RecordNumber, Reference,
Field1, Field2, Field3, Field4, Field5, Field6,
Category, SubCategory, Ownership, PropertyName, Location, SubLocation
FROM qryCollectionExtended
[**WHERE**]
ORDER BY Reference
[**LIMIT**]
"""
v_columnwidths = "3x,5x,30x,30x,30x,30x,30x,30x,15x,15x,15x,15x,15x,15x"
End If
Var v_limit As String = ""
Var v_where As String = ""
Select Case p_type
Case "blank"
v_where = ""
v_limit = " LIMIT 0"
Case "find"
v_where = " WHERE StatusEN NOT IN ('Sold')"
v_limit = ""
Case "showall"
v_where = ""
v_limit = ""
End Select
v_sql = v_sql.Replace("[**WHERE**]", v_where)
v_sql = v_sql.Replace("[**LIMIT**]", v_limit)
I was using v_columnwidths = "3x,5x,30x,30x,30x,30x,30x,30x,15x,15x,15x,15x,15x,15x" and then before assigning to the listbox columnwidths, replace all with %
if adjust the column after filling just the column heading by assigning the sql with limit 0, it is the first time adjusting that I see the weird action.
once data has been loaded, everytime I adjust column, I also see the same weird action.
I adjust the divider between the field on the column heading on both left and right
will send you a video of what is happening