General information
Category:
The Mere Mortals Framework
Hi James:
The NoDataOnLoad is False.
I need the cursors loaded before the business object'a Init method fires.
I noticed this when I added some code to the data environment PostInitHook to fill some extra data. However, the autorequery retrieves the data once again making me loose that extra data needed.
“Don’t Auto requery” depends on the NoDataOnLoadSetting?
Oscar Corte
>>I’d like to know what does “Don’t autorequery” means for the business object.
>>
>>If nRequeryTpe is set to 0 “Don’t autorequery” the requery does fires.
>>
>>1) The Init event of the business object calls This.Autorequery()
>>2) The Autorequery checks the next sets of conditions:
>>
>>*------------------------------------------------------------------
>>*--- Send a Requery() message to the data access object if:
>>*--- The data access object's lAutoOpenTables property is .T. AND
>>*--- (The data access object's NoDataOnLoad property is .F. OR
>>*--- Using a remote executant with a table on the back end)
>>*------------------------------------------------------------------
>>
>>AND
>>
>>*---------------------------------------------------------------
>>*--- Don't issue a requery if the business object's nRequeryType
>>*--- is set to 4 and this is the InitialSelectedAlias
>>*---------------------------------------------------------------
>>
>>Is nRequeryType = 0 being ignored?
>>
>>Please somebody give me some advise about why this could be happening.
>>
>>Thanks in advance and regards.
>>
>>Oscar Corte
>
>Oscar what is the nodataonload setting for your cursor object?
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