General information
Category:
Forms & Form designer
Hi Soykan
I'm afraid I read this thread too late, but, anyway here is a sample. You can add cursors and relations in BeforeOpenTables.
WITH THIS
.InitialSelectedAlias="Archivo"
.ADDOBJECT('Archivo','Cursor')
.Archivo.Alias="Archivo"
.Archivo.BufferModeOverride=5
.Archivo.CursorSource="c:\MyDir\MyData\Archivo.dbf"
.Archivo.Database="c:\MyDir\MyData\MyDB.dbc"
.ADDOBJECT('Archivo_Provincias','Relation')
.Archivo_Provincias.ChildAlias="Provincias"
.Archivo_Provincias.ChildOrder="cProvincia"
.Archivo_Provincias.OneToMany=.F.
.Archivo_Provincias.ParentAlias="Archivo"
.Archivo_Provincias.RelationalExpr="cProvincia"
ENDWITH
I didn't read all the answers, but there were a lot of them, so probably you already solved your problemn, if not, here is an another one.
Good luck
Hernan
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