Navigacija
Lista poslednjih: 16, 32, 64, 128 poruka.

Refresh Forme F5 Sa tastature

[es] :: Access :: Refresh Forme F5 Sa tastature

[ Pregleda: 3577 | Odgovora: 5 ] > FB > Twit

Postavi temu Odgovori

Autor

Pretraga teme: Traži
Markiranje Štampanje RSS

Air Live
Srbija

Član broj: 162278
Poruke: 410
92.36.172.*



Profil

icon Refresh Forme F5 Sa tastature15.06.2009. u 10:34 - pre 180 meseci
Zasto refresh forme radi kada kliknem na F5 na tastaturi a kada ukucam cod me.refresh na onclick gumba onda dobivam error kako se nemože osvježiti.

Šta je to F5 sa tastature dali je to me.refresh ili je me.recalc
 
Odgovor na temu

domaci_a_nas
PHP developer

Član broj: 42333
Poruke: 524
*.dynamic.sbb.rs.



+8 Profil

icon Re: Refresh Forme F5 Sa tastature15.06.2009. u 10:51 - pre 180 meseci
Vrlo moguće je da je u pitanju Me.Requery
Ozbiljan i odgovoran mladić
 
Odgovor na temu

Air Live
Srbija

Član broj: 162278
Poruke: 410
92.36.212.*



Profil

icon Re: Refresh Forme F5 Sa tastature15.06.2009. u 11:51 - pre 180 meseci
Nije ni to me.requery sve sam to isprobao.
Bas koja je fora na F5 ili F9 Hoce a na klik gumba nece.

Na klik sam stavljao sve ove komande :

me.refresh
me.requery
application.refresh itd...
 
Odgovor na temu

Catch 22

Član broj: 148083
Poruke: 6176
79.101.143.*



+21 Profil

icon Re: Refresh Forme F5 Sa tastature15.06.2009. u 12:31 - pre 180 meseci
Access / Help
Citat:
The Requery method updates the data underlying a specified form by requerying the source of data for the form.
Syntax

expression.Requery

expression A variable that represents a Form object.

Remarks


You can use this method to ensure that a form or control displays the most recent data.

The Requery method does one of the following:

Reruns the query on which the form or control is based.
Displays any new or changed records or removes deleted records from the table on which the form or control is based.
Updates records displayed based on any changes to the Filter property of the form.
Controls based on a query or table include:

List boxes and combo boxes .
Subform controls.
OLE objects , such as charts .
Controls for which the ControlSource property setting includes domain aggregate functions or SQL aggregate function.
If you specify any other type of control for the object specified by expression, the record source for the form is requeried.

If the object specified by expression isn't bound to a field in a table or query, the Requery method forces a recalculation of the control.

If you omit the object specified by expression, the Requery method requeries the underlying data source for the form or control that has the focus.
If the control that has the focus has a record source or row source, it will be requeried; otherwise, the control's data will simply be refreshed.

If a subform control has the focus, this method only requeries the record source for the subform, not the parent form.

Notes


The Requery method updates the data underlying a form or control to reflect records that are new to or deleted from the record source since it was last queried.
The Refresh method shows only changes that have been made to the current set of records; it doesn't reflect new or deleted records in the record source.
The Repaint method simply repaints the specified form and its controls.
The Requery method doesn't pass control to the operating system to allow Windows to continue processing messages.
Use the DoEvents function if you need to relinquish temporary control to the operating system.
The Requery method is faster than the Requery action.
When you use the Requery action, Microsoft Access closes the query and reloads it from the database.
When you use the Requery method, Microsoft Access reruns the query without closing and reloading it.


Example


The following example uses the Requery method to requery the data from the EmployeeList list box on an Employees form:

Visual Basic for Applications

Public Sub RequeryList()

Dim ctlCombo As Control

' Return Control object pointing to a combo box.
Set ctlCombo = Forms!Employees!ReportsTo

' Requery source of data for list box.
ctlCombo.Requery

End Sub



 
Odgovor na temu

Air Live
Srbija

Član broj: 162278
Poruke: 410
92.36.188.*



Profil

icon Re: Refresh Forme F5 Sa tastature15.06.2009. u 14:06 - pre 180 meseci
Nece ni ovako.Izgleda da me zeza event na oncurent formi.
 
Odgovor na temu

Zidar
Canada

Moderator
Član broj: 15387
Poruke: 3085
*.100.46-69.q9.net.



+79 Profil

icon Re: Refresh Forme F5 Sa tastature15.06.2009. u 15:02 - pre 180 meseci
F9 nije requery, F9 je me.recalc. Requery samo osvezava rekordsete, formin ili na list boxu. Recalc je surovija operacija. Ne znam sta F5 radi.
 
Odgovor na temu

[es] :: Access :: Refresh Forme F5 Sa tastature

[ Pregleda: 3577 | Odgovora: 5 ] > FB > Twit

Postavi temu Odgovori

Navigacija
Lista poslednjih: 16, 32, 64, 128 poruka.