Re: Best way to test Record Locking in Multiuser System



I have seen many instances where the app behaves differently in the
production environment. Usually it is caused by network access issues,
available printers, and missing resources (forms, reports, etc.). In the
development environment you have all your forms, classes, reports, etc. and
in the production environment you don't. If you forgot to embed any of these
resources in your EXE, you will find that it works in development but not in
production.

Having said that, record locking issues should be identical when running 2
instances in the development environment, even on a standalone box, as it is
when running in production (unless there are network issues causing
problems). A notable exception is evironment settings - multilocks, retry,
etc.

"Subhash Chopra" <subhash81@xxxxxxxxxxx> wrote in message
news:aOKdneLkgcRYtsDfRVn-uA@xxxxxxxxxxxxx
> Thanks Dan and Tim.
>
> Running two instances of VFP did the trick. Appreciate the tip.
>
> Jan, if you think VFP behaves differently in development environment as
> against compiled version, then how can we really pinpoint the problem if
the
> system works fine in development but live system doesn't. Not that I am
that
> situation right now, but if you do run into that, what other techniques
are
> available to debug your code if your problem only occurs in the compiled
> version.
>
> Thanks again.
>
> Subhash.
>
> "Dan Freeman" <spam@xxxxxxxxxxxxx> wrote in message
> news:uDqX#E4PFHA.2560@xxxxxxxxxxxxxxxxxxxxxxx
> > What Tim said... <g>
> >
> > Dan
> >
> > Subhash Chopra wrote:
> > > Thanks Dan. I tried doing that but VFP development environment does
> > > not let me run the same applocation twice. I run the application
> > > once, minimize it and then try to run the Main program again and
> > > nothing happens.
> > >
> > > What wrong I am doing here.
> > >
> > > Thanks.
> > >
> > > Subhash.
> > >
> > > "Dan Freeman" <spam@xxxxxxxxxxxxx> wrote in message
> > > news:e2SZMZ3PFHA.2132@xxxxxxxxxxxxxxxxxxxxxxx
> > >> Run the application twice and alt-tab between them.
> > >>
> > >> Dan
> > >>
> > >>
> > >> Subhash Chopra wrote:
> > >>> What is the best way of testing if my Record and/or File Locking is
> > >>> working properly in a Multiuser System. I am trying to do this on a
> > >>> standalone desktop. I want to place a File and/or Record lock from
> > >>> one application and while that lock is still in place, I want to
> > >>> attempt locking the same Record/File by another application and see
> > >>> whether it succeeds or not.
> > >>>
> > >>> Thanks for you help.
> > >>>
> > >>> --------
> > >>> Subhash.
> > >>> VFP 6.0, XP PRO
> >
> >
>
>


.



Relevant Pages

  • Re: Third party access to SQL
    ... on in a controlled environment by my company. ... then why would the third party request sysadmin ... access to the production environment? ... SQL Server MVP ...
    (microsoft.public.sqlserver.security)
  • Re: How can I clone a copy of active directory from a domain controller to a new installed windows 2
    ... "use backup and restore" means I backup the system data ... on my production environment and then restore it on development environment ... > cleaned up and will exactly mirror the production environment. ...
    (microsoft.public.windows.server.active_directory)
  • "Beta" Production LPAR(s) setup.
    ... Our plan is to create an LPAR and move our current OS/390 production ... environment to that (my understanding this is possible with the proper ... IPL'ed into a Z/os environment for migration testing etc. ... environment, one with a clone of the production environment, and one ...
    (bit.listserv.ibm-main)
  • Re: Backup and Restore from development to production environment
    ... > in production environment. ... > Scenario 1: ... > assuming it was single farm deployment i developed the portal site. ... > development to production environment. ...
    (microsoft.public.sharepoint.portalserver)
  • Problem redirecting to pages when SmartNavigation is active. Why?
    ... button when using the production environment, ... content and no redirection happens. ... but no one has yet to provide an explanation and solution. ...
    (microsoft.public.dotnet.framework.aspnet)