Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
TableUpdate() - Not Updating
Message
 
 
To
28/06/2009 21:41:20
Ed Hizon
Skswood Sdn. Bhd
Kuala Belait, Brunei
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01408907
Message ID:
01408973
Views:
38
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform