General information
Category:
Coding, syntax & commands
Hi Rex,
Thanks for the reply. I will give it a try at least now I won't have to USE the DBC file.
Why do you ACOPY from aTables to ThisForm.aTableList instead of using ThisForm.aTableList as the array for ADBOBJECTS()?
>John,
>
>Couldn't you have done this?
>
>SELECT (This.Value)
>m.TableCount = ADBOBJECTS(aTables,"Table")
>ACOPY(aTables,ThisForm.aTableList)
>IF m.TableCount > 0
> ThisForm.lstTables.RowSourceType = 5
> ThisForm.lstTables.RowSource = "ThisForm.aTableList"
>ELSE
> ThisForm.lstTables.RowSourceType = 0
> ThisForm.lstTables.RowSource = ""
>ENDIF
>
>Just a thought
>
>Rex
>
>>>>How can I put the table names from a database into an array?
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only