Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Don't Autorequery
Message
From
14/11/2001 08:13:43
 
 
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00580915
Message ID:
00581412
Views:
25
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
Map
View

Click here to load this message in the networking platform