By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,264 Members | 1,228 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,264 IT Pros & Developers. It's quick & easy.

A97... SysCmd, what are the 4 possible values and what do they stand for?

P: n/a
MLH
Here's what I copied from A97 Help...

Call the SysCmd function with the acSysCmdGetObjectState action
argument and the objecttype and objectname arguments to return the
state of a specified database object. An object can be in one of four
possible states: not open or nonexistent, open, new, or changed but
not saved.

The Help does not list the values. I was wondering what they were for
each of the described 4 states. In other words, the scope of return
values for the following statement...

? SysCmd(SYSCMD_GETOBJECTSTATE, acForm, "frmVehicleChooserform")

Nov 13 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
MLH
Sorry, reading further, I found the answer (right there in Help)...

The SysCmd function with the acSysCmdGetObjectState action argument
can return any combination of the following constants.

Constant State of database object
acObjStateOpen Open
acObjStateNew New
acObjStateDirty Changed but not saved
Note If the object referred to by the objectname argument is either
not open or doesn't exist, the SysCmd function returns a value of
zero.
Nov 13 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.