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

Brisanje objekata iz "koda"

[es] :: Access :: Brisanje objekata iz "koda"

[ Pregleda: 3914 | Odgovora: 1 ] > FB > Twit

Postavi temu Odgovori

Autor

Pretraga teme: Traži
Markiranje Štampanje RSS

ljuboj

Član broj: 12006
Poruke: 3
*.130.EUnet.yu



Profil

icon Brisanje objekata iz "koda"13.02.2004. u 11:13 - pre 202 meseci
Kako je moguce u Access-u obrisati neki objekat npr. formu ili upit pomocu
programskog koda ?

Hvala
 
Odgovor na temu

Zidar
Canada

Moderator
Član broj: 15387
Poruke: 3085
*.eqao.com



+78 Profil

icon Re: Brisanje objekata iz "koda"16.02.2004. u 14:33 - pre 202 meseci
VB HELP:

DeleteObject Method
See Also Applies To Example Specifics
The DeleteObject method carries out the DeleteObject action in Visual Basic.

expression.DeleteObject(ObjectType, ObjectName)

expression Required. An expression that returns one of the objects in the Applies To list.

ObjectType Optional AcObjectType.

AcObjectType can be one of these AcObjectType constants.
acDataAccessPage
acDefault default
acDiagram
acForm
acFunction
acMacro
acModule
acQuery
acReport
acServerView
acStoredProcedure
acTable

ObjectName Optional Variant. A string expression that's the valid name of an object of the type selected by the objecttype argument. If you run Visual Basic code containing the DeleteObject method in a library database, Microsoft Access looks for the object with this name first in the library database, then in the current database.

Remarks
For more information on how the action and its arguments work, see the action topic.

If you leave the objecttype and objectname arguments blank (the default constant, acDefault, is assumed for objecttype), Microsoft Access deletes the object selected in the Database window. To select an object in the Database window, you can use the SelectObject action or SelectObject method with the In Database Window argument set to Yes (True).

Example
The following example deletes the specified table:

DoCmd.DeleteObject acTable, "Former Employees Table"
 
Odgovor na temu

[es] :: Access :: Brisanje objekata iz "koda"

[ Pregleda: 3914 | Odgovora: 1 ] > FB > Twit

Postavi temu Odgovori

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