Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Writing problem
Message
De
13/01/2006 09:42:34
 
 
À
13/01/2006 09:07:46
Mike Yearwood
Toronto, Ontario, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01086069
Message ID:
01086514
Vues:
38
>Grady
>
>>>>---------------
>>>>I have changed the code and triple checked. I have it exactly as instructed. However, there is a slight difference. I have a selection of options behind command buttons. Instead of a textbox to fill in, the user just clicks. So far I have not had success. Is there something besides
>>>>
>>>>myfile.crimedate = date()
>>>>
>>>>that should go behind the button
>>>>
>>>>Also, I added a textbox to the form anyway. It remains disabled and the date is not being written to the date field.
>>>
>>>myfile.crimedate = date() will NOT change the data in the file!! You must use
>>>Replace crimedate with date() in myfile
>>>By the way, if you have for instance a textbox bound to a field, changing textbox.value will change te data in the field, but I will never rely on that.
>>------------------
>>I added a next and previous button to the details form. They don't work, so somehow the table alias isn't getting to the details form even though there is code to make it happen. I removed the alias code and nothing changed.
>>poo
>
>I'd be more comfortable if we could deal with one problem at a time. Did the replace crimedate with date() in myfile work from your command button.
++++ No
>
>The next and previous buttons would have to have SKIP 1 in Crime and SKIP -1 in Crime - with the requisite checks for EOF() etc.
+++ This is just for testing.
>
>If the form worked so far, great. If in the init of the second form you are creating the table, there should be no records to skip, though. The tabe could have been created the last time the user was on the machine.
++++ As crimes occur, the table gets updated. A week or two could go by between crimes. So the table is created on the first use then it is opened every now and then. Other users have their own tables too. These tables are used by the nn to load the pattern to search for.
I ain't skeert of nuttin eh?
Yikes! What was that?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform