Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
TableUpdate() - Not Updating
Message
 
 
À
28/06/2009 21:41:20
Ed Hizon
Skswood Sdn. Bhd
Kuala Belait, Brunei
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01408907
Message ID:
01408973
Vues:
39
>Naomi,
>
>Here's my problem if I don't used macro substitution
>
>thisform.grid2.RecordSource="&sqlpaydet" -> change to this (sqlpaydet) and it works
>thisform.grid2.column1.ControlSource="&sqlpaydet..ts_date"
>thisform.grid2.column2.ControlSource="subs(CDOW(&sqlpaydet..ts_date),1,3)"
>
>but the controlsource I could not address the correct syntax.
>
>Regards,
>
>Ed

Try
thisform.grid2.RecordSource = sqlPayDet
thisform.grid2.column1.ControlSource=sqlpaydet +'.ts_date' && Assuming that ts_Date is a name of the actual field and not a variable
thisform.grid2.column2.ControlSource="substr(CDOW(" + sqlpaydet +".ts_date),1,3)"
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform