Marc, Yes for most of what you said. Functions User() will create the object as static to see all over the program And yes, for the above, however this is a special case like for user. Normally you declare and create the object in the routine and use it just like a local. However, an object can cont...
James, In the Class we put all the items we think we need : data bird as date data tva as char data counter as num in the method new we set the defaults ? :: name:="" :: bird:=ctod("26/11/1985") :: tva:= "blabla" :: counter:= 1 but also from from datasource ? :: bird:= ...
Marc, To early I can't see the logic. Are you familiar with STATICs? This is just using a static variable inside a function to hold an object. The reason for doing this is because the static will hold the object until the program is ended. So, you can access the object anywhere without even declarin...
Thanks for the input. Rick, I like the idea of a Xbrowse like yours, and folow the idea. SO, I create a browse with colums "Team1,Team2,Team3,..." Rows "Trainer1, Trainer2,Trainer3...." Trainer 1 J,N,N,N,J Trainer 2 N,N,N,J,N A trainer logs into the system, and I retrieve the row...
Enrico, This has the advantage that you can easily locate them. Yes, it is an advantage over using a PUBLIC without the "m->" nomenclature. However you can easily locate the user object too. Just search for "user()" You can also add methods to the user object--something you ca...
James Bott wrote:Here is a sample showing how you can eliminate publics. One disadvantage of using publics is that they have to be declared in every routine that uses them or you will get compiler warnings.
Here is a sample showing how you can eliminate publics. One disadvantage of using publics is that they have to be declared in every routine that uses them or you will get compiler warnings. Of course, since publics are visible everywhere you always run the risk of conflicts with locals and fieldname...
Marc Like you .. I have roles for each of the users of my applications .. I set PUBLIC charactors (YN) values for each role : http://i65.tinypic.com/35au4pk.jpg In this case xRead := "Y" xWrite := "Y" xTech := "Y" xMgr := "Y" xDisp :="Y&qu...
Hello, For my online soccer member program, I want to have a password protection for access level. ex. There are 5 levels (Admin, Headmember, Submember, trainer, player) I have a loop that builds btnbmp's for each team (see right) Team are in a database. Each button will give a scooped team with pla...
... healthcare group, after a laptop computer was stolen from the billing department of their Bloomington, Indiana headquarters. The laptop was protected by a password, but it was not encrypted and contained sensitive data pertaining to more than 200,000 patients. Most victims affected had their ...
... TDUP = Existen Token Activo. TBLOQ = Otro Problema. RESPUESTAS Token: TOKEN If I do a xbrowse( oXml ) I Get Num - Data - Value 1 cHeader <Protected> 2 nError 0 3 nLine 1 4 nNodeCount 0 5 nStatus 1 6 oErrorNode 7 oIterator <Protected> 8 oRoot Any help will be appreciated
... and lGetBar matters, even if the intent enable one and not the other. i.e. the following code may look correct but it will result in the internal protected nBarHdr value set to 0, not 2 as lSeekBar := .T. implies. If the second lGetBar is set to .t. you get a GetBar not a SeekBar WITH OBJECT oBrw ...