General information
Category:
Databases,Tables, Views, Indexing and SQL syntax
>Hi,
>
>I have a remote view defined in the DBC and would like to add fields to it at run time but there is a catch-22. Remote views have to be buffered either row or table, so they cannot be ALTERed. So the question becomes, how can I define a view on the fly, starting from the one in the DBC but adding the required fields, yet not pollute the DBC with superfluous views?
>
Hi,
Alternatively you can create a local "(Remote)ViewsOnly.DBC" on the fly at runtime, say in GetEnv('temp'). See also Home()+'\tools\gendbc\gendbc.prg'.
hth
-Stefan
Previous
Next
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